hermes

Audit a documentation set

Audits documentation for accuracy against the code, gaps in the user journey, stale pages, duplication and findability, and returns a prioritised fix list. Use before a docs overhaul or release.

context

Documentation decays quietly. Options get renamed in the code but not in the docs, examples stop compiling, the getting-started page assumes a step that was removed two releases ago, three pages explain the same concept differently, and the page people need exists but nobody can find it. An audit is useful only if its findings are specific (which page, which line, what is wrong, what is true instead), checked against the source of truth rather than guessed, and ranked by how much they hurt readers, so the team can fix the worst things first.

task

Audit this documentationOnly if [AUDIENCE] is given: for .

docs

Only if [CODE_OR_CHANGELOG] is given: Source of truth to check against:

code or changelog

  1. Inventory the pages: title, apparent purpose, and type using the Diátaxis categories (tutorial, how-to guide, reference, explanation). Note pages that mix types in a way that confuses readers.
  2. Accuracy. Check every verifiable claim against the source of truth (or the repo, if you can read it): command names and flags, configuration keys and defaults, function and endpoint signatures, response fields, environment variables, version numbers and supported platforms, and code examples (do they use APIs that exist with the right arguments?). Record each mismatch with what the docs say and what the code says. If there is no source of truth for an area, say it was not checked.
  3. Journey gaps. Walk the main reader journeys for the audience: evaluate, install, first success, common tasks, configuration, troubleshooting, upgrade and reference lookup. For each, note missing steps, missing pages, assumed knowledge, dead ends and places where the reader has to leave the docs.
  4. Stale and duplicate pages. Flag pages that describe removed or deprecated behaviour, refer to old versions, or have no clear owner; and pages that duplicate or contradict each other, naming which one should be the canonical page.
  5. Findability. Assess navigation and titles: can a reader find each journey's pages from the landing page in a few clicks, do titles use the words readers would search for (error messages, task names), are there orphan pages, broken or circular links, and missing cross-links between related pages.
  6. Prioritise every finding by reader impact (how many readers hit it and how badly: wrong instructions that break things rank highest, cosmetic issues lowest) and by effort, and produce a fix list.
constraints
  • Every finding cites the page (and heading or line where possible) and, for accuracy issues, the evidence from the code or changelog. No vague findings such as "improve clarity".
  • Do not claim something is wrong unless you checked it against a source; mark suspected issues as "suspected" with what would confirm them.
  • Do not rewrite the docs in this pass. Suggested fixes are one or two sentences each.
  • Ignore pure style preferences unless they affect understanding.
  • Read the relevant code before making a claim about it. Do not guess what a file, function or config contains.
  • If the information you need is not available, say what is missing and how to get it instead of inventing it.
output format

Summary

Five lines at most: overall state, the three most damaging problems, and what was not checked.

Accuracy

Table: page and location, docs say, code says, severity.

Journey gaps

Per journey: what is missing or broken.

Stale and duplicate pages

Table: page, problem, canonical page or action.

Findability

Bullets.

Prioritised fix list

Table: priority (P1 to P3), fix, pages, effort (S, M, L), why it matters.

Not checked

What you could not verify and what you would need.

1 required value still a placeholder; the assistant will ask for it.

details

kind
Prompt: a task you run by name to get one finished thing back
domain
Software engineering
category
Documentation
level
Intermediate
made for
Technical writer, Open-source maintainer, Developer advocate, Tech lead / staff engineer
needs
repo-read
risk
read-only
version
v1.0.0 · incubating
reviewed
2026-10-02
works in
Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Antigravity, OpenCode, Windsurf, Zed, Continue, AGENTS.md

Edit on GitHubReport a problem

use in

Hodios CLI
npx @hermes-hq/hodios install audit-documentation --target claude-code
Agent Skills
npx skills add hermes-hq/hodios-dist --skill audit-documentation -a claude-code
Add the Hodios marketplace (once)
claude plugin marketplace add hermes-hq/hodios-dist
Install the software-engineering plugin
claude plugin install hodios-software-engineering@hodios

The plugin brings every entry in this domain at once.

pairs well with

All of Documentation
PersonaDocumentation

Technical writer

Writes and edits developer documentation that is accurate to the code, task-oriented and easy to scan. Use as the voice for READMEs, API references, guides and changelogs.

technical-writer
PromptDocumentation

Write a README

Writes or improves a project README from what the code actually does, with an install and quick start that work when copied. Use for a new project or a README that has drifted.

write-readme
PromptDocumentation

Write a troubleshooting guide

Writes a troubleshooting guide organised by symptom, with likely causes in order, diagnostic commands, fixes and when to escalate, from support tickets or issue threads.

write-troubleshooting-guide
PromptDocumentation

Write a migration guide

Writes an upgrade guide for a breaking release that lists each breaking change with how to find affected code, before-and-after examples and a way to verify. Use when shipping a major version.

write-migration-guide
PromptDocumentation

Document a public API

Writes reference docs for a module's exported functions, classes or endpoints in the native doc-comment format, covering real behaviour, errors and edge cases. Use before a release.

document-public-api
PromptDocumentation

Write a changelog entry

Turns the commits and pull requests in a release range into a user-facing changelog entry in Keep a Changelog format, with breaking changes first. Use when cutting a release.

write-changelog