/tw:docs-planningfrom Technical Writing Skills
Deciding what a documentation set should contain before anything is written — audience and task inventory, auditing what already exists, gap analysis, information architecture and navigation grouping, prioritizing by reader impact, the minimum doc set a release ships with, defining done, and retiring content. Use on "plan the docs", "what docs do we need", "content audit", "restructure the docs site", "information architecture", "table of contents", "docs strategy", "where should this page go".
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.
Most documentation problems are planning problems wearing a writing costume. A page nobody can find, three pages covering the same thing differently, a missing page the support queue answers forty times a month — none of those are fixed by better sentences.
Plan the set before writing the page. The output of this skill is a list of documents to write, in order, with a home for each, in the template in references/plan-template.md.
Before planning the set, 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. Where it settles something this skill also covers, the guide wins; where it's silent or there isn't one, docs-standards applies without asking.
Read the answers from the request, the existing docs, 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 plan's header.
The two organizing principles that fail are the feature list and the org chart. Both describe how the product was built, and neither matches how anyone looks for help.
Never plan a docs set without knowing what's already there — the most common outcome of skipping this is a new page competing with an old one.
Build an inventory, one row per document:
| Field | Why it's there |
|---|---|
| Title and location | What it is and where it lives |
| Type | Which document type it is, or which it drifts between |
| Audience and task | Who it's for and what it lets them do |
| Owner | Who is accountable; blank is itself a finding |
| Last verified | When someone last checked it against reality, not when it was last edited |
| Traffic or usage | Whatever signal exists |
| Verdict | Keep, update, merge, split, rewrite, or retire |
Lay the task list against the inventory. Three findings come out of it:
Prioritize by impact, not by ease. For each gap, weigh how many readers hit it 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. Resolve ties with whatever is already generating support load.
rotate-api-keys.md), a two-digit number prefix only where reading order matters (01-install.md, 02-configure.md), and an index file per folder whose name sorts first (_README.md, index.md where the docs platform requires it). Where the docs platform builds URLs from file names, a renamed file is a moved page.Agree a minimum set so documentation isn't renegotiated per release:
Name the trigger. Whatever starts the work — an issue label, a checklist item in the change template, a step in the release process — has to exist somewhere other than a writer's goodwill, or the docs will always be late.
developer-docs, user-guides, internal-docs, api-reference, readmes, release-notes.docs-standards.developer-docs's site-mechanics.md.sme-interviews./docs-audit.docs-style-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.