station-image

Resize a local image to 1600x900 and upload it to Firestore as Station.photoUrl.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/reedling78/chicago-transit-tracker --skill station-image
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: station-image
Source: https://github.com/reedling78/chicago-transit-tracker/tree/main/.claude/skills/station-image
Command: npx skills add https://github.com/reedling78/chicago-transit-tracker --skill station-image

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Add or replace a station's hero photo on CTA or Metra station pages.

Core Features & Use Cases

  • Upload and apply a new hero image to a station page.
  • Validate station URL pattern and resize image to 1600x900 with 85 quality.
  • Store image at stations/<slug>/hero.jpg and update Firestore field Station.photoUrl.

Quick Start

Provide a local image path and a station URL to update the hero image.

Frequently Asked Questions about station-image

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I replace a station hero image on a CTA or Metra page?

You can replace a station hero image by providing a local image file and a valid station URL. The skill parses the URL, resizes the image to 1600x900, and uploads it to Firestore as the Station.photoUrl field.

Do I need ImageMagick installed to resize and upload station images?

Yes, ImageMagick is required for image processing. The skill uses a helper script to invoke ImageMagick for resizing the local image to 1600x900 pixels at 85 quality before uploading it to Firestore.

What image dimensions are required for a CTA or Metra station hero photo?

The required dimensions for a station hero photo are 1600x900 pixels. The skill automatically resizes your local image file to these dimensions at 85 quality before storing it at stations/<slug>/hero.jpg.

Can I batch upload hero images for multiple transit stations at once?

No, this skill is applicable for single-station image updates only. It processes one local image file and one matching station URL at a time to update the Firestore Station.photoUrl field.

How does the station image URL pattern validation work before uploading to Firestore?

The skill validates that your provided station URL matches the expected CTA or Metra page pattern. Once validated, it parses the URL to determine the station slug and stores the image at stations/<slug>/hero.jpg.

Why does my station hero image upload fail after resizing to 1600x900?

Upload failures typically occur if the station URL does not match the required page pattern or if the local image file path is invalid. The skill requires both a valid URL and a readable local file to update Firestore successfully.