From docs-specialist
Generates docs from code, detects drift between docs and implementation, validates quality, and applies templates for READMEs, APIs, components, models, and guides.
How this skill is triggered — by the user, by Claude, or both
Slash command
/docs-specialist:docs-specialistThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides specialized expertise in technical documentation: generating docs from code, detecting drift between docs and implementation, validating quality, and applying consistent templates.
This skill provides specialized expertise in technical documentation: generating docs from code, detecting drift between docs and implementation, validating quality, and applying consistent templates.
CRITICAL: Before working on documentation tasks, consult:
docs-specialist/skills/docs-specialist/references/documentation-patterns.mdAnalyze source code and generate documentation automatically:
Process:
Compare documentation against code to find discrepancies:
| Status | Symbol | Meaning |
|---|---|---|
| Implemented | ✅ | Code matches documentation exactly |
| Partial | ⚠️ | Code exists but differs from docs |
| Not Implemented | ❌ | Documented but missing in code |
| Undocumented | 📝 | In code but not documented |
Check quality, accuracy, and completeness:
Apply consistent templates for different documentation types:
| Template | Use For |
|---|---|
readme | Project README |
api-endpoint | REST API endpoint |
component | UI component |
model | Database model |
service | Service class |
guide | How-to guide |
architecture | Architecture decision record |
changelog | Release changelog |
| Command | Purpose |
|---|---|
/docs-specialist:docs | Validate, generate, update, and check status |
/docs-specialist:sync | Detect and fix drift between docs and code |
/docs-specialist:template | List, view, and apply documentation templates |
/docs-specialist:init | Create documentation folder structure |
/docs-specialist:doctor | Diagnose and fix documentation issues |
See each command's file for full syntax and options.
When analyzing code for documentation:
When comparing docs to code:
docs/
├── README.md # Documentation hub
├── api/ # API reference
├── guides/ # User guides
├── architecture/ # System design
└── development/ # Developer docs
#)Keep these in their original locations (DO NOT move to /docs):
CLAUDE.md - Root directory.claude/commands/*.md - Command definitions.claude/agents/*.md - Agent definitions.cursorrules - Cursor AI configurationdocs: descriptionBefore considering documentation complete:
/docs-specialist:docs generate <path>
/docs-specialist:sync check
/docs-specialist:sync fix
/docs-specialist:docs validate
/docs-specialist:sync check
/docs-specialist:init
/docs-specialist:docs generate all
/docs-specialist:doctor --check
/docs-specialist:sync check
/docs-specialist:docs validate
Excellent documentation is:
npx claudepluginhub mwguerra/claude-code-plugins --plugin docs-specialistGenerates documentation from code including API references, developer guides, READMEs, and architecture overviews. Matches existing styles and avoids overwriting in brownfield codebases.
Audits codebase documentation against actual behavior, producing a severity-tagged drift report (STALE, MISSING, OUTDATED, DUPLICATE). Read-only review.