technical-writing
Write technical prose that a tired engineer understands on the first read. Use when writing, rewriting, or reviewing documentation, a README, a design note, a pull request description, a commit message, or a technical message for people to read.
- License 许可
- MIT
- 所属仓库
- dwin/skills
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- technical-writing
- description
- Write technical prose that a tired engineer understands on the first read. Use when writing, rewriting, or reviewing documentation, a README, a design note, a pull request description, a commit message, or a technical message for people to read.
02 资源文件 2
- 参考文档agents/openai.yaml240 B
- 参考文档references/modes.md2.2 KB
03 SKILL.md 正文
Technical writing
Write so a tired engineer understands on the first read. This skill sets the
structure and the sentences. unslop holds the catalog of machine-written
patterns, and runs on every text this skill touches. It runs on your draft,
so a fact you took from the repository is part of its source and stays.
Documents that agents read follow writing-for-agents instead.
Three rules above the rest
- Cut each word that does no work. If the sentence survives without the word, the word goes.
- Use the short, everyday word. Write "use", "help", and "do". A longer word earns its place with precision.
- When a rule makes a sentence worse, fix the sentence another way, or leave it. A sentence that obeys every rule and reads like a machine wrote it has failed.
State only what the source text or the repository shows. When the reader needs a step, command, or fact you cannot confirm there, ask the author, or mark it in the text as unconfirmed. A plausible install step that turns out wrong costs the reader more than a gap they can see.
When you rewrite a text and show it to the user, end your reply with a list
headed "Not in the source". The list follows the rewrite and stays outside
it. Put in it every command, version, tool, step, check, and explanation your
rewrite contains that the source and the repository do not give, one per
line, and say for each whether the author should confirm it or you could cut
it. A general fact about a tool belongs there too, such as how long an
export lasts. Before you send the rewrite, compare its commands with the
source one by one. An addition missing from the list is a defect. When you
added nothing, say so in one line.
When the rewrite is a step inside another task that takes only the final text, such as a pull request description about to be filed, there is no reply to carry the list. Add nothing the source lacks.
Use the codebase's names: the real symbol, file, flag, or command, not a
synonym or a description of it. Use the words a developer says aloud, such as
"move", "delete", and "a limit that only goes down". A named pattern is fine
when the text defines it on first use. When you meet a jargon word that
unslop's list lacks, propose it to the user as an addition.
Pick the mode first
Every document serves one of four needs: learning by doing (a tutorial), reaching a goal (a how-to), looking up facts (reference), or understanding (an explanation). One document has one mode. Before writing a document, pick its mode with references/modes.md, and split a document that mixes modes into linked parts.
Pull request descriptions, commit messages, and messages have no mode. Go straight to the sentence rules.
Vary the rhythm
Text can obey every rule and still read machine-written: every sentence clipped, no view anywhere, nothing specific.
- Mix sentence lengths. A short sentence lands a point. A longer one carries a fact with its condition or its consequence. Split a sentence that holds two thoughts, and keep a long sentence that holds one.
- Take a position where the mode allows one. An explanation weighs trade-offs, so say what you make of them. Reference stays dry.
- Be specific, with what the source or the repository shows. Write "renaming a column fails the build", not "schema changes can cause issues". When you do not have the specific fact, find it or leave the claim out.
Write to the reader
- Address the reader as "you", in the present tense. Use "will" only for what happens later.
- Name the actor: "the compiler checks the types". Use the passive only when the actor is unknown or does not matter.
- Write instructions as commands ("Run
make check.") and facts as plain statements. - Put the condition before the instruction ("To clear the cache, run ..."), and the warning before the step it guards.
- Put the common case first and the exceptions after it.
- Leave "please", "simply", "easy", and "quickly" out of procedures. If the step were simple, the reader would not need the document.
- Describe what exists now. Announcements of future support belong elsewhere.
- Write link text that names where the link goes. A sentence of context on the page beats a link away from it.
- Make each heading carry the point ("Pick the mode first", not "Modes"), in sentence case. A task heading is a bare verb phrase. Use one top-level heading per page and skip no levels.
- Use numbered lists for sequences and bullets for the rest. Introduce each list with a full sentence, and keep its items parallel. When a list is partial, say so before it.
- Put code, paths, flags, and commands in code font, and interface labels in bold. Use the serial comma.
Load one thing at a time
- Give one instruction per sentence, and one thought per sentence elsewhere.
- Split an instruction longer than about 20 words, and any other sentence longer than about 25.
- Keep the articles: "remove the backup file", not "remove backup file".
- Give each word one meaning, and each action one word. A service you "start" is never also "initiated".
- Prefer a verb to an "-ing" noun.
Leave one reading
- Put "only" and "not" beside the word they change. "Fails only on growth" and "only fails on growth" say different things.
- Break up long noun strings. "The proto import budget check script" becomes "the script that checks the proto-import budget".
- Make every "it", "they", and "this" point at one thing, and repeat the noun when in doubt. Point "this" and "which" at a noun, never at a whole clause.
- Give every clause its own verb: "phase 1 moves the converters and phase 2 moves the runtime".
- Keep the small words that show structure, such as "that" in "check that the switch is off".
- Repeat the article when a series names separate things: "the client and the host".
- Show how "and" and "or" group with "both ... and", "either ... or", and "if ... then".
- End sentences with periods, in place of semicolons and dashes. Make text in parentheses a complete unit, and write plurals without "(s)".
- Write "a, b, or both" in place of a slash.
- Call each thing by one name throughout, and leave unchanged names as they are.
- Leave out idioms, Latin abbreviations, and metaphors.
Pull requests, commits, and messages
Every rule above applies to them. A pull request body is a briefing a reviewer
reads in under a minute, and file-pr sets its sections. Link logs, SHA
lists, and metric tables instead of pasting them. Make each count or file-tree
claim true at the commit that lands it, and give the command that regenerates
it. Product interface text follows the product's own copy guidelines.
Example
Before:
Retries are handled by the client utilizing an exponential backoff strategy. It should be noted that the max attempts value, which can be configured via RETRY_MAX, should only be increased if the upstream is known to be flaky, otherwise latency may be impacted.
After:
The client retries a failed request with exponential backoff, up to
RETRY_MAXattempts. RaiseRETRY_MAXonly when the upstream is known to fail intermittently. Otherwise the extra attempts may add latency.
04 同仓库更多 Skills
visual-explainer
Render interactive visual explanations, architecture simulators, option tradeoff matrices, permission or blast-radius maps, and phased rollout cards on the host's native visual surface. Use when answering a question that compares three or more options across multiple dimensions, traces a multi-gate request or state flow, maps permissions or blast radius, lays out a multi-phase architecture plan, or when the user asks to visualize or sends `viz`.
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
wizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
why
Find out why code is the way it is from its history, reviews, tickets, docs, and other records, and say how sure each answer is. Use when the user asks why something is built, written, or behaves a certain way, why a choice was made, or where a number or limit came from.
whats-next
Match a task to the skill, flow, or playbook that fits it. Use when the user asks what to do next or which workflow applies, when a task fits no other skill, and for these kinds of work, which have playbooks here - proving a property of concurrent or stateful code with a model checker or verifier, matching a UI pixel for pixel, and diagnosing a live process or a captured profile, trace, or heap snapshot.
wayfinder
Plan a huge chunk of work — more than one agent session can hold — as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.