coach-photos

Downloads UEFA Champions League coach photos and regenerates the coach-photos.ts manifest.

Updated May 14, 2026
One-click install
npx skills add https://github.com/jesusprodriguezUnir/bracketMundial --skill coach-photos-jesusprodriguezunir
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: coach-photos
Source: https://github.com/jesusprodriguezUnir/bracketMundial/tree/main/.agents/skills/coach-photos
Command: npx skills add https://github.com/jesusprodriguezUnir/bracketMundial --skill coach-photos-jesusprodriguezunir

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It fills in missing head coach photos for Champions League 2026/27 clubs by downloading official images from UEFA.com and keeping the app's coach photo manifest in sync, so the squads view no longer falls back to initials. ## Core Features & Use Cases - Gap Reporting: Runs npm run ucl:report to regenerate docs/missing-assets.md and list which clubs lack a local coach photo. - Photo Download: Fetches coach images for one or multiple clubs via npm run ucl:photos -- RMA BAR MCI, saving optimized files to public/coaches/{CLUB}.webp. - Manifest Regeneration: Automatically rebuilds src/data/coach-photos.ts after each download so <squads-view> reflects the new photos. - Use Case: A user notices the Real Madrid coach avatar shows initials instead of a photo; the skill reports the gap, downloads the image from UEFA.com, regenerates the manifest, and validates with a strict TypeScript build. ## Quick Start Ask the assistant to check which Champions League coaches are missing photos and download the photo for a specific club such as RMA.

Frequently Asked Questions about coach-photos

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

FAQPage Schema
How do I download a missing Champions League coach photo?▼

Run npm run ucl:photos followed by the club code, for example npm run ucl:photos -- RMA. The script fetches the image from UEFA.com, saves it to public/coaches/{CLUB}.webp, and regenerates the coach-photos.ts manifest automatically.

How do I check which clubs are missing coach photos?▼

Run npm run ucl:report to regenerate docs/missing-assets.md. The report lists clubs without a local coach photo in the DT column, which is the recommended first step before downloading anything.

Can I download coach photos for multiple clubs at once?▼

Yes, pass several club codes to the photos script, for example npm run ucl:photos -- BAR MCI PSG BAY. Each club's image is downloaded and the shared manifest is regenerated once afterward.

Why does a coach avatar still show initials after downloading?▼

The avatar render cascades from local photo to remote photoUrl to initials. If initials persist, verify the file exists at public/coaches/{CLUB}.webp and that the regenerated src/data/coach-photos.ts manifest was picked up by a fresh build.

Should I edit coach-photos.ts manually to add a photo?▼

No, src/data/coach-photos.ts is autogenerated by the fetch script and must not be edited by hand. Use npm run ucl:photos or the force flag to re-download and let the script regenerate the manifest.