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

  1. Detect stack — Check for pom.xml (Java), package.json (NestJS/Angular), pyproject.toml (Python), pubspec.yaml (Flutter)
  2. Load template — Read the matching section in references/readme-templates.md
  3. Apply docstring pattern — Read references/docstring-patterns.md for the correct format per language
  4. Configure CI/CD — Read references/cicd-doc-pipeline.md when 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-generation skill)
  • Creating architecture diagrams (use mermaid-expert agent)
Installs
3
GitHub Stars
34
First Seen
May 21, 2026
documentation-generation — kumaran-is/claude-code-onboarding