documentation-quality

documentation-quality is a skill for Claude Code, Codex from PracticalSwan/agent-skills. It costs 34 tokens per session (1,106 once invoked), scanned A, original, MIT.

A set of rules for writing and reviewing clear, consistent project documentation.

In plain words
What is it for?
Use it to create style guides, review documentation before merging, check examples and terminology, and find missing edge cases or failure explanations.
Why use it?
It replaces personal preference with shared standards, making documentation easier to understand and maintain.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/practicalswan/agent-skills/documentation-quality
Any agent
npx skills add PracticalSwan/agent-skills --skill documentation-quality
Clone the repo
git clone --depth 1 https://github.com/PracticalSwan/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for documentation-quality

README.md
[![agentmods](https://agentmods.dev/badge/skills/practicalswan/agent-skills/documentation-quality.svg)](https://agentmods.dev/skills/practicalswan/agent-skills/documentation-quality)
Your own site
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/documentation-quality"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/documentation-quality.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,106 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00034 $0.01106
Opus 5 $0.00017 $0.00553
Sonnet 5 $0.00007 $0.00221
Haiku 4.5 $0.00003 $0.00111

Measured yesterday against content hash 87f07add3a7b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

documentation-quality scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/doc-style-audit.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

documentation-quality/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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":

  1. Pass/fail: The Documentation Quality output identifies audience, purpose, source of truth, and freshness requirements.
  2. Pass/fail: Shared documentation-stack guidance is referenced instead of duplicating another documentation skill.
  3. Pass/fail: Claims, links, commands, examples, and screenshots are verified or explicitly marked unverified.
  4. Pressure-test scenario: Apply the skill to a doc request with a stale command, missing owner, and conflicting audience.
  5. Success metric: Zero undocumented assumptions; every reader-facing claim is sourced or scoped.

Read the full file on GitHub · 115 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed 87f07add3a7b
  2. 5d ago First seen · 115 lines · 34 tokens per session scan A fc3c26c5e37d

Subscribe to this mod's changes

documentation-quality is a skill published in the GitHub repository PracticalSwan/agent-skills (13 stars, last pushed 4d ago), licensed MIT. It adds 34 tokens to every session and 1,106 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

librechat-docs

Use the official LibreChat documentation to install, configure, operate, and troubleshoot LibreChat.

LibreChat-AI/librechat.ai · 24 tokens

submit

Complete submission workflow - quality checks, commit, PR creation, changelog generation, and final push. Use after finishing implementation work.

lablup/backend.ai · 28 tokens

knowledge

Search and author KNOWLEDGE.md background-knowledge documents - frontmatter schema, search/check scripts, and the generated/verified lifecycle rules.

lablup/backend.ai · 29 tokens

write-gitbook

A comprehensive guide for editing GitBook documentation in external environments like Cursor, Claude Code, or other text editors. This skill provides all the formatting syntax, configuration options, and best practices needed to create and maintain GitBook content outside the GitBook web interface.

argos-ci/docs · 56 tokens

doc-quality-review

Assess documentation quality across readability, consistency, audience fit, and prose clarity. Produces a scored review with actionable findings. This skill should be used before releases, during doc reviews, or when documentation feels unclear or inconsistent.

NickCrew/Claude-Cortex · 48 tokens

doc-claim-validator

Validate that claims in documentation match codebase reality. Extracts verifiable assertions (file paths, commands, function references, behavioral claims, dependencies) from markdown docs and checks them against the actual project. Use after code changes, before releases, or when docs feel untrustworthy.

NickCrew/Claude-Cortex · 61 tokens