One command. Deep research. Stunning HTML. Built on Claude Code.
Type a team name. The agent researches the country, digs into World Cup history, finds the 2026 squad and coach, surfaces the all-time legends, and generates a beautiful self-contained HTML page — in both Simplified Chinese and English, switchable with a single click.
🌐 theautonomy.github.io/world-cup-soccer — browse sample team pages generated by this skill
- Claude Code installed and running
- This repo cloned or opened as your working directory
- Node.js 18+
/world-cup team Brazil
/world-cup team 法国
/world-cup team South Korea
The agent accepts team names in English or Chinese. Data is saved to data/teams/{slug}.json.
node dev.mjsOpens at http://localhost:5173/world-cup-soccer/. Re-run after generating new teams to pick them up.
Push to master — GitHub Actions copies the JSON, builds the React app, and deploys to GitHub Pages automatically.
Each generated page is a single self-contained .html file — no server, no dependencies beyond a Google Fonts import. Double-click it to open in any browser.
| Section | Content |
|---|---|
| Hero | Animated flag, team name, FIFA ranking |
| Stats bar | Titles · Appearances · Best result · FIFA rank |
| Country profile | Capital, population, area, language, currency, anthem + geography & football culture description |
| World Cup history | Every tournament appearance with result, color-coded by achievement |
| 2026 squad | Player cards: name, club, position, caps |
| Legends | Top 5 all-time players with career bio and key stats |
| Classic rivalries | 2–3 notable opponents with historical context |
| Did you know? | 3–5 surprising facts |
A fixed 中文 / EN pill button sits in the top-right corner on every page. Click it to switch languages instantly. The preference is saved in localStorage — the page remembers your choice next time.
- Dark background with radial glows in the team's actual kit colors
- CSS color variables (
--color-primary,--color-secondary,--color-accent) set per team - Fonts:
Noto Sans SCfor Chinese,Interfor English — switches automatically with the toggle - Fully responsive — works on desktop and mobile
/world-cup team {name} Research + generate team JSON
Coming soon:
/world-cup match {team1} vs {team2} Head-to-head preview
/world-cup player {name} Player spotlight page
/world-cup group {A–L} Group stage page
/world-cup team Brazil
↓
research (web search)
↓
data/teams/brazil.json ← committed to repo
↓
node dev.mjs ← local preview
↓
git push → GitHub Actions ← builds React + deploys
↓
GitHub Pages ← live site
world-cup-soccer/
.claude/skills/world-cup/SKILL.md Skill router
modes/team.md Research + JSON schema instructions
data/teams/ Generated JSON (source of truth)
app/ React + Vite app
src/components/ Bilingual UI components
src/pages/ Home + TeamPage
src/context/AppContext.jsx Lang + theme state
dev.mjs Local dev script
.github/workflows/deploy-pages.yml CI/CD pipeline
CLAUDE.md Developer reference
README.md This file
- 48 teams — expanded from 32 for the first time
- 3 host nations — USA 🇺🇸, Canada 🇨🇦, Mexico 🇲🇽
- Dates — June 11 – July 19, 2026
- Format — 12 groups of 4, then knockout from Round of 32
Powered by Claude Code · All content AI-generated from web research