# Reference file format Every topic file follows this structure. ## Frontmatter ```yaml --- topic: # matches the filename without .md (e.g. "api-reference") source_keys: # kebab-case slugs of sources that contributed; must match sources.md entries - - --- ``` ## Body Plain prose organized into markdown sections (`##`, `###`). Extract the content most relevant to skill authoring or implementation — not a verbatim copy of the source. Focus on: - Decisions that affect how to call the API or tool - Options, flags, or parameters with non-obvious behavior - Constraints, rate limits, or gotchas - Canonical patterns the skill should follow No inline URLs in the body — all source traceability lives in `sources.md` via `source_keys`. ## sources.md format ```markdown # Sources ## - **URL:** - **Description:** - **Contributing files:** - **Status:** `extracted` | `no content extracted` ``` Use one `##` section per source. Slugs are kebab-case derived from the domain or page title (e.g. `stripe-api-docs`, `openai-python-sdk-readme`). For Context7 sources, use the slug `context7-` (e.g. `context7-vercel-next-js`) and set **URL** to `context7:` (e.g. `context7:/vercel/next.js`).