race-news

Generate Wikipedia-sourced Formula 1 race preview and preseason markdown content files.

1|Updated May 14, 2026
One-click install
npx skills add https://github.com/PhilippKuhnhardt/race-rewind --skill race-news-philippkuhnhardt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: race-news
Source: https://github.com/PhilippKuhnhardt/race-rewind/tree/main/.agents/skills/race-news
Command: npx skills add https://github.com/PhilippKuhnhardt/race-rewind --skill race-news-philippkuhnhardt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing spoiler-free, historically accurate race preview content for a Formula 1 rewatch app requires careful sourcing from Wikipedia, strict tense control, and consistent attribution — a slow, error-prone manual process. ## Core Features & Use Cases - Preseason Content Generation: Extracts driver changes, team changes, calendar updates, regulation changes, and pre-season testing notes from the season overview Wikipedia page into a structured preseason markdown file. - Race Preview Generation: Produces per-race preview files covering championship context, previous race recaps, between-race developments, weather, practice sessions, and milestones — all sourced from Wikipedia race articles. - Attribution & Licensing Compliance: Captures Wikipedia revision IDs and writes CC BY-SA 4.0 frontmatter with permalink source URLs for every generated file. - Use Case: Ask to generate previews for all 2024 races, and the Skill queries the SQLite races table, fetches each Wikipedia article in calendar order, and writes spoiler-controlled preview.md files into content/race-news/. ## Quick Start Generate the preseason and all race preview content for the 2024 Formula 1 season using the Wikipedia sources.

Frequently Asked Questions about race-news

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

FAQPage Schema
How do I generate Formula 1 race preview content from Wikipedia?

Query the races table in data/race-rewind.sqlite for the season's slugs and Wikipedia URLs, then fetch each race article in round order. Extract the Background and Practice sections, write the preview following the heading structure, and save it to content/race-news/{slug}/preview.md.

How do I create preseason content for an F1 season?

Fetch the season overview page (e.g. 2024 Formula One World Championship) and extract driver changes, team changes, calendar, regulation changes, and pre-season testing. Write the result in present tense to content/race-news/{year}-preseason/preseason.md with attribution frontmatter.

What content is not allowed in race previews?

Previews must exclude current-race spoilers, self-calculated championship permutations or win counts, invented weather forecasts, generic circuit descriptions, speculation, and unattributed quotes. Only facts explicitly stated in Wikipedia's Background and Practice sections are permitted.

How is Wikipedia attribution handled for generated content?

Each file's frontmatter includes a source_url with the oldid permalink, the source_revision ID fetched from the Wikipedia API, the article title, and a CC BY-SA 4.0 license field. This keeps attribution accurate as Wikipedia articles evolve.

How do I verify generated race news content?

Run pnpm check for Zod validation and type-checking, then pnpm lint --fix, and finally pnpm dev to visually inspect the preseason page, a race with content, and a race without content. Missing entries are silently omitted from pages.