documentation-generation
Installation
SKILL.md
Iron Law: NO DOC GENERATION WITHOUT READING THE PROJECT-SPECIFIC TEMPLATES FIRST
Read the appropriate reference before writing any documentation.
Process
- Detect stack — Check for
pom.xml(Java),package.json(NestJS/Angular),pyproject.toml(Python),pubspec.yaml(Flutter) - Load template — Read the matching section in
references/readme-templates.md - Apply docstring pattern — Read
references/docstring-patterns.mdfor the correct format per language - Configure CI/CD — Read
references/cicd-doc-pipeline.mdwhen setting up automated doc generation
When to Use
- Creating or refreshing a project README
- Writing docstrings for public APIs (with
/doc-generate) - Setting up a CI/CD pipeline that auto-generates API docs on push
- Generating OpenAPI specs from code annotations (see
openapi-spec-generationskill) - Creating architecture diagrams (use
mermaid-expertagent)