documentation-generator
Installation
SKILL.md
Documentation Generator
Produces structured, maintainable documentation artifacts — READMEs, API docs, runbooks, and ADRs — by analyzing the codebase and inferring intent from code structure.
Guiding Principle
"Documentation is a love letter to your future self — and to every engineer who inherits your code."
Procedure
Step 1 — Analyze Documentation Needs
- Scan the repository for existing documentation: README, CHANGELOG, docs/, wiki references.
- Identify the target audience: developers (API docs), operators (runbooks), architects (ADRs), onboarding (README).
- Detect the tech stack and framework conventions to align doc format.
- List undocumented critical areas: setup steps, environment variables, deployment, troubleshooting.
- Check for doc generation tools already in use (Swagger, TypeDoc, Sphinx).