| name | documentation |
| description | Automated documentation generation and maintenance |
| user-invocable | true |
Documentation Skill
Generate and maintain documentation.
When to Use
- Documenting new functions
- Updating outdated docs
- Creating API documentation
What_You_MUST_Do>
- READ the actual code BEFORE documenting
- MATCH existing documentation style in project
- INCLUDE working code examples derived from real code
- KEEP docs concise - developers skim
- UPDATE existing docs rather than creating duplicates
What_You_MUST_NOT_Do>
- DO NOT document without reading the code first
- DO NOT invent code examples - derive from real code
- DO NOT create duplicate documentation
- DO NOT write long paragraphs - use headings, lists, code blocks
- DO NOT document stale/incorrect information
What This Skill Does
JSDoc Generation
function calculateTotal(items: CartItem[]): number { }
README Generation
- Installation instructions
- Usage examples
- API reference
Usage
/docs-generate <file> to create documentation.