Help us improve
Share bugs, ideas, or general feedback.
Generates docs/ for progressive disclosure from CLAUDE.md. Use after /compiling-project-settings to create detailed reference documentation that agents load on demand.
npx claudepluginhub pipemind-com/pipemind-marketplace --plugin spec-driven-developmentHow this skill is triggered — by the user, by Claude, or both
Slash command
/spec-driven-development:compiling-project-docssonnetThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generates `docs/` directory with detailed documentation serving as **progressive disclosure** from your lean CLAUDE.md. CLAUDE.md stays at 50-100 lines; `docs/` holds the detail agents load on demand.
Audits existing docs and generates full project documentation in docs/ including architecture.md, getting-started.md, development.md, API refs, and ADRs. For onboarding and context sharing.
Share bugs, ideas, or general feedback.
Generates docs/ directory with detailed documentation serving as progressive disclosure from your lean CLAUDE.md. CLAUDE.md stays at 50-100 lines; docs/ holds the detail agents load on demand.
Run /compiling-project-settings first, then this skill to generate the docs it references.
1. Pre-Flight Validation:
CLAUDE.md must exist. If missing, FAIL immediately — do not create any docs/ files. Direct operator: run /compiling-project-settings first.docs/ directory if needed2. Topic Discovery:
3. Codebase Analysis:
4. Document Generation:
architecture.md first, index.md lastreferences/doc-templates.md for per-topic content requirements5. Quality Validation:
src/auth/jwt.ts:42)[TODO], [FILL IN])6. Report: Document count, line totals, topics detected, cross-reference count.
| Argument | Effect |
|---|---|
include: topic1, topic2 | Force-include topics regardless of detection |
skip: topic1, topic2 | Skip topics even if detected |
full | Generate all topics |
| (none) | Auto-detect with >30% confidence threshold |
| Topic | Signals | Output |
|---|---|---|
| architecture | Always | docs/architecture.md |
| getting-started | Always | docs/getting-started.md |
| authentication | JWT, OAuth, session, auth middleware | docs/authentication.md |
| testing | *.test.*, tests/, jest/pytest configs | docs/testing.md |
| database | migrations/, ORM, Prisma/SQLAlchemy | docs/database.md |
| api | /api/, controllers, routes, OpenAPI | docs/api.md |
| frontend | React/Vue/Angular, components/, pages/ | docs/frontend.md |
| backend | Express/FastAPI/Django, server configs | docs/backend.md |
| deployment | Dockerfile, K8s, Terraform, CI/CD | docs/deployment.md |
| security | CORS, CSP, rate limiting, security headers | docs/security.md |
| tech-stack | package.json, requirements.txt, Cargo.toml | docs/tech-stack.md |
| workflow | Planner/builder agent pattern | docs/workflow.md |
Every generated document follows this structure:
# [Topic Title]
> **AI Context Summary**: [2-3 sentences. What this does, key patterns, critical constraints.
> Agents read this first to decide if they need the full document.]
## Overview
[3-5 paragraphs max]
## Key Concepts
- **[Name]** — [Brief desc] (`path/to/file.ts:42`)
## [Topic-Specific Sections]
## Cross-References
- Related: [docs/other.md](./other.md)
AI Context Summary: Agents read this first — dense, actionable, 2-3 sentences. Include what the system does, key patterns, and critical constraints.
| Document | Lines | Purpose |
|---|---|---|
architecture.md | 150-250 | System structure, data flow |
getting-started.md | 80-120 | Setup, prerequisites |
tech-stack.md | 100-150 | Language, framework, tools |
testing.md | 100-150 | Test strategy, commands |
deployment.md | 100-180 | Build, deploy, infra |
workflow.md | 80-120 | Planner/builder patterns |
index.md | 50-80 | Navigation, overview |
| Other topic docs | 120-200 | Topic-specific detail |
For detailed per-document content requirements, see references/doc-templates.md.
architecture.md — foundational, referenced by all othersgetting-started.md — references architectureindex.md — last, links to all generated docsgit init/compiling-project-settings first