/tw:docs-style-guidefrom Technical Writing Skills
Creating, maintaining and applying a docs set's style guide, terminology list and glossary — adopting a base guide and documenting only the deviations, the docs set's profile, the decisions a docs guide has to make (person, tense, capitalization, product naming, UI and code formatting, links, acronyms, inclusive language), `unset` as a valid answer, and making it enforceable in the docs repository. Use on "docs style guide", "docs terminology", "docs glossary", "which term do our docs use", "our docs are inconsistent".
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A style guide exists to stop the same question being answered differently every week. It is a decision record, not an essay on good writing — every entry settles something that was genuinely ambiguous, and anything that was never in doubt doesn't belong in it. Its readers are whoever writes the docs; its job is that a reader moving between pages mid-task never notices the author changing.
Alongside it sit the terminology list — the approved term for each concept and the variants not to use — and a reader-facing glossary.
This skill builds the guide, so it starts by finding what already exists — the project's style guide and conventions, any terminology list, contributor guidelines or notes — and reads it:
AGENTS.md names, its contributing docs, and any style guide file in the repository.The voice, terminology and reader the guide records come from the project, the existing guide and the published docs, never from this skill.
docs-standards is the default the guide departs from, and the guide records only the departures.AGENTS.md, so every agent finds it; in a chat app, give the user the guide as a file to add to the project's files.Read the answers from the request, the existing guide, the published docs 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 profile answers in the guide's profile.
unset.Start from the fill-in templates: the style guide file in references/style-guide-template.md, the terminology list and glossary entries in references/terminology-template.md.
unset is a valid answer. A skill that meets unset asks, then writes the answer back. A plausible guess becomes a house rule nobody agreed to. Where a source and the docs disagree, record both and flag the conflict for the owner. Get the guide confirmed before anything is written against it.
Writing a full guide from nothing produces a large document nobody reads, and most of it restates decisions the industry already settled.
A short profile, so the decisions are measured against something:
code styling (identifiers, paths, commands, filenames, values) and what doesn't; how a code fence is labelled; how placeholders are written (Google uses UPPERCASE_WITH_UNDERSCORES, explained after the sample — docs-code-samples).One row per concept — the shortest path to a docs set that reads like one voice.
| Field | What it holds |
|---|---|
| Term | The approved word or phrase, in its exact form |
| Definition | One plain sentence, understandable without the rest of the list |
| Use | Part of speech, capitalization, and plural or verb forms if they're irregular |
| Don't use | The variants seen in the wild that this replaces, so the list is searchable by the wrong term |
| Notes | Where it appears, what it's often confused with, when to link to the glossary |
localization's do-not-translate list.A reader-facing glossary is a real page with real rules, not a dump of the terminology list:
An unenforced guide is a document that makes people feel guilty. Pick at least one mechanism:
alex for inclusive language, and put the project's terms and departures in its own package on top. A linter that fails every file on day one gets switched off.Example entry — Capitalization, headings. Sentence case for every heading, page title, table header and button label. Navigation labels use title case, to match the product's own menus — a recorded departure from the base guide's sentence case. Product names keep their own capitals ("Billing API"); feature names don't ("usage alerts", not "Usage Alerts"). Decided 2026-03-02.
docs-writing-standards; the documentation voice and page rules → docs-standards. A guide records only where it departs from them or what they don't cover, and a decision written down overrides them.docs-editing-standards; checking the whole set for drift from it → /style-check.user-guides, developer-docs, api-reference, internal-docs.style-guide in content-writing-skills.localization.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.