Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Technical Writing?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mastro993-technical-writing)
---
name: technical-writing
description: 'Use when writing or reviewing technical text: docs, READMEs, runbooks, RFCs or specs, PR descriptions, or commit messages.'
compatibility: Builds on the writing skill from the same plugin for base language.
---
# Technical writing
Technical text is read to do something: run a command, look up a value, or judge a design. Write it so a busy reader, maybe reading in a second language, gets it right the first time.
Rules here come in two strengths:
- A **hard** rule always holds. Break one only when you can write down why the result is clearer, and give that reason in the reply.
- A **default** holds unless it hurts clarity or does not fit the doc type.
Clarity outranks both: break any rule before you write something unclear. The project's style guide outranks this skill, and this skill outranks the project's chosen dictionary.
## Steps
1. **Load the base language.** Follow the writing skill. Its steps, rules, tells, and word lists are the base, and the steps below add to them. Where the two differ, this skill wins for technical text. Done when the base skill is loaded.
2. **Find the house rules.** Look in `docs/`, CONTRIBUTING, and the repo root for a style guide, a word list or chosen dictionary, doc templates, warning levels, and a prose linter config. When the project must comply with a controlled-language standard, every general word comes from that standard's dictionary; this skill's limits alone fall short of compliance. Done when you have read each house rule that applies.
3. **Plan by branch**, alongside the base's reader and bottom-line steps:
- **Page** (a doc, README, runbook, tutorial, or RFC): name the reader's role, skill level, and what they already know, and the one job the page does. Pick one page type from [references/pages.md](references/pages.md) and follow its structure rules. Done when reader, job, and type fit one sentence: "Backend developers new to the queue who need to retry failed jobs: a how-to guide."
- **Short form** (a PR description or commit message): no page type. The format the repo or a calling skill sets (a template, a commit convention, a title lint) decides the shape. This skill supplies the language inside it. The rules on describing the product as it ships, and the stale time words in [references/words.md](references/words.md), apply to pages: a PR or commit describes the change it carries and can name follow-up work. Done when you know the format.
4. **Draft** to the base rules and to the sections below. Before you format the text (code, UI labels, links, lists, tables, dates, or images), read [references/formatting.md](references/formatting.md). Before you write steps, warnings, or a runbook, read [references/procedures.md](references/procedures.md). Done when every hard rule holds, or you have written down why breaking it is clearer.
5. **Check** with the base's check and word passes, then [references/words.md](references/words.md): swap each listed word and delete each delete-on-sight word. Count the words in every sentence that looks long. For a page, go through [references/checklist.md](references/checklist.md) item by item. Run the project's prose linter and readability checker when it has them. Done when every list hit is fixed, every checklist item holds, and the linter passes or each warning left has a reason.
6. **Test**, before the base's source comparison. Run every procedure, command, and code sample in the text on the current version, and compare the output with the text. When a page you touch, or one it links to, describes behavior that is gone, update it or delete it. A stale page misleads more than a missing one. Done when every sample ran and matched, or the reply names each one you could not run.
7. **Reply** as the base does. Add a line for each hard rule you broke with its reason, each sample you could not run, and each linter warning you kept. For example:
Saved to docs/retry-failed-jobs.md, a how-to guide. All four steps ran against version 2.3. Step 2 keeps a 22-word sentence: split, it hid that the three flags go in one command. Your notes name no owner for the retry queue, so the page names none; send me one and I'll add it.
## Reviewing
When asked to review text, run steps 2 to 6 on it as a check, and reply with findings. Each finding gives the location, the rule it breaks, and the fix as rewritten text. Hard-rule breaks come first, then defaults, each group in document order. A sample that fails when you run it is a hard-rule finding. Done when every rule in this skill and its references has been checked against the text. For example:
- `docs/deploy.md`, step 3, hard, one instruction per sentence: "Build the image and push it to the registry." → step 3 "Build the image." and step 4 "Push the image to the registry."
- `docs/deploy.md`, "Roll back a release", hard, warning placement: the warning opens the section, two steps before the `db reset` command it covers → move it directly before step 3.
- `README.md`, "Configure", default, requirement words: "You should set `API_TOKEN`." → "You must set the `API_TOKEN` variable."
When the user asks you to fix the text instead, edit it in place under the base's rules for someone else's text. List the changes the same way.
## Sentences and paragraphs
Hard rules:
- A sentence in a step or instruction has at most 20 words; any other sentence has at most 25.
- One instruction per sentence. Two actions share a sentence only when they happen at the same time: "Hold **Shift** and select the files."
- The condition or goal comes before the instruction: "To delete the cluster, run…", "If the build fails, check…".
- Write full sentences, with their articles, verbs, subjects, and "that": "Remove cover" → "Remove the cover."
- A noun cluster has three nouns at most. Break a longer one with "of", "for", or "that": "database pool timeout setting" → "the timeout setting for the database pool".
- One topic per paragraph, in six sentences at most.
Defaults:
- Start a statement with its verb when you can.
- Join at most two clauses with "and", "or", or "but", and give the rest their own sentences.
- State conditions positively: "not … unless" → "only if".
- Prefer two nouns in a cluster, and keep helper words such as "then" and "of" that make the structure plain to a translator.
## Voice and tone
Hard rules:
- Active voice, with the actor named: "The scheduler retries the job." Use the passive only when the actor is unknown or does not matter.
- Address the reader as "you", and write steps in the imperative. Keep "we" for the project's authors.
- Simple present for what the product does: "The API returns a token."
- Use a finite verb wherever one can replace an "-ing" form: "after changing the file" → "after you change the file". Where an "-ing" form stays, make its role explicit: "by using the file".
- Write literally. Replace each idiom, slang word, metaphor, pop-culture reference, or joke with the plain claim.
- Steps, warnings, and notices are plain statements in full forms ("do not", "it is"), free of courtesy words and exclamation marks. This overrides the base's room for courtesy and a chatty register.
Defaults:
- Guides and concept pages sound like a knowledgeable colleague: conversational, respectful, plain. Procedures, runbooks, and safety text stay controlled and neutral.
- Use common contractions ("don't", "it's") in conceptual prose, and full forms across runbooks, safety text, and heavily localized docs.
- When you are unsure of the tone after reading the text aloud, say so in the reply and ask for a human reviewer.
## Words
Hard rules:
- Each term keeps one meaning and one capitalization. Pick "server", "host", or "node" for a machine, and use only that word.
- Use each word in its primary sense and part of speech: "webhook the event" → "send the event to the webhook".
- Spell out every abbreviation at its first use: "role-based access control (RBAC)".
- Use the plain word, and write steps bare, leaving the reader to judge difficulty. The swaps and the delete-on-sight list in [references/words.md](references/words.md) name the words to change.
- Describe the product as it ships today, in words that stay true after the next release. Unreleased features stay out.
Defaults:
- Replace an ambiguous "it", "this", or "that" with the noun it stands for, and repeat a word wherever repeating makes the meaning clearer.
- Use "must" for a requirement and "can" for an option, and "should" only for advice the reader may skip.
- In an RFC or spec, write the requirement keywords of RFC 2119 and RFC 8174 (MUST, SHOULD, MAY, and the rest) in capitals for their defined meaning. Say so in one sentence near the top.
Files in this skill
SKILL.md8.6 KB
agents/openai.yaml170 B
evals/commit-message-for-staged-fix/case.yaml548 B
evals/commit-message-for-staged-fix/files/repo/README.md71 B
evals/commit-message-for-staged-fix/files/repo/tally/dates.py170 B
evals/commit-message-for-staged-fix/files/repo/tally/export.py232 B
evals/commit-message-for-staged-fix/files/repo/tests/test_dates.py151 B
evals/commit-message-for-staged-fix/files/staged/dates.py324 B
evals/commit-message-for-staged-fix/files/staged/test_dates.py293 B
evals/commit-message-for-staged-fix/graders/01-committed-in-repo-format.md212 B
evals/commit-message-for-staged-fix/graders/02-imperative-subject.md230 B
evals/commit-message-for-staged-fix/graders/03-body-present-active.md281 B
evals/commit-message-for-staged-fix/graders/04-why-in-body.md217 B
evals/commit-message-for-staged-fix/graders/05-no-slang-or-filler.md212 B
evals/commit-message-for-staged-fix/graders/06-sentence-length.md100 B
evals/commit-message-for-staged-fix/place-files.sh606 B
evals/commit-message-for-staged-fix/prompt.md391 B
evals/fix-failover-runbook-in-place/case.yaml522 B