Skip to content
Skills Library
Programming · Writing

documentation-standards

/documentation-standards

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.

Repository
better-code ↗
Licence
MIT
Last repository change
09.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
8
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 09.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

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.

Triggers from the description

write documentationcreate docsdocument codeimprove documentationdocumentation best practicesdiataxistechnical writingAPI documentation
Original author description

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.

How it works

  1. Overview
  2. Supported Frameworks
  3. Quality Criteria
  4. Domain-Specific Guidelines
  5. Documentation Workflow
  6. Configuration
  7. Best Practices
  8. Additional Resources
Original SKILL.md headings · 245 lines, 1,083 words
SKILL.md preview
---
name: documentation-standards
description: 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.
version: 0.1.0
---

# Documentation Standards

Comprehensive guidance for creating bulletproof software documentation using industry-proven frameworks and quality standards.

## Overview

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.

## Supported Frameworks

### Diátaxis Framework (Recommended)

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:**
- Products with diverse user bases (beginners to experts)
- Growing documentation that needs scalable structure
- Teams wanting clear content ownership
- Projects requiring both learning paths and quick lookups

For detailed Diátaxis implementation, consult `references/diataxis.md`.

### Traditional Structure

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:**
- Developer tools and API-first projects
- Smaller codebases with focused scope
- Teams preferring linear documentation flow
- Projects with primarily technical audiences

For detailed Traditional structure guidance, consult `references/traditional.md`.

### Custom Standards

Organizations with existing documentation standards can integrate their own frameworks:

1. Provide source materials via local folder path or URL
2. Agent analyzes and creates style/rules file
3. Generated standards stored in `.claude/doc-master.local.md`
4. All documentation agents follow custom rules

For custom standards setup, consult `references/custom-standards.md`.

## Quality Criteria

Apply these criteria to evaluate and improve documentation quality:

### Completeness

- [ ] All public APIs documented
- [ ] Setup and installation covered
- [ ] Common use cases addressed
- [ ] Error handling explained
- [ ] Edge cases documented

### Accuracy

- [ ] Code examples tested and working
- [ ] Version information current
- [ ] Links valid and pointing to correct resources
- [ ] Technical details verified against implementation

### Clarity

- [ ] Appropriate reading level for audience
- [ ] Jargon explained or avoided
- [ ] Consistent terminology throughout
- [ ] Clear, actionable headings

### Organization

- [ ] Logical information hierarchy
- [ ] Related topics grouped together
- [ ] Navigation intuitive
- [ ] Cross-references where helpful

### Maintainability

- [ ] Single source of truth (no duplication)
- [ ] Version-controlled with code
- [ ] Review process defined
- [ ] Update triggers documented

For complete quality checklists, consult `references/quality-criteria.md`.

## Domain-Specific Guidelines

Different software domains require specialized documentation approaches:

### Backend Documentation
Focus on: Service architecture, API contracts, data flows, deployment procedures, monitoring and logging, error handling patterns.

### Frontend Documentation
Focus on: Component libraries, state management, styling systems, accessibility guidelines, browser compatibility, performance considerations.

### API Documentation
Focus on: Endpoint specifications, request/response formats, authentication flows, rate limits, versioning strategy, SDK examples.

### Database Documentation
Focus on: Schema design, entity relationships, migration procedures, query patterns, indexing strategy, backup/recovery.

### Architecture Documentation
Focus on: System diagrams, design decisions (ADRs), component interactions, scalability considerations, security boundaries.

### Test Documentation
Focus on: Test strategy, coverage requirements, test data management, environment setup, CI/CD integration.

### User Guide Documentation
Focus on: Task-oriented workflows, screenshots and visuals, progressive disclosure, troubleshooting paths, glossary.

### Compliance Documentation
Focus on: Regulatory requirements, audit trails, security controls, data handling policies, certification maintenance.

### Mobile Documentation
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 Workflow

### Planning Phase

1. Identify target audiences and their needs
2. Audit existing documentation (if any)
3. Choose appropriate framework (Diátaxis, Traditional, Custom)
4. Create documentation inventory and gap analysis
5. Prioritize based on user impact

### Writing Phase

1. Start with the most critical user journeys
2. Write one complete section before moving on
3. Include code examples that work
4. Use consistent formatting and style
5. Add cross-references where helpful

### Review Phase

1. Technical accuracy review by developers
2. Clarity review by target audience member
3. Completeness check against inventory
4. Link and example verification
5. Accessibility check

### Maintenance Phase

1. Update docs with code changes
2. Periodically audit for accuracy
3. Track user feedback and pain points
4. Remove outdated content
5. Improve based on analytics

## Configuration

Documentation preferences are stored in `.claude/doc-master.local.md`:

```yaml
---
standard: diataxis
proactive_agents: true
custom_source: null
---

# Project-Specific Documentation Notes

Add any project-specific documentation conventions here.
```

### Configuration Fields

| 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) |

## Best Practices

### Writing Style

- Use active voice ("Configure the server" not "The server should be configured")
- Lead with the action ("To deploy, run..." not "If you want to deploy, you should...")
- Be concise but complete
- Use consistent terminology
- Include context for code snippets

### Structure

- Use descriptive headings (not "Introduction" but "What This Library Does")
- Keep paragraphs short (3-5 sentences)
- Use lists for steps and options
- Include a table of contents for long documents
- Provide quick navigation paths

### Code Examples

- Show complete, runnable examples
- Include expected output
- Explain non-obvious parts
- Use realistic variable names
- Test all examples before publishing

### Visual Elements

- Use diagrams for architecture and flows
- Include screenshots for UI documentation
- Add tables for comparing options
- Use callouts for warnings and tips
- Ensure accessibility (alt text, color contrast)

## Additional Resources

### Reference Files

For detailed framework implementations:
- **`references/diataxis.md`** - Complete Diátaxis framework guide
- **`references/traditional.md`** - Traditional structure templates
- **`references/custom-standards.md`** - Custom standards setup
- **`references/quality-criteria.md`** - Comprehensive quality checklists
- **`references/domain-templates.md`** - Domain-specific documentation templates

### Example Files

Working documentation examples:
- **`examples/diataxis-structure.md`** - Example Diátaxis documentation outline
- **`examples/api-reference.md`** - Example API documentation
Files in this package (8)
  • SKILL.md 8 KB
  • examples/api-reference.md 6 KB
  • examples/diataxis-structure.md 9 KB
  • references/custom-standards.md 6 KB
  • references/diataxis.md 7 KB
  • references/domain-templates.md 10 KB
  • references/quality-criteria.md 5 KB
  • references/traditional.md 7 KB

Versions

RepositoryScoreLicence
This page · hculap/better-code100MIT
terrylica/cc-skills100MIT
jagreehal/jagreehal-claude-skills100MIT
zircote-plugins/documentation-review100MIT
madappgang/magus91MIT

Database snapshot: 13.11.2026 · package version a3493d7af9f7 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100documentation
    Guide for writing technical documentation. Use when creating README files, API documentation, guides, or inline code documentation.
  • 95Diataxis-Documentation
    Diataxis-based documentation methodology for creating, organizing, and planning documentation. USE WHEN user says 'set up docs', 'create documentation', 'document this project', 'plan documentation', 'organize docs', 'restructure docs', 'getting started guide', 'write a…
  • 100documentation-writing
    Writing clear, discoverable software documentation following the Eight Rules and Diataxis framework. Use when creating README files, API docs, tutorials, how-to guides, or any project documentation. Automatically enforces docs/ location, linking requirements, and runnable examples.
  • 90writing-documentation-with-diataxis
    Applies the Diataxis framework to create or improve technical documentation. Use when being asked to write high quality tutorials, how-to guides, reference docs, or explanations, when reviewing documentation quality, or when deciding what type of documentation to create. Helps…
  • 100docs-creator
    Create or improve documentation files with Diataxis-aware placement and consistent naming. Use when the user wants to create any new documentation, improve existing docs, write a README, or restructure documentation. Also use when asked to "write docs", "improve this doc", "add…
  • 90readme-and-co:documentation-standards
    This skill should be used when creating README files, CONTRIBUTING guides, SUPPORT documentation, or any core repository documentation. Triggers when user asks to "create a README", "write documentation", "generate CONTRIBUTING", "add support docs", or discusses repository…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.