/tw:docs-images-and-diagramsfrom Technical Writing Skills
Visuals in documentation — deciding whether an image earns its maintenance cost, screenshot capture and annotation conventions, scrubbing personal and customer data, alt text and captions, diagrams as code or theme-able SVG, recordings, file naming and compression, light and dark variants, and keeping images from silently contradicting the text. Use on "docs screenshot", "architecture diagram", "flowchart for the docs", "alt text for this docs page", "annotate this screenshot", "the screenshot is out of date".
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.
Every visual in a document is the most expensive content on the page. It goes stale on a change nobody tells you about, it can't be searched, it can't be translated, it can't be copied from, and a reader using a screen reader gets whatever you wrote in the alt attribute and nothing else. A docs image lives as long as the page does, and every release can make it wrong — so the bar is high and the count is low.
None of that means avoid them. It means each one has to earn the cost, and there are only three kinds worth the money:
Before adding or changing a visual, find the project's style guide and conventions and read them — capture conditions, annotation style, palette and file locations often live there:
AGENTS.md names, or its contributing docs.Where the guide settles something this skill also covers, the guide wins; where it's silent, docs-standards applies.
Read the answers from the request, the page, the project's capture conditions record (references/capture-conditions.md) 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.
Use a screenshot when the reader needs to recognize something visually:
Use a diagram when structure is the content — how parts relate, how something flows, what happens in parallel, where a decision branches. Before drawing, say in one sentence what the reader will understand from the picture that they wouldn't from the paragraph. If you can't, write the paragraph.
Don't use either for:
The instructions stay in the text. A visual supports the steps; it never replaces them. A procedure that only works if you can see the pictures excludes anyone who can't, and breaks the moment the interface shifts. Read the page with the images removed: every step must still be possible.
Consistency across a set matters more than perfection in any one image — a set captured at different zoom levels, themes and window sizes looks broken even when every image is correct.
Choose the tool first.
Then, whichever tool:
The SVG authoring detail — document structure, shapes and paths, text, theming with currentColor and custom properties, SVG-level accessibility, arrow markers, optimization, embedding choices, and copy-paste patterns — is in references/svg-authoring.md. Follow it for anything hand-authored.
Every visual needs a text alternative — a diagram as much as a screenshot, and usually more, because a diagram's whole content is the picture.
<img src="diagram.svg" alt="…">) takes its name from alt. An SVG written inline has no alt attribute at all — it takes its name from role="img" plus a <title>, and a longer one from <desc>. Put alt text on an inline SVG and a screen reader announces nothing. The markup is in references/svg-authoring.md.screenshot-3-final-v2.This is where image-heavy documentation fails, and it fails quietly.
developer-docs, user-guides or internal-docs.localization.docs-code-samples.images-and-diagrams in content-writing-skills.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./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"./docs-ai-checkManually invoked. Checks whether writing (a docs page, a folder of pages or a diff) reads as machine-written, and reports the specific tells rather than a verdict: citations that don't hold, em-dash frequency and pattern, blacklisted vocabulary and phrases, the structural tells (uniform section lengths, lists of exactly three, summaries that restate, closers that congratulate), hollow claims, and rhythm. Returns a rewrite for each flagged passage, then asks which to apply./docs-auditManually invoked. Audits a body of documentation for defects a reader would hit — claims that no longer match the product, broken links and anchors, navigation integrity, duplicated and contradictory content, missing coverage, stale images, and content nobody has verified in months. Works on a docs repo, an exported help centre, or any folder of documents. Verifies each finding and writes a prioritized report. Never edits a page.