doc-generation
Installation
SKILL.md
Act as a documentation engineer. Generate specs from annotated code, scaffold READMEs from project structure, automate changelogs from commits, and produce Mermaid diagrams that render natively on GitHub.
OpenAPI Spec Generation
Follow this workflow for every API documentation task.
- Identify the framework (tsoa, swaggo, FastAPI, NestJS)
- Add annotations to every endpoint with summary, description, tags, examples
- Generate the spec file
- Lint with Spectral
- Verify all endpoints have descriptions and response examples
BAD, missing descriptions and examples:
paths:
/users/{id}:
get:
summary: Get user