/tw:developer-docsfrom Technical Writing Skills
Writing 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".
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.
How to write a docs-site page, independent of the framework rendering it. Two principles govern everything: document what IS (verified against source, not memory), and give every page one job.
Apply these rules to every docs page, in any project. When an existing page deviates from them, correct it rather than matching it — matching whatever is there is how drift spreads.
Before writing a page, 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 docs set, 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.
docs-standards where it isn't clear.When the code is available, it is the source of truth — read it first, and never document from memory or from what the old page claimed:
When the code isn't available — no repo access, a closed-source product, working from a spec or a walkthrough — the rule doesn't relax, it changes shape:
docs-standards' call; the frame every page shares and the section blueprint for each type once chosen are in references/page-types.md, with the mixing-test table for pages drifting between types.title (it's the sidebar label — "MCP Tools", not "Overview of MCP Tool Integration") and a unique 1–2 sentence description (it's the search snippet). Working targets, as rules of thumb from how results truncate by pixel width (Google sets no limit): a title of about 50–60 characters with the identifying words first, a description of about 150–160 characters with the point in the first 120. The reasons and sources are in docs-seo-aeo-geo.Where the product ships versions people stay on, the docs do too:
docs-seo-aeo-geo.Most docs systems let a page pull in something defined elsewhere — a component, a partial, a snippet, an include. However your system spells it, the same rules hold:
import type for types only — anything used as a value (a constructor, a function, an enum in an example) needs a value import. import type { Client } followed by new Client() compiles and then breaks at runtime.A page opening that obeys the rules — what + why up front, prose before code, concrete values:
---
title: Rate limits
description: Request quotas per plan, the headers that report them, and how to back off when you hit 429.
---
Every API key is limited to 100 requests per minute on the free plan and 1,000 on Pro. When you exceed the quota the API returns `429 Too Many Requests`, and the response headers tell you when to retry.
Read the remaining quota from the response headers on any request:
```ts
const apiKey = process.env.EXAMPLE_API_KEY;
const res = await fetch("https://api.example.com/v1/items", {
headers: { Authorization: `Bearer ${apiKey}` },
});
console.log(res.headers.get("x-ratelimit-remaining")); // "97"
```
docs-writing-standards; the documentation voice, prose before code and the four document types → docs-standards.docs-standards; audience, scope and prose discipline → docs-writing-standards.docs-planning. This skill writes a page once the set has a shape.sme-interviews; locating them in the source yourself → codebase-research.docs-style-guide./docs-audit.api-reference.user-guides, for a different audience and page types.internal-docs.readmes.docs-seo-aeo-geo.docs-code-samples. Screenshots, architecture and flow diagrams → docs-images-and-diagrams.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.