/tw:content-audit [path] [--tasks <path-or-list>] [--fix]from Technical Writing Skills
Manually invoked. Inventories an existing documentation set and judges its shape rather than its defects — every page with its type, audience, owner, last-verified date and usage, a keep/merge/split/rewrite/retire verdict for each, duplicate clusters, orphans and ghosts, navigation depth, and a gap analysis against what readers are actually trying to do. Outputs the inventory and a prioritized writing queue. Never edits a page.
Ships in Technical Writing Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Run this only when the user asks for it by name. It reports first, and edits nothing until the user picks findings to fix (--fix).
A manually-invoked audit of the shape of a documentation set: what exists, whether each piece earns its place, and what's missing.
It asks a different question from /docs-audit. That one asks whether a page is true and working; this one asks whether the set is the right set — and a perfectly accurate page for a task nobody performs still fails this audit.
Before inventorying it, find the project's style guide and conventions and read them — in a codebase, the ones the project's AGENTS.md names or its contributing docs; in a chat app, the style guide in the project's files or attached to the conversation; otherwise, ask whether one exists before concluding there isn't one. Where the guide settles something, the guide wins; where it's silent or there isn't one, docs-standards applies without asking. The standard behind the verdicts is docs-planning; docs-standards supplies the document types. Works on any body of content — a docs repo, an exported help centre, a knowledge base, a folder of documents.
Read the answers from the request, the arguments, the project and its guide first; ask only what's missing. Ask with the app's question tool where it has one, so the choices can be picked; otherwise as a numbered list answered by number. Offer choices where the answers are known and a short typed answer otherwise; where the project records a default, show it and ask whether to use it. Record the answers in the report's header.
_reports/content-audit.md (--fix).[path] — the content set to inventory. Omitted → ask.[--tasks <path-or-list>] — the reader tasks to measure coverage against, if you already have them. Omitted → ask whether a task list, journey map or support-ticket export exists before building one, then derive from the sources below and present the list for confirmation before running the gap analysis, because every coverage finding depends on it.[--fix] — don't audit. Read the existing _reports/content-audit.md, list what's in it, and ask which findings to fix. For acting on a report from an earlier run.One row per document. Leave a cell blank rather than guessing, and treat a blank owner or last-verified as a finding in itself:
| Column | What it holds |
|---|---|
| Title | As published |
| Location | Path or URL |
| Type | Tutorial, how-to, reference, explanation — or the type it drifts between |
| Audience | Who it's for |
| Task | What it lets a reader do; blank means no task was identifiable |
| Owner | Accountable person or team |
| Last verified | When someone last confirmed it true, not when it was last edited |
| Usage | Traffic, search hits, ticket deflection — whatever signal exists, over at least 12 months so a seasonal page isn't retired for a quiet season |
| Words | Rough length, to spot the thin and the bloated |
| Verdict | Keep · Update · Merge · Split · Rewrite · Retire |
Judge the job, not the prose. A well-written page for a task nobody has is still a Retire; a scrappy page carrying the main path is a Keep or an Update. The verdicts cover the usual ROT categories — redundant (Merge), outdated (Update or Rewrite), trivial (Retire) — in the terms a content inventory uses (common practice).
Run it in both directions — the second one is the one people skip:
Prioritize by impact, not by effort. Weigh how many readers hit a gap against what it costs them when it's missing: a rare task that loses someone's data outranks a common one that costs a minute. Break ties with whatever is generating support load now.
/docs-audit for the accuracy call.The report follows the template in references/output-format.md: a header recording the scope answers, the verdict summary, the inventory, the writing queue, duplicate clusters, structure findings, the retire list, the proposed structure, open questions and the scorecard. It goes to _reports/content-audit.md.
_reports/content-audit.md.Report-only — it recommends a plan; it never edits, moves, merges or deletes anything.
Every run is a complete, fresh audit. Never skip a check, and never treat something as absent, because an earlier report said it was resolved. Code regresses, pages get reverted, a fix in one place gets undone in another — a previous report is not evidence about the state of anything today.
Status values: OPEN for anything still present, FIXED for anything fixed during this run after the user chose it. Both describe this run only — the next run re-checks everything from scratch.
The report is written first and nothing is edited to produce it. Then:
1, 4, 9), a range, all, or none.FIXED in place, with a one-line note of what changed. Leave everything else as it stands. The file on disk has to match reality — a report still listing something that was fixed an hour ago teaches people not to trust it.Nothing is edited before step 2 is answered. The editing tools are unavailable while this command produces the report; they return for the turn after your question, once the answer is in.
--fix skips the audit entirely and works from the report already on disk, whatever its age — ten minutes old, an hour, a month. It's for acting on findings already read rather than generating a new set; re-auditing would renumber them underneath you.
Everything else is unchanged: list the findings, ask which, fix only those, update the report, re-score.
/docs-audit./style-check.developer-docs's site-mechanics.md.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub timonwa/technical-writing-skills --plugin tw23 skills in this plugin
/api-referenceWriting and maintaining the documentation for an API a developer has to integrate against — the reference itself (endpoints, parameters, status codes, error tables, response examples), plus the pages around it that make it usable: authentication, a quickstart, pagination, rate limits, webhooks, versioning and deprecation. Covers writing the prose fields inside an OpenAPI or similar spec as well as hand-written pages. Use on "API docs", "API reference", "document this endpoint", "OpenAPI description", "SDK docs", "webhook docs"./codebase-researchFinding documentation facts in a codebase you didn't write — where defaults, limits, error strings, UI labels, env vars and the public surface actually live, reading for names and values rather than logic, searching backwards from the string a user sees, using tests as a behaviour spec, and the traps that produce confidently wrong docs. Use on "read the code", "check the source", "where is this defined", "what's the default", "is this still used", "find out how this works"./developer-docsWriting and restructuring developer-facing documentation-site pages in any framework or platform — verify against source when the code is available, one clear focus per page, link integrity when moving pages, prose before every code block, runnable examples, canonical-page linking instead of duplication, one term per concept, MDX and component import hygiene, and next-steps footers. Use on "docs page", "write the docs for", "restructure the docs", "MDX page", "developer guide".