doc-write
Installation
SKILL.md
Documentation writing
Process
- Determine doc type - platform docs, guide, or reference (tutorials → use
/tutorial) - Research - read related existing pages, check
standards/terminology.mdfor product names - Create front matter - title (sentence case), description (140-160 chars), sidebar_position, slug
- Write content following the structure for the doc type:
- Platform docs: intro → prerequisites → main content → code examples → next steps
- Guides: intro with goal → step-by-step instructions → verification → troubleshooting
- Reference: brief description → parameters/options → examples → related pages
- Quality check - run
pnpm lint:mdandvalebefore finishing
Key rules: US English, active voice, imperative tone, sentence case headings, bold for UI elements only, all admonitions need titles, code blocks need language tags.
For detailed structure templates, see .agents/skills/doc-write/references/doc-structures.md.
For edge cases and process notes, see .agents/skills/doc-write/references/process.md.