agentleFS
webhejjwebhejj/claude-skills/technical-writing/SKILL.md

technical-writing

Skill0 starsChanged 2 months agoMITView on GitHub

Use this skill when writing or reviewing any prose that ships — docs, READMEs, RFCs, design notes, wiki notes, PR descriptions, commit messages — or when asked to "review the writing" or "make this doc clearer". A layered standard: Diátaxis for what kind of document this is, Google developer style for how sentences address the reader, STE for how much each sentence carries, Global English for removing second readings. Read `wiki.md` beside it when the target is a wiki note.

142 other projects use a version of this, 71 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use ketchup-video, principle-explain-the-number and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • tristanphvnSkill

    ketchup-video

    Catch the user up like /keel:ketchup, with a short silent video of slides for what happened and the waiting calls as text under it. Use for /keel:ketchup-video.

    Also in 14 projects that use this

  • ianclearySkill

    principle-explain-the-number

    Apply before you trust, report, or act on a number you measured: a speedup, a regression, a throughput, a latency, or an eval result. Find what limits it, and rule out that it measured something other than the work you think.

    Also in 29 projects that use this

  • eryzerzSkill

    make-bot-ui

    Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.

    Also in 20 projects that use this

  • jaydubya818Skill

    principle-attack-the-premise

    Apply when repeated fixes fail and a shared assumption may be wrong.

    Also in 35 projects that use this

  • jaydubya818Skill

    principle-test-behavior-not-implementation

    Apply when tests mirror internals instead of asserting observable outcomes.

    Also in 36 projects that use this

  • ianclearySkill

    poteto-help

    Guides users through pstack setup, /poteto-mode, and picking the skill, playbook, or principle for a task. Type /poteto-help with a question.

    Also in 14 projects that use this

  • +5 more from jaydubya818

The file

Show its rules and text

We split this skill into the rules it gives an agent

21 rules. 0 are common, 21 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 134 edited versions we read keep these.

  • 21

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Cut every word that does no work: If the sentence survives without a word, the word goes.

    line 15
  2. Distinctive:

    Don't invent jargon. Use the words a developer would say out loud: "move", "delete", "a budget that only decreases", not "evacuate", …

    line 25
  3. Distinctive:

    Use the compass on a whole document or on one sentence.

    line 58
  4. Distinctive:

    Write as "we", in commands: "First, do x.

    line 65
  5. Distinctive:

    Don't mix modes: no reference tables inside a tutorial, no tutorial hand-holding inside reference, no arguing inside a how-to.

    line 81
  6. Distinctive:

    Write instructions as commands: "Click Submit." State facts plainly.

    line 92
  7. Distinctive:

    Put the condition before the instruction: "To delete the document, click Delete." The reader skips what does not apply.

    line 93
  8. Distinctive:

    Put the common case first.

    line 95
  9. Distinctive:

    Don't pre-announce ("we will soon support…") and don't start consecutive sentences with the same phrase.

    line 99
  10. Distinctive:

    Read the awkward sentence aloud.

    line 101
  11. Distinctive:

    Put the warning or condition before the step it guards: "If hot oil touches your skin, injuries can occur."

    line 118
  12. Distinctive:

    Keep "the" and "a": "Remove backup file" reads two ways.

    line 120
  13. Distinctive:

    Write procedures as direct commands, never as narration and never in the passive: "Install the component", not "the component must be …

    line 124
  14. Distinctive:

    Avoid "-ing" words where you can.

    line 126
  15. Distinctive:

    Keep words like "only" and "not" next to the word they change: "only fails on growth" and "fails only on growth" say different things.

    line 133
  16. Distinctive:

    Don't drop verbs: "Phase 1 moves the converters and Phase 2 the runtime" leaves Phase 2 without one.

    line 139
  17. Distinctive:

    Keep the small words that show structure.

    line 141
  18. Distinctive:

    Use periods, not semicolons.

    line 147
  19. Distinctive:

    No slashes: write "a, b, or both" instead of "a/b" or "and/or".

    line 150
  20. Distinctive:

    Call each thing by one name, everywhere.

    line 151
  21. Distinctive:

    Write real paths and real symbols.

    line 184

“Common” is measured: kept by at least 6 in 10 of the 134 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Technical writing

The goal is writing a tired engineer understands on the first read. Four layers get you there, one question each: what kind of document is this, how do sentences address the reader, how much does each sentence carry, and can any sentence be read two ways. Apply all four.

Three rules sit above the layers:

  • Cut every word that does no work. If the sentence survives without a word, the word goes. "In order to" is "to". "It is important to note that" is nothing.
  • Use the short, everyday word. "Use", not "utilize". "Help", not "facilitate". "Do", not "perform". A long word has to buy its length with precision.
  • When a rule makes a sentence worse, fix the sentence another way or leave it alone. The rules serve the reader. A sentence that follows every rule and sounds like a machine wrote it has failed.

The codebase is the word list. Write the real symbol, file, flag or command name, not a synonym and not a description of it.

Don't invent jargon. Use the words a developer would say out loud: "move", "delete", "a budget that only decreases", not "evacuate", "ratchet" or "endgame". A named pattern is fine when the doc says what it means the first time. When you retire an invented word, add it to unslop's abstract-metaphor rule with its replacement, so the catalog grows.

Writing a wiki note is a different job. A note is a node in a link graph with a controlled vocabulary and a rule about not duplicating its sources. Read wiki.md beside this file before writing or reviewing one, and load wiki-docs for the mechanics.

Vary the rhythm

The layers decide what a document says and how much each sentence carries. A doc can obey all of them and still read machine-written: every sentence clipped short, no view anywhere, nothing specific.

  • Mix sentence lengths on purpose. Short sentences land a point. Longer ones that take their time carry a fact together with its condition or its consequence.
  • One thought per sentence does not mean one length per sentence. Split the sentence carrying two thoughts. Keep the long sentence carrying one.
  • Have a view where the mode allows it. Explanation weighs trade-offs, so say what you make of them instead of listing pros and cons. Reference stays dry.
  • Be specific over sterile. Not "schema changes can cause issues" but "a column rename fails the build".

Pick the mode first (Diátaxis)

One document, one mode. Two questions pick it: does the content inform action (doing) or understanding (thinking), and does it serve learning or work?

  • Action + learning: tutorial.
  • Action + work: how-to.
  • Understanding + work: reference.
  • Understanding + learning: explanation.

Use the compass on a whole document or on one sentence. Reach for it whenever you feel unsure what you are writing. Gut feel is often wrong here.

Tutorial: learning by doing. You are the teacher. The learner's success is your job, not theirs. Open by saying what the learner will build, not what they will "learn". Every step produces a visible result, early and often. Tell them what they should see: the expected output, the prompt change, the log line. Cut explanation to one clause and a link. Teaching pauses break the lesson. Stay concrete. Write as "we", in commands: "First, do x. Now, do y."

How-to: steps to a goal. Solve a problem a person has, not an operation the machine can perform. Assume competence. Skip teaching. Action only: no digressions, no background, no completeness for its own sake. Link those instead. Allow forks and judgment: "If you want x, do y." Name the guide by the task: "How to calibrate the radar array", not "Radar array calibration".

Reference: facts for lookup. Describe. Only describe. No instruction, no persuasion, no opinion. Be dry, complete and sure: state facts, options, limits and errors with no hedging. Mirror the structure of the thing described, so code and docs can be navigated together. Put material where readers expect it. Generate from code where possible, so it stays true.

Explanation: understanding and why. One bounded topic, readable away from the product. Each title should tolerate an implicit "About…" in front. Anchor on a real why question. Give context: design decisions, history, constraints, alternatives. Opinion is allowed here and nowhere else.

Don't mix modes: no reference tables inside a tutorial, no tutorial hand-holding inside reference, no arguing inside a how-to. Split and link instead.

Source: diataxis.fr, fetched 2026-07-18.

Write sentences to the reader (Google developer style)

  • Talk to the reader as "you", in the present tense. "Will" only for things that genuinely happen later.
  • Say who does what: "the compiler checks", not "is checked". Passive is fine only when the actor is unknown or beside the point.
  • Write instructions as commands: "Click Submit." State facts plainly. Never "should be done".
  • Put the condition before the instruction: "To delete the document, click Delete." The reader skips what does not apply.
  • Put the common case first. Exceptions after.
  • Sound like a knowledgeable friend. No buzzwords, no figurative language, no "please" in instructions, and never "simply", "easy" or "quickly" in a procedure. If it were simple, the reader would not be here.
  • Don't pre-announce ("we will soon support…") and don't start consecutive sentences with the same phrase.
  • Read the awkward sentence aloud. If it stays awkward, rewrite it.
  • Link with words that say where the link goes: the page title or a short description. Never "click here". Prefer a sentence of context on the page over a link off it.
  • Headings carry the point, not just the topic ("Pick the mode first", not "Modes"). Sentence case. A task heading is a bare verb phrase ("Create an instance"). A concept heading is a noun phrase. One h1 per page, no skipped levels.
  • Numbered lists for sequences, bullets for everything else. Introduce a list with a complete sentence. Keep items parallel.
  • Code goes in code font. UI elements go in bold. Use serial commas. Drop "etc." and say up front that a list is partial.

Source: developers.google.com/style, fetched 2026-07-18.

Make statements load one at a time (STE rules)

  • One instruction per sentence. One thought per sentence everywhere else.
  • Split instructions longer than about 20 words, and other sentences longer than about 25.
  • Put the warning or condition before the step it guards: "If hot oil touches your skin, injuries can occur."
  • Keep "the" and "a": "Remove backup file" reads two ways. "Remove the backup file" reads one.
  • Give each word one meaning and one job, then keep it. If "check" means inspect, don't also use it for restrain.
  • Pick one word per action and stick to it: "start", not "start" here and "initiate" there.
  • Write procedures as direct commands, never as narration and never in the passive: "Install the component", not "the component must be installed".
  • Avoid "-ing" words where you can. They take too many grammatical jobs and breed misreadings.

Source: asd-ste100.org (Issue 9, 2025), fetched 2026-07-18. The numbered rules and the dictionary live in the spec PDF. The principles above are the transferable core.

Leave no sentence open to two readings (Global English)

  • Keep words like "only" and "not" next to the word they change: "only fails on growth" and "fails only 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 obvious thing. Repeat the noun when in doubt. Never use "this" or "which" to point at a whole clause.
  • Don't drop verbs: "Phase 1 moves the converters and Phase 2 the runtime" leaves Phase 2 without one. Give it one.
  • Keep the small words that show structure. "Ensure that the switch is off" keeps "that" because it makes the sentence parse one way. Never trade clarity for word count.
  • Repeat the article in a series when it prevents a misread: "the client and the host", not "the client and host", when they are two things.
  • Say which parts "and" or "or" joins when a sentence can group two ways. "Both…and", "either…or" and "if…then" are free disambiguators.
  • Use periods, not semicolons.
  • Make text in parentheses a full grammatical unit or its own sentence. Never form plurals with "(s)".
  • No slashes: write "a, b, or both" instead of "a/b" or "and/or".
  • Call each thing by one name, everywhere. A doc that says "the gate", "the ratchet" and "the budget check" for one thing teaches three things. Rewording an unchanged sentence between edits costs the same way: don't churn what didn't change.
  • Skip idioms, colloquialisms, Latin abbreviations and metaphors. A non-native reader, a translator and an agent all parse plain constructions best.

Source: Kohl, The Global English Style Guide (SAS Press). Guideline text fetched from the Internet Archive and the SAS sample chapter, 2026-07-18.

Voice, and the slop catalog

unslop owns the pattern list — AI vocabulary, filler, hedging, punctuation tells, formatting tells. This skill owns structure and sentence craft, and does not restate it. Apply both to every doc this skill touches.

Load unslop as a skill — it is model-invocable, so pull it in rather than restating its rules from memory. This skill is not, so unslop cannot pull this one in; when a slop pass turns out to need structural work, say so and ask for /technical-writing.

Two of its rules interact with the layers above, and unslop is the one that wins:

  • Em dashes are voice, not a ban. One per paragraph is fine. Don't convert dashes wholesale in a document you are otherwise leaving alone.
  • Reference mode stays dry. The "have a view" advice belongs to explanation, and applying it to a lookup table is its own kind of slop.

Repo specifics

  • PR descriptions and commit messages are writing too. Every layer except Diátaxis applies to them.
  • Product UI strings are not documentation. Those follow the product's copy guidelines.
  • Match the file's existing indentation and list style rather than importing another project's. The project's own formatter settles markdown formatting, never hand-alignment — wiki-docs owns it, wiki or not.
  • Write real paths and real symbols. Make every count and every tree claim true at the commit that lands it, and include the command that regenerates it.

Worked example

Before:

Configuration of the proto import ratchet budget script parameters is performed via budget.json. Note that it's important to remember that running with --write, which updates the committed budget to reflect the current count, should only be done when lowering it. If exceeded, CI fails.

After:

budget.mjs reads the committed budget from budget.json and counts the files that import protos. If the count exceeds the budget, CI fails. Run budget.mjs --write only to lower the budget.

The fixes, by layer: "configuration is performed" becomes "budget.mjs reads", so someone does something (Google). "Ratchet" goes away and the script's real filename does the naming (jargon rule). The five-noun string breaks into plain clauses (Global English). The hedge "note that it's important to remember" is deleted (cut every word that does no work). The failure condition moves ahead of the step it explains (STE). The buried "should only be done when lowering" becomes a command with "only" next to its verb (STE). "If exceeded" gets a subject: the count (Global English).

Review checklist

Apply to any prose this skill covers. Item 1 applies only to document sets:

  1. Is each file one Diátaxis mode, with links where modes meet?
  2. Is every instruction written as a command, with its condition in front?
  3. Does any sentence carry two instructions or two thoughts? Split it.
  4. Can any word be cut without losing meaning? Cut it.
  5. Is "only" next to the word it changes? Does every "it" point at one thing? Does every clause keep its verb?
  6. Does each thing have exactly one name across the docs?
  7. Would a developer say these words out loud? Replace invented metaphors and fancy synonyms with the plain word or the real symbol name.
  8. Are all symbols, paths and counts real at this commit, with the commands that regenerate the counts?
  9. Wiki notes only: the checks in wiki.md.

Lineage

Adapted from the technical-writing skill in pstack, by poteto (Lauren Tan) — MIT, cloned from Benjamin-Connelly/cursor-plugins. The four layers and the worked example are the original's. Changed here: unslop is read as a sibling file rather than invoked, the em-dash ban is gone, tab indentation became "match the file", and wiki.md is new.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.