generating-documentation

generating-documentation is a skill for Claude Code from ancoleman/ai-design-components. It costs 70 tokens per session (2,999 once invoked), scanned A, original, MIT.

A workflow for creating technical documentation for APIs, code libraries, software architecture, and documentation websites. It also covers architecture decision records and diagrams.

In plain words
What is it for?
Use it to document REST or GraphQL APIs, generate reference pages from TypeScript or Python code, build Docusaurus or MkDocs sites, record design decisions, and draw system or data-flow diagrams.
Why use it?
It helps keep different kinds of project knowledge organized instead of scattered across code, notes, and separate files.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the developer-productivity-skills plugin — 7 skills shipped together

Good fit Use it to document REST or GraphQL APIs, generate reference pages from TypeScript or Python code, build Docusaurus or MkDocs sites, record design decisions, and draw system or data-flow diagrams.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ancoleman/ai-design-components/generating-documentation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ancoleman/ai-design-components --skill generating-documentation
Clone the repo
git clone --depth 1 https://github.com/ancoleman/ai-design-components

Made for: Claude Code.

Or install developer-productivity-skills, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for generating-documentation

README.md
[![agentmods](https://agentmods.dev/badge/skills/ancoleman/ai-design-components/generating-documentation/github.svg)](https://agentmods.dev/skills/ancoleman/ai-design-components/generating-documentation)
Your own site
<a href="https://agentmods.dev/skills/ancoleman/ai-design-components/generating-documentation"><img src="https://agentmods.dev/badge/skills/ancoleman/ai-design-components/generating-documentation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for generating-documentation

Your own site · 80×15
<a href="https://agentmods.dev/skills/ancoleman/ai-design-components/generating-documentation"><img src="https://agentmods.dev/badge/skills/ancoleman/ai-design-components/generating-documentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,999 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.02999
Opus 5.5 $0.00028 $0.01200
Sonnet 5.5 $0.00014 $0.00600
Haiku 4.5 $0.00007 $0.00300

Measured 3mo ago against content hash f6f53352abc0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

generating-documentation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (examples/typescript/tsdoc-examples.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/generating-documentation/SKILL.md · 490 lines

How it starts

The opening of the file, as written. The whole thing — 490 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Documentation Generation

Generate comprehensive technical documentation across multiple layers: API documentation, code documentation, documentation sites, architecture decisions, and system diagrams.

When to Use This Skill

Use this skill when:

  • Documenting REST or GraphQL APIs with OpenAPI specifications
  • Creating code documentation for libraries (TypeScript, Python, Go, Rust)
  • Building documentation sites for projects or products
  • Recording architectural decisions (ADRs) for system design choices
  • Generating diagrams to visualize system architecture or data flows
  • Setting up automated documentation pipelines in CI/CD

Documentation Layers Overview

Technical documentation operates at five distinct layers:

Layer 1: API Documentation - OpenAPI specs for REST/GraphQL APIs (Swagger UI, Redoc, Scalar) Layer 2: Code Documentation - Generated from code comments (TypeDoc, Sphinx, godoc, rustdoc) Layer 3: Documentation Sites - Comprehensive guides and tutorials (Docusaurus, MkDocs) Layer 4: Architecture Decisions - ADRs using MADR template format Layer 5: Diagrams - Visual architecture (Mermaid, PlantUML, D2)

See references/api-documentation.md, references/code-documentation.md, and references/documentation-sites.md for detailed guides.

Quick Decision Framework

Which Documentation Layer?

API for external consumers?
  → Layer 1: API Documentation (OpenAPI + Swagger UI/Redoc)

Code for maintainers?
  → Layer 2: Code Documentation (TypeDoc/Sphinx/godoc/rustdoc)

Comprehensive guides?
  → Layer 3: Documentation Site (Docusaurus/MkDocs)

Architectural decision?
  → Layer 4: ADR (MADR template)

Visual system design?
  → Layer 5: Diagrams (Mermaid/PlantUML/D2)

Tool Selection Matrix

Need Primary Tool Best For
Doc Site Docusaurus Feature-rich React sites
Doc Site MkDocs Material Simple Python docs
API Docs (Interactive) Swagger UI Testing
API Docs (Read-Only) Redoc Professional design
TypeScript TypeDoc All TS projects
Python Sphinx All Python projects
Go godoc Built-in
Rust rustdoc Built-in
Diagrams Mermaid All-purpose

Read the full file on GitHub · 490 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 490 lines · 70 tokens per session scan A f6f53352abc0

Subscribe to this mod's changes

generating-documentation is a skill published in the GitHub repository ancoleman/ai-design-components (536 stars, last pushed 11mo ago), licensed MIT. It adds 70 tokens to every session and 2,999 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

generating-documentation compared with skills from other repositories

generating-documentation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generating-documentationancoleman/ai-design-componentsSkill53611mo agoMITA70Claude Code
digital-daten-rechte-bearbeitenKlotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A54Claude Code
form-strategyrampstackco/claude-skillsSkill1.1k17d agoMITA107Claude Code
seo-apiseranking/seo-skillsSkill2227d agoMITA218Claude Code
mcp-server-builderOneWave-AI/claude-skillsSkill4561mo agoMITA79Claude Code, Codex
api-endpoint-scaffolderOneWave-AI/claude-skillsSkill4561mo agoMITA36Claude Code, Codex
netlify-developmentMindrally/skillsSkill3251mo agoApache-2.0A78Claude Code