Documentation Quality Standards
Use this skill when documentation should be judged against explicit standards instead of subjective preference.
- Leverage native parallel subagent dispatch and 200k+ context windows where available.
Activation Conditions
Use symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.
- Reviewing docs before merge
- Creating or updating a style guide
- Defining expectations for examples, structure, and terminology
- Auditing a docs set for consistency and readability
Core Standards
- Clear audience and scope
- Stable heading hierarchy
- Runnable or honest examples
- Consistent terminology
- Explicit edge cases, constraints, and failure modes
Documentation Stack Reference
Inherit the shared stack from documentation-patterns: source-of-truth discovery, audience framing, structure selection, verification, and freshness checks. Keep this skill focused on quality gates instead of restating the full stack.
Anti-Patterns
- Writing for the author instead of the reader: It bakes in unstated context and leaves the actual audience unsure what to do next.
- Skipping concrete examples or commands: Abstract guidance is easy to approve and hard to apply correctly.
- Letting links, screenshots, or versions drift: Polished formatting does not help if the instructions are no longer true.
Verification Protocol
Before claiming "skill applied successfully":
- Pass/fail: The Documentation Quality output identifies audience, purpose, source of truth, and freshness requirements.
- Pass/fail: Shared documentation-stack guidance is referenced instead of duplicating another documentation skill.
- Pass/fail: Claims, links, commands, examples, and screenshots are verified or explicitly marked unverified.
- Pressure-test scenario: Apply the skill to a doc request with a stale command, missing owner, and conflicting audience.
- Success metric: Zero undocumented assumptions; every reader-facing claim is sourced or scoped.
Quality Checklist
Cross-Skill Workflow
- Use documentation-authoring when the content itself still needs to be drafted or clarified.
- Use documentation-patterns when the review shows that the problem is document shape rather than wording.
- Use this skill as the final standards check before publish or merge.
Agent Prompt Template
Use the documentation-quality skill to review this document against explicit standards.
Artifact: [file or pasted draft].
Audience: [who will read it].
Check for clarity, completeness, accurate examples, terminology consistency, and stale references.
Report concrete findings first, then suggest the smallest high-value fixes.
References & Resources
Documentation
Scripts
- Doc Style Audit - Check Markdown files for heading jumps, long lines, tabs, and trailing whitespace
Cross-Client Portability
This skill is written to stay usable across GitHub Copilot, Claude Code, Codex, and Gemini CLI.
- GitHub Copilot: keep the folder in a Copilot-visible skill or plugin path, or wrap the workflow as project instructions if the host does not support portable skill folders directly.
- Claude Code: keep the folder in a local skills directory or a compatible plugin or marketplace source.
- Codex: install or sync the folder into
$CODEX_HOME/skills/<skill-name> and restart Codex after major changes.
- Gemini CLI: this repository generates a project command named
/skills:documentation-quality from this skill. Rebuild commands with python scripts/export-gemini-skill.py documentation-quality and then run /commands reload inside Gemini CLI.
MCP Availability And Fallback
Preferred MCP Server: None required
- Fallback prompt: "Use the Documentation Quality Standards skill without MCP. Rely on the local
SKILL.md, bundled references or scripts, and manual verification. Show the exact commands, evidence, and final checks you used before concluding."
- If the current host does not expose a matching server, use the bundled references, scripts, native toolchain, and manual workflow already described in this skill.
- Treat direct local verification, rendered output, logs, tests, or screenshots as the fallback evidence path before completion.
Related Skills
- documentation-authoring: Use it when the workflow also needs drafting structured technical or product documents.
- documentation-patterns: Use it when the workflow also needs reusable documentation structures and templates.
- documentation-verification: Use it when the workflow also needs final documentation validation before publishing.
- notion-docs: Use it when the workflow also needs Notion page and database publishing workflows.
Source: PracticalSwan/agent-skills — distributed by TomeVault.
1---2name: documentation-quality-23description: Documentation quality standards and writing principles. Use when establishing formatting rules, reviewing doc quality metrics, creating writing guidelines, or enforcing consistent documentation style across a project. Use when this capability is needed.4---56# Documentation Quality Standards78Use this skill when documentation should be judged against explicit standards instead of subjective preference.910- Leverage native parallel subagent dispatch and 200k+ context windows where available.111213## Activation Conditions1415Use symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.1617- Reviewing docs before merge18- Creating or updating a style guide19- Defining expectations for examples, structure, and terminology20- Auditing a docs set for consistency and readability2122## Core Standards2324- Clear audience and scope25- Stable heading hierarchy26- Runnable or honest examples27- Consistent terminology28- Explicit edge cases, constraints, and failure modes2930## Documentation Stack Reference3132Inherit the shared stack from [documentation-patterns](../documentation-patterns/SKILL.md#shared-documentation-stack): source-of-truth discovery, audience framing, structure selection, verification, and freshness checks. Keep this skill focused on quality gates instead of restating the full stack.3334## Anti-Patterns3536- Writing for the author instead of the reader: It bakes in unstated context and leaves the actual audience unsure what to do next.37- Skipping concrete examples or commands: Abstract guidance is easy to approve and hard to apply correctly.38- Letting links, screenshots, or versions drift: Polished formatting does not help if the instructions are no longer true.3940## Verification Protocol4142Before claiming "skill applied successfully":43441. Pass/fail: The Documentation Quality output identifies audience, purpose, source of truth, and freshness requirements.452. Pass/fail: Shared documentation-stack guidance is referenced instead of duplicating another documentation skill.463. Pass/fail: Claims, links, commands, examples, and screenshots are verified or explicitly marked unverified.474. Pressure-test scenario: Apply the skill to a doc request with a stale command, missing owner, and conflicting audience.485. Success metric: Zero undocumented assumptions; every reader-facing claim is sourced or scoped.495051## Quality Checklist5253- [ ] Title and purpose are clear54- [ ] Heading levels do not jump unexpectedly55- [ ] Code examples have language tags and realistic inputs56- [ ] Commands match current tooling57- [ ] Links and file paths are accurate5859## Cross-Skill Workflow6061- Use [documentation-authoring](../documentation-authoring/SKILL.md) when the content itself still needs to be drafted or clarified.62- Use [documentation-patterns](../documentation-patterns/SKILL.md) when the review shows that the problem is document shape rather than wording.63- Use this skill as the final standards check before publish or merge.6465## Agent Prompt Template6667```text68Use the documentation-quality skill to review this document against explicit standards.69Artifact: [file or pasted draft].70Audience: [who will read it].71Check for clarity, completeness, accurate examples, terminology consistency, and stale references.72Report concrete findings first, then suggest the smallest high-value fixes.73```7475## References & Resources7677### Documentation78- [Writing Standards](./references/writing-standards.md) - Clarity, example quality, terminology, and formatting guidance7980### Scripts81- [Doc Style Audit](./scripts/doc-style-audit.py) - Check Markdown files for heading jumps, long lines, tabs, and trailing whitespace8283<!-- PORTABILITY:START -->84## Cross-Client Portability8586This skill is written to stay usable across GitHub Copilot, Claude Code, Codex, and Gemini CLI.8788- GitHub Copilot: keep the folder in a Copilot-visible skill or plugin path, or wrap the workflow as project instructions if the host does not support portable skill folders directly.89- Claude Code: keep the folder in a local skills directory or a compatible plugin or marketplace source.90- Codex: install or sync the folder into `$CODEX_HOME/skills/<skill-name>` and restart Codex after major changes.91- Gemini CLI: this repository generates a project command named `/skills:documentation-quality` from this skill. Rebuild commands with `python scripts/export-gemini-skill.py documentation-quality` and then run `/commands reload` inside Gemini CLI.9293<!-- PORTABILITY:END -->9495<!-- MCP:START -->96## MCP Availability And Fallback9798Preferred MCP Server: None required99100- Fallback prompt: "Use the Documentation Quality Standards skill without MCP. Rely on the local `SKILL.md`, bundled references or scripts, and manual verification. Show the exact commands, evidence, and final checks you used before concluding."101- If the current host does not expose a matching server, use the bundled references, scripts, native toolchain, and manual workflow already described in this skill.102- Treat direct local verification, rendered output, logs, tests, or screenshots as the fallback evidence path before completion.103104<!-- MCP:END -->105106## Related Skills107108- [documentation-authoring](../documentation-authoring/SKILL.md): Use it when the workflow also needs drafting structured technical or product documents.109- [documentation-patterns](../documentation-patterns/SKILL.md): Use it when the workflow also needs reusable documentation structures and templates.110- [documentation-verification](../documentation-verification/SKILL.md): Use it when the workflow also needs final documentation validation before publishing.111- [notion-docs](../notion-docs/SKILL.md): Use it when the workflow also needs Notion page and database publishing workflows.112113---114> Source: [PracticalSwan/agent-skills](https://github.com/PracticalSwan/agent-skills) — distributed by [TomeVault](https://tomevault.io).115<!-- tomevault:4.0:skill_md:2026-06-16 -->