From progressive-docs
Audit, plan, and write technical documentation as a hierarchy of small, single-purpose files (Diátaxis) instead of one monolithic README. Use whenever the user asks you to review, audit, write, improve, generate, or check documentation, when they ask "what's missing here", or when they say things like "I need a README", "this needs docs", "explain the codebase", "write a contribution guide", "document this", or "the docs are out of date". Default to audit-first — produce a gap report and let the user pick what to fill before writing files. Strongly prefer many small focused files over one large README.
How this skill is triggered — by the user, by Claude, or both
Slash command
/progressive-docs:progressive-docsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Goal: replace the "monolithic README anti-pattern" with a small tree of focused docs that readers discover in increments. Each doc has one job. The top-level entry point is short and links out.
Goal: replace the "monolithic README anti-pattern" with a small tree of focused docs that readers discover in increments. Each doc has one job. The top-level entry point is short and links out.
Three phases. Don't skip phase 1 — it's how we avoid generating speculative docs.
pyproject.toml, package.json, Cargo.toml...), entry points, public surface (CLI commands, exported APIs, HTTP routes), and config files (.env.example, etc.). Skim representative source files. The point is to know what should be documented before checking what is.docs/, CONTRIBUTING.md, ARCHITECTURE.md, CHANGELOG.md, inline docstrings — everything.references/audit-heuristics.md to know what's expected for the project shape.The user picks which gaps to fill. If they said "do everything," confirm scope first ("I'll write 6 files: index, getting-started, architecture, configuration, how-to-add-a-tool, contributing — sound right?") before generating. The point is to avoid dumping 20 files unannounced.
Write the chosen docs. See Output structure and Writing principles below.
Every doc is one of these — pick one and stick to it:
| Type | Reader's job | Voice | Examples |
|---|---|---|---|
| Tutorial | "I'm new — teach me by doing" | Lesson, hand-holding | "Build your first plugin in 10 min" |
| How-to | "I have a specific problem — solve it" | Recipe, terse | "Add a new tool", "Deploy to staging" |
| Reference | "Look up an exact fact" | Dry, exhaustive | All env vars, all CLI flags |
| Explanation | "Understand why" | Discussion | "Why we use LangGraph instead of plain ReAct" |
If a doc starts mixing two of these, split it — the mix is the bug. For deeper guidance and how to handle borderline cases, read references/diataxis.md.
Default — Diátaxis tree:
docs/
├── README.md # 1-screen index pointing out
├── tutorials/ # ordered learning path
├── how-to/ # task-oriented recipes
├── reference/ # exhaustive lookup
└── explanation/ # background, decisions
Flat fallback for tiny projects (<5 useful docs):
docs/
├── README.md
├── getting-started.md
├── architecture.md
└── ...
Pick the flat shape when the full Diátaxis tree would have empty quadrants. A solo-author script with three users and no API surface doesn't need four directories.
docs/README.md is roughly one screen and almost entirely links. Each leaf doc fits under ~150 lines; if a topic is bigger, split it again. Smaller files are more discoverable, more skimmable, and easier to keep accurate.read_file tool reads a file" is filler. Document what the reader can't infer: invariants, tradeoffs, surprising behavior, the shape of the whole.A skipped doc is a feature. Documentation theater — files that exist to look thorough but say nothing — is a regression, not a contribution.
Starter skeletons for each Diátaxis quadrant live in references/templates.md. Adapt them; don't paste verbatim. Templates exist to keep shape consistent, not to be copy-pasted as the final output.
Different project types have different "expected" doc sets. Quick examples:
[project.scripts]: getting-started, command reference, how-to per common task.Full table in references/audit-heuristics.md — read it during Phase 1 to know what to look for.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.
npx claudepluginhub davebiagioni/dave-plugins --plugin progressive-docs