From tech-writer
Review and rewrite documentation in place using Google's Technical Writing guidelines
How this skill is triggered — by the user, by Claude, or both
Slash command
/tech-writer:tech-writer [file path][file path]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Review and rewrite documentation against the conventions from Google's Technical Writing One and Two courses. Improve how content is expressed; do not change what it says.
Review and rewrite documentation against the conventions from Google's Technical Writing One and Two courses. Improve how content is expressed; do not change what it says.
$ARGUMENTS if provided. Otherwise use the file currently in context. If neither exists, ask.If the document is already well-written, say so and stop. Don't churn for the sake of churn.
The rules below come from the Google courses. Each one has a short rationale and a before/after — apply by analogy, not by pattern-matching to these exact phrases.
Active voice (actor + verb + target) is shorter and tells the reader who did what. Passive hides the actor.
The error is raised when the input is divided by zero.Dividing by zero raises the error.If a passive sentence has no actor, figure out who acts and name them. Imperatives are already active.
Forms of be (is, are, was), plus occur and happen, do little work. Replace them with verbs that name the action.
A timeout occurs when the server is unresponsive.The client times out when the server stops responding.Drop There is / There are openers — move the real subject to the front.
There is a variable named count that stores the total.The count variable stores the total.Vague intensifiers (significantly, much, very) are noise. Use numbers when you have them.
The new index is significantly faster.The new index is 225–250% faster on the benchmark suite.If a sentence has two ideas joined by and, but, or a subordinate clause that branches away from the main point, split it.
The build runs in CI, which uses a cached image that is rebuilt nightly, and fails fast on lint errors.The build runs in CI and fails fast on lint errors. CI uses a cached image, rebuilt nightly.When a sentence chains three or more items with and / or, lift them into a list.
These phrases add length without meaning:
| Before | After |
|---|---|
at this point in time | now |
is able to | can |
in order to | to |
causes the triggering of | triggers |
provides a detailed description of | describes |
due to the fact that | because |
Place pronouns within about five words of the noun they refer to. If another noun gets in between, repeat the original noun. After this or that used as a determiner, add the noun.
Before: The parser reads the config and validates the schema. It then writes it to disk.
After: The parser reads the config and validates the schema. The parser then writes the config to disk.
Before: This means the request will be retried.
After: This retry policy means the request will run again.
Use one term per concept across the whole document. Switching between user, caller, and client for the same actor forces the reader to re-map every time.
For acronyms: spell out on first use with the acronym in parentheses — Transmission Control Protocol (TCP) — then use the acronym. Skip the acronym entirely if the term appears only two or three times.
that introduces a restrictive clause (no comma). which introduces a nonrestrictive clause (comma).
The file that you uploaded is corrupted. (which file? the one you uploaded)The file, which you uploaded yesterday, is corrupted. (extra info about a known file)Download the binary. Run the installer.Before (mixed forms):
- Downloading the package
- Run installer
- Configuration of the server
After (parallel imperatives):
- Download the package.
- Run the installer.
- Configure the server.
The opening sentence states the point — a busy reader may read only that sentence. One topic per paragraph. Aim for 3–5 sentences. A wall of seven-plus sentences usually contains two paragraphs that haven't been separated yet.
State the target audience and prerequisites near the top, and say what the document does not cover. Skip idioms (hit the ground running, Bob's your uncle) and culture-specific references — they trip non-native readers and add nothing.
If the build fails, run make clean. — not Run make clean if the build fails. Readers can skip the instruction faster when the condition comes first.code font.Headings should describe the reader's task, not the topic abstractly.
Database configurationConfigure the databasePut at least one sentence of prose under every heading — orphan headings stacked together force the reader to guess what's coming.
Code samples should be correct, short, and readable. Use descriptive names (no x, tmp, data2). Flatten deep nesting. Comment why, not what. When a common mistake exists, show the anti-example next to the correct one. Include run instructions and expected output where relevant.
Write the caption first — it's the takeaway. Cap each diagram at roughly one paragraph's worth of information; split complex systems across diagrams. Use callouts and arrows to direct attention.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.
npx claudepluginhub mikersays/mikersays-plugins --plugin tech-writer