/tw:style-check [path] [--guide <path>] [--fix]from Technical Writing Skills
Manually invoked. Sweeps a docs set for the drift that makes it read like several people wrote it — one concept named several ways, capitalization and heading-case inconsistency, product and feature name variants, person and tense drift, marketing words and minimisers, weak link text, code-formatting and fence-label drift, UI formatting, glossary gaps, and date, number and unit formats. Measured against the project's style guide. Outputs a drift report plus proposed terminology entries. 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 consistency sweep across a set of documents. It answers one question: does this read as one voice? A docs set has one voice by design — readers move between pages mid-task and shouldn't notice the author changing.
Sweep the whole set, because drift is invisible page by page: a concept called three things across two hundred pages goes unnoticed by anyone reading a few pages at a time — but every reader who meets the second name reads it as a second concept.
Before checking it, find the project's style guide and conventions and read them:
AGENTS.md names, or its contributing docs.Voice, person, tone, terminology and formatting come from that guide.
docs-standards is the default, applied without asking, and drift from it is a finding, not a proposal.Read the answers from the arguments, the request and the project 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. Record the answers in the report's header.
--fix). Default: a fresh report.[path] — the docs to sweep. Omitted → ask.[--guide <path>] — the project's style guide, terminology list or glossary. Omitted → look for one; if none turns up, ask before assuming there isn't one, since a team's guide often lives outside the repo. Only once the answer is no, run in derive mode: infer the dominant convention from the docs, report drift against that, and propose the terminology list the project is missing.[--fix] — don't audit. Read the existing _reports/docs-style-check.md, list what's in it, and ask which findings to fix. For acting on a report from an earlier run.Frequency decides the rule, not taste — for what no standard settles. In derive mode you are finding the convention the docs already mostly follow and flagging the minority that breaks it. Where docs-standards sets a default — sentence-case headings, "you", present tense — that default holds even if most pages break it, unless the project records otherwise; say so in the report, and offer the majority as a decision the project can record. Where a set is genuinely split down the middle on something no standard settles, raise it for a decision rather than settling it yourself.
docs-standards for what it leaves open. Only then derive the remaining conventions, and state what you derived and how strongly.Terminology
Voice — each a finding, unless the guide allows it:
Mechanics
sh, shell, bash).Write to _reports/docs-style-check.md, creating the directory if it doesn't exist. That's where every audit and report in this set goes. Tell the user the path when you're done. The template — header with the scope answers, score change, terminology drift, open decisions, voice and mechanics findings, proposed terminology entries and the scorecard — is in references/output-format.md; fill it exactly, every section present.
Report-only — it never edits a page. A terminology change is a set-wide edit and belongs behind an explicit decision.
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-review./docs-ai-check.docs-style-guide. A derived convention is a proposal for the guide, not a decision made on the project's behalf./docs-audit; is it the right set → /content-audit.content-refresh in content-writing-skills, which brings old pieces up to the current guide.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"./content-auditManually 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.