| 1 | --- |
| 2 | name: ai-docs |
| 3 | description: AI documentation. Use when editing ai-docs/src or regenerating LLMS.md. |
| 4 | --- |
| 5 | |
| 6 | Read `ai-docs/README.md`; it owns source structure, style, examples, generation, |
| 7 | and changeset policy. |
| 8 | |
| 9 | 1. Inspect neighboring source examples and the relevant current `LLMS.md`. |
| 10 | 2. Edit sources under `ai-docs/src`, then run `pnpm ai-docgen`. |
| 11 | 3. Review generated output for ordering, missing content, and unrelated changes. |
| 12 | 4. Run applicable root validation. |
| 13 | |
| 14 | The task is complete when sources and generated output agree, every generated |
| 15 | difference is explained, TypeScript checks pass when examples or fixtures |
| 16 | change, and applicable checks pass or are reported as not runnable. |