This skill should be used when the user asks to "write documentation", "create docs", "document code", "improve documentation", "documentation best practices", "diataxis", "technical writing", "API documentation", "user guide", mentions documentation quality, documentation structure, or needs guidance on software documentation standards and frameworks.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
examples/api-reference.mdexamples/diataxis-structure.mdreferences/custom-standards.mdreferences/diataxis.mdreferences/domain-templates.mdreferences/quality-criteria.mdreferences/traditional.mdComprehensive guidance for creating bulletproof software documentation using industry-proven frameworks and quality standards.
Effective documentation requires structure, consistency, and audience awareness. This skill provides frameworks and quality criteria for creating documentation that serves developers, users, and stakeholders across all software project domains.
The Diátaxis framework organizes documentation into four distinct types based on user needs:
| Type | Orientation | Purpose | User State |
|---|---|---|---|
| Tutorials | Learning | Teach through doing | "I want to learn" |
| How-to Guides | Tasks | Solve specific problems | "I want to accomplish X" |
| Explanations | Understanding | Provide context and background | "I want to understand why" |
| Reference | Information | Describe the machinery | "I need technical details" |
When to use Diátaxis:
For detailed Diátaxis implementation, consult references/diataxis.md.
A straightforward hierarchical approach suitable for smaller projects:
| Section | Purpose |
|---|---|
| Overview | High-level project description and goals |
| Getting Started | Quick setup and first steps |
| API Reference | Technical specifications and endpoints |
| Examples | Code samples and use cases |
| FAQ | Common questions and troubleshooting |
When to use Traditional:
For detailed Traditional structure guidance, consult references/traditional.md.
Organizations with existing documentation standards can integrate their own frameworks:
.claude/doc-master.local.mdFor custom standards setup, consult references/custom-standards.md.
Apply these criteria to evaluate and improve documentation quality:
For complete quality checklists, consult references/quality-criteria.md.
Different software domains require specialized documentation approaches:
Focus on: Service architecture, API contracts, data flows, deployment procedures, monitoring and logging, error handling patterns.
Focus on: Component libraries, state management, styling systems, accessibility guidelines, browser compatibility, performance considerations.
Focus on: Endpoint specifications, request/response formats, authentication flows, rate limits, versioning strategy, SDK examples.
Focus on: Schema design, entity relationships, migration procedures, query patterns, indexing strategy, backup/recovery.
Focus on: System diagrams, design decisions (ADRs), component interactions, scalability considerations, security boundaries.
Focus on: Test strategy, coverage requirements, test data management, environment setup, CI/CD integration.
Focus on: Task-oriented workflows, screenshots and visuals, progressive disclosure, troubleshooting paths, glossary.
Focus on: Regulatory requirements, audit trails, security controls, data handling policies, certification maintenance.
Focus on: Platform-specific guidelines, offline behavior, push notifications, app store requirements, device compatibility.
For detailed domain-specific templates, consult references/domain-templates.md.
Documentation preferences are stored in .claude/doc-master.local.md:
---
standard: diataxis
proactive_agents: true
custom_source: null
---
# Project-Specific Documentation Notes
Add any project-specific documentation conventions here.
| Field | Values | Description |
|---|---|---|
standard | diataxis, traditional, custom | Active documentation framework |
proactive_agents | true, false | Whether agents trigger automatically |
custom_source | path or URL | Source for custom standards (when standard=custom) |
For detailed framework implementations:
references/diataxis.md - Complete Diátaxis framework guidereferences/traditional.md - Traditional structure templatesreferences/custom-standards.md - Custom standards setupreferences/quality-criteria.md - Comprehensive quality checklistsreferences/domain-templates.md - Domain-specific documentation templatesWorking documentation examples:
examples/diataxis-structure.md - Example Diátaxis documentation outlineexamples/api-reference.md - Example API documentation