/mays:ste-writingfrom mays
Applies Google developer documentation style fused with ASD-STE100 controlled language and economy rules to any software engineering prose. Covers docs, READMEs, code comments, PRs, commits, tickets, runbooks, Slack, and more.
Ships in mays. 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.
The base of this skill is the Google developer documentation style guide — the house rules Google's writers use so documentation survives skimming, translation, screen readers, and time. On top of it sit two survivals from ASD-STE100, the aerospace controlled language: one word has one meaning, and one sentence carries one idea. And on top of both sit economy rules for the failure neither guide fights hard enough: too many sentences.
The audiences match. Engineering text is read by on-call responders at 3 a.m., non-native English speakers, new hires without context, and people skimming Slack on a phone. Write for the least-rested, lowest-context reader — everyone else benefits too.
The reader is a human, never an AI. An AI ingests an exhaustive dump at no cost; a human pays for every sentence and abandons text that wastes them. A draft that reads like context for a model — complete, thorough, self-contained — has failed a human reader.
Every rule below serves two goals: a reader who parses a sentence once arrives at exactly one meaning, and never reads a sentence they do not need.
The rules in the rest of this skill govern how to write a sentence. These rules govern which sentences exist. Compress by deleting sentences and ideas, never by deleting words inside a sentence you keep.
Answer first, within a budget. Decide the reader's question and answer it in 1-3 sentences or at most 5 bullets. Context the reader will not act on gets deleted, not summarized.
List facts before words. For any artifact with a budget, list the facts the reader acts on, then write each one once. Do not draft long and trim — the long draft anchors you, and the trim always spares too much.
Collapse each paragraph to its consequence. Most explanatory paragraphs are one fact plus restatements of it. Write the fact once, fused with its effect: "The cache key ignores the lockfile, so deploys reuse stale builds."
Cut detail from the bottom. Order detail as effect, then cause, then mechanism. Mechanism survives only when the reader will act on it.
Record what the reader must know, not what you did to learn it. Your verification runs, ruled-out hypotheses, and measurements belong in a PR comment or a thread — never in the ticket the fixer reads. Ship the conclusion and the facts the reader acts on, and keep the investigation in your notes.
No scaffolding. Delete preamble ("This PR introduces…"), recaps, "note that", "importantly", and narration of your own structure. The first sentence carries content.
Before — a typical first draft:
This PR makes some improvements to how we handle configuration loading. Previously, the configuration was loaded eagerly at startup, which meant that any error in an unused section would prevent the application from starting entirely. This was problematic because teams often have partial configurations in development environments.
To address this, the loading logic has been refactored to be lazy. Each section is now parsed only when it is first accessed, so errors surface at the point of use rather than at startup. Additionally, error messages now include the file and line of the failing section.
After:
- Config sections now parse on first access, not at startup, so an error in an unused section no longer blocks boot.
- Parse errors now name the file and line.
The dev-environment motivation dropped out because it changes nothing the reader does. Every actionable fact survived — the fact list is the guard, not the word count.
Write for one level of expertise below the actual audience. A PR read by senior engineers is written so that QA or a new hire without context can follow it. Down-leveling is a compression mechanism. To drop a level, you must first restate the concept in simpler terms, and that restatement removes complexity.
Boundaries:
At-level: "Memoize the selector to avoid re-renders caused by referential inequality in the subscription."
One level down: "The selector returns a new object on every call, so React thinks the data changed and re-renders. Memoizing returns the same object when nothing changed."
The test: a reader one ring outside the context — QA for a PR, support for a runbook, a new hire for a design doc — can act on the text without a follow-up question.
Conversational, not frivolous. The target register sits between "Dude, this API is awesome!" and "The API documented herein may enable acquisition of data pertaining to user preferences." Write: "This API lets you collect data about what your users like."
Speak to the reader as "you"; write instructions as bare commands. "Run the migration" — not "the migration should be run", "please run", "let's run", or "the user should run". "Please" belongs only where you ask a real favor. Reserve "the user" for the people who use the reader's software. "We" is legitimate only with a concrete antecedent — the team or the org: "we recommend", "we deploy on Tuesdays".
Use contractions — especially negative ones. Skimming readers miss a standalone "not"; nobody misses "don't". Write "don't", "isn't", "can't". Never invent contractions ("the config's broken" meaning is).
Software is not a person. It doesn't want, think, know, see, or complain — it requires, processes, detects, reports. "The scheduler detects the stale lock", not "the scheduler notices the lock is stale". Anthropomorphism reads as precision to you and as ambiguity to a translator and a debugger.
No exclamation points, no humor in docs. Humor and idiom die in translation and in the middle of an incident. Slack keeps your personality; documentation keeps only your meaning.
Mannered prose is writing shaped for effect. The reader notices the construction before the fact inside it. It also survives a trim, because a polished line reads as finished. Write flat: subject, verb, fact.
Each pattern below is countable. Find one, rewrite the sentence.
Before:
This isn't a caching bug — it's a correctness bug wearing a caching bug's clothes. The key ignores the lockfile. And that changes everything.
After:
The cache key ignores the lockfile, so deploys reuse stale builds.
The test: delete the ornament. If no fact left with it, delete the sentence.
Pick one name per concept and never vary it. Elegant variation is for fiction. If the doc calls it "the worker", that process is never later "the daemon", "the service", or "the consumer" — a new name makes the reader ask whether you mean a new thing. When two names are entrenched, pick one and state the alias once: "the ingest worker (deployed as queue-consumer)".
Technical names are exact, literal, and never inflected. Commands, flags, paths, error strings, API names, and config keys go in backticks with exact spelling and casing, never paraphrased — readers grep for them. Write "the ECONNRESET error", not "a connection reset issue". And never bend a code item into English grammar: "send a POST request", not "POST the data"; "Intent objects", not "Intents"; "connect over SSH", not "ssh into"; "extract the zip file", not "unzip it".
Expand an uncommon acronym at first use. "Time to first byte (TTFB)", then TTFB alone. Acronyms every reader knows — API, CPU, URL — need no expansion. Never "i.e.", "e.g.", or "etc." — write "that is", "for example", and finish or bound the list.
Replace bloated words with plain ones. Write "use", not "utilize", and "before", not "prior to". The word tables, plus vague quantities, spelling decisions, and software words with two meanings, are in references/word-substitutions.md. Read it whenever you rewrite existing text or draft anything longer than a few paragraphs.
Requirement words carry contract weight. "Must" is a requirement; "must not" is a prohibition; "can" is ability or permission; "might" is possibility. "Should" is the ambiguous one — the reader cannot tell requirement from suggestion. Replace it with "must", or with "we recommend" in a team document and "I recommend" in a reply. "May" belongs only in policy or legal text. Never "shall". Use the present tense for implemented behavior, and keep conditional wording for proposed behavior: "the proposed limit would reject the request". "The value should be true" hides the actor: write "Set the value to true" or "The server sets the value to true".
Quantify, and own your numbers. "Several times" → "3 times". "Recently" → "since v2.31". "Much faster" → "p95 fell from 480 ms to 120 ms". "10x" → "10 times". If you lack the number, say what you know: "faster in our tests; not yet measured". A performance or security claim is a promise: "helps prevent replay attacks" survives an incident, "prevents replay attacks" does not. Superlatives — best, fastest, always, never — only when literally true.
Don't anchor docs to today. "Currently", "new", "soon", "latest", "does not yet" date a document the day it ships. Name the version or date instead — "since v3.2", not "currently". Time words are fine where time is the subject: release notes, incident updates, status reports.
Delete intensifiers and difficulty words. "Very", "really", and "quite" add no information. "Simply", "just", and "easily" insult the reader the moment the step fails for them.
Use inclusive terms. Allowlist/denylist, primary/replica, "final check" not "sanity check", "stops responding" not "hangs", singular "they", "person-hours". When the old term is a literal identifier, keep it in code font and out of prose: "the primary branch (named master in this repo)". Full table in the reference file.
Climb the jargon ladder. For a term of art the reader may not share: write around it; or swap in a plain term; or gloss it once in parentheses; or define it at first use and then use it consistently. Keep jargon the audience genuinely searches for.
Length limits: 20 words for an instruction, 25 for everything else. A sentence over the limit almost always carries two ideas. Split it; don't compress it into telegraphic fragments.
One instruction per sentence. "Run the migration and restart the workers after checking that the queue is empty" hides 3 actions and leaves the order ambiguous. Write:
Active voice with a named actor. Passive voice hides the actor, and in software the actor is the component you will debug. "The job will be retried" — by whom? Write "The scheduler retries the job 3 times, then moves it to the dead-letter queue." Passive earns its place in exactly 2 cases: the actor is genuinely irrelevant ("the database was purged in January"), or naming the actor would blame the reader ("50 conflicts were found in the file", not "you created 50 conflicts").
Present tense for behavior; simple tenses for everything. Software behavior is not a future event: "the API returns 403", not "the API will return 403". "Will" is for events genuinely later than the sentence — "add the file to the list; it will be archived on the next backup run" — never for current behavior. A proposal keeps "would", so the reader can tell it from shipped behavior. Perfect and progressive tenses blur time: "has been deprecated" hides the date — "was deprecated in v3.2" demands one; "is being rolled out" → "the rollout started Monday and finishes Friday". Conditionals stay present on both sides: "If you send an unsubscribe message, the server removes you."
Keep the small words. Telegraphic style ("Update config before restart") saves you 2 words and costs every reader a parse: is "restart" a noun or a command? Write "Update the config file before you restart the service." Articles are load-bearing, especially for non-native speakers — so are the optional helpers: keep "that" ("confirm that the job finished"), keep "then" after "if", repeat "if" for a second condition. Arrow chains ("cache miss → rebuild → timeout"), hyphen-stacked compounds ("the retry-then-refresh-on-401 path"), and ad hoc abbreviations are telegraphy with symbols: write the sentence. Commit subjects are exempt — the 50-character target wins there.
Every pronoun has one possible noun. If "it", "this", or "these" could point at two things, repeat the noun. "This" and "these" never stand alone: "set this value to true", not "set this to true". Use "that" for restrictive clauses, comma-plus-"which" for asides, and "who" for people.
"Only" hugs the word it limits. "Request only one token", not "Only request one token" — the second might mean "don't do anything else".
State it in the positive. "You can continue without a path", not "a missing path won't prevent you from continuing". Double negatives and exceptions-to-exceptions make the reader solve logic puzzles.
No more than 3 nouns in a row. "The webhook retry queue consumer lag alert" makes the reader reverse-engineer the grammar. Unstack with prepositions: "the alert for consumer lag on the webhook retry queue". An established proper name may stay clustered — format it as a technical name.
Condition, context, and goal come before the action. Readers execute as they read. "If lag exceeds 1,000, restart the worker" — never the reverse. "In the deploy directory, run make plan" — location first. "To reset the cache, restart the worker" — goal first, so the reader who doesn't want that outcome skips the step. Same shape for references: "For more information, see the retry policy", not "See the retry policy for more information."
Known before new. Open a sentence with what the reader already has: the paragraph's subject or the last sentence's new term. End it on the new fact. A new term goes last in its sentence, and the next sentence starts from it: "Each request carries a trace ID. The trace ID links that request's logs across services." When the known item isn't the actor, pick a verb that makes it the subject, not a passive: "The trace ID comes from the gateway."
Headings. Sentence case, no trailing period. A task heading is a bare imperative: "Configure the worker" — never "Configuring the worker" or "Worker configuration". A concept heading is a noun phrase. Don't skip levels, don't leave a heading with nothing under it, and prefix optional sections with "Optional:".
Lists. Introduce every list with a complete sentence ending in a colon. In a reply, the answer sentence introduces any list; add no separate lead-in. Numbered means order matters; bulleted means it doesn't; term-plus-colon pairs for definitions ("--dry-run: prints the plan"). Sentences in items get periods, fragments get nothing — consistently. Say whether the list is complete ("the following 3 flags") or samples ("flags such as").
Name things; don't code them. Never coin letter-number codes such as C1, L1, or Z1 for the steps, risks, options, or claims in a plan or document. The reader must decode every code. To point back at an item, repeat its name. A real identifier the reader already uses, such as a ticket key, stays.
Lists hold parallel items, not the argument. Explain the approach, the reasons, and the tradeoffs in sentences. Use a list for discrete items, such as tasks to check off or flags to set. A plan written only as lists hides why each step exists.
Links. Link text names its destination — the target's title or a descriptive phrase with the important words first. Never "click here", "this doc", or a bare URL. The standing pattern: "For more information about retries, see Configuring retry policy." Say when a link downloads a file or leaves the doc set.
No directional language. "The preceding table", "the following command" — never "above", "below", or "the panel on the left". Layout reflows, screen readers linearize, and translations reorder.
The rules that come up in every artifact:
2026-08-17. No seasons — name the month or quarter.The full rules — punctuation, hyphenation, numbers, dates, capitalization, abbreviations, code in prose, placeholders, example data, UI wording — are in references/mechanics.md. Read it before writing documentation, a README, a runbook, or anything document-length.
State the consequence before the reader can act on the command — never after it, never in a trailing parenthesis.
Bad:
Run
terraform destroyto tear down the stack (note: this also deletes the database).
Good:
Warning: The next command permanently deletes the database, including its backups. There is no undo.
Run
terraform destroyto tear down the stack.
Three levels, by what's at stake: Note for useful asides the reader may skip, Caution for proceed-carefully, Warning for irreversible damage to data, security, or money. A notice is never a prerequisite, a step, or a cross-reference; those go in the body, before the step they govern. Never stack 2 notices, because the reader then can't tell which one matters.
UPPER_SNAKE_CASE: PROJECT_ID, REGION — never foo, xx, or MY_PROJECT. After a command with several, write "Replace the following:" and one bullet per placeholder, in order.[optional] or {a|b} syntax goes inside a copyable block.example.com, RFC 5737 IPs (192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24), phone numbers 800-555-01xx. Never real people, emails, or credentials.prod-orders-queue, not test1.Every artifact has a word or line budget — a hard cap, not a target. A number is enforceable where "be concise" is not. Count before you deliver; over budget means cut more, not apologize. One rare exception: when facts the reader must act on truly cannot fit, keep the facts and flag the overrun to the reader with its reason. A silent overrun is never an option. Budgets cut narrative, never caveats or risks — those change what the reader does, so they always fit.
| Artifact | Budget |
|---|---|
| Commit subject | 50 characters target; 72 hard max |
| Commit body | ≤ 10 lines |
| PR description | ≤ 10 lines beyond the template |
| Ticket or bug report body | ≤ 200 words |
| Code comment | 1 line by default; longer only to record a decision |
| PR review comment | 1 question or phrase; a second sentence only for the consequence |
| Slack message | ≤ 4 sentences; detail goes to the thread |
| Status update | ≤ 4 sentences |
| Answer to the user | 1-3 sentences or ≤ 5 bullets before any detail |
| Runbook intro | ≤ 3 sentences before the prerequisites |
Each guide's section list is closed: write the listed sections and no others. A new section earns its place only if the reader acts differently without it.
deploy directory run make check. The output ends with plugin OK."Git shows the subject line alone almost everywhere — git log --oneline, rebase, shortlog, GitHub — truncated if long, stripped of its body. Write the subject to stand alone; write the body for the reader who runs git show a year from now.
Subject:
type: imperative summary, lowercase after the prefix (feat, fix, chore, docs, refactor, test). Target 50 characters; never exceed 72. No trailing period.Body:
git log indents but never wraps.Keep the house shape — a 1-3 bullet summary plus a test plan — and write it in this style. Budget: 10 lines beyond the template.
Example bullet: "Retry token refresh once on 401, so clock skew no longer logs the user out."
The reader is the engineer who fixes it, not the one who found it. Body budget: 200 words. The sections, closed:
GET /orders 500s on an expired cursor", not "Investigate order API errors".The diagnosis narrative — verification runs, ruled-out hypotheses, measurements — goes in a ticket comment, never the body. The fixer reads the body; the curious read the comments.
The default is no comment. Code already says what it does; a comment earns its place only by carrying a fact the code cannot.
if flags.new_checkout: needs zero lines of comment — the flag name is the comment.TODO(#4821): remove after the flag ships.The author reads this in a queue of 20, on someone else's schedule. Two rules hold at once: keep the comment to a phrase or a sentence, and ask for the change instead of ordering it. You are proposing an edit to someone else's work, and the author knows things about the code that you don't.
Put the fix in a question the author can answer. "Can we await flushBuffer() here?" beats "Await flushBuffer()". This is the one place in this skill where a question beats a bare command. Drop the question and state the defect flat when it is mechanical and has one answer: "typo: recieve", "dead code — delete".
flushBuffer()?" asks; "I wonder if we might maybe want to look at the await here" hedges. Name the exact change or the exact missing case, then stop.issue (blocking): phrased as a question is still blocking.question and say what you saw: "What runs when refreshToken is expired? I see no branch for it."Before:
I noticed that in the
handleUploadfunction on line 42, the call toflushBuffer()is not being awaited. This is a common issue with async code — sinceflushBufferreturns a Promise, execution continues immediately without waiting for the flush to complete. This could potentially lead to a race condition where the response is sent before the data is fully written, which might cause intermittent data loss that would be hard to debug. It would probably be a good idea to add anawaithere.
After:
issue (blocking): Can we await
flushBuffer()here? The response can return before the write lands.
Every fact the author acts on survived. The Promise tutorial, the "hard to debug" aside, and the hedges did not. The consequence stayed because the question alone does not tell the author why the comment blocks the merge.
Bad: "Hey, so I was looking into the deploy thing from yesterday and there might be some issues with how the pipeline handles caching, happy to go into detail but wanted to flag it."
Good: "Found the deploy bug: the pipeline reuses the old build artifact because the cache key ignores the lockfile. The fix is one line, and I can ship it today unless anyone objects."
The reader is the person who asked. They have the code open and they know what they asked for. They may have seen none of your tool calls, tool output, or working notes, so the final message stands alone.
retry.ts:88 now backs off with jitter." No tour of the diff.file.ts:42; do not paste code the user already has. Paste only what they cannot see: an error string, a test failure, a command's real output.Bad: "Great question! I've gone ahead and made some updates to the retry logic. Let me walk you through what I did. First, I looked at the existing implementation…"
Bad: "retry path → jitter added → tests green. The 401-refresh thing from earlier is still open, see above."
Good: "retry.ts:88 now backs off with jitter. The fixed 200 ms backoff had every client retrying in lockstep after an outage. Tests pass; I didn't touch the circuit breaker."
When asked to simplify or clarify a text:
references/word-substitutions.md; for document-length text, read references/mechanics.md too.Document level first — these catch what sentence fixes cannot:
Then sentence and word level:
What SKILL.md sets; muted values are Claude Code's defaults
14 skills in this plugin
/adversarial-reviewTwo-family adversarial review of a plan or a diff — one fresh Claude subagent and one external run (GPT through Codex, or Grok through Cursor) on identical briefs, launched concurrently, then triaged into verified blockers, concerns, and rejected findings. Use before approving a plan, before shipping a change, or whenever a workflow asks for an adversarial review./claims-verificationCheck the factual claims a plan makes about existing code against the repo — extract atomic claims, have a fresh subagent answer neutral questions without seeing the plan, then score each claim. Use after a plan is drafted and before adversarial review, or whenever a workflow asks to verify a plan's claims./claude-subagentsDispatch planning, review, implementation, or a scoped question to a fresh Claude subagent with the Agent tool — which subagent type and model to pick, what the prompt must carry, and how to check what comes back. Use whenever a workflow hands work to a Claude subagent, including the Claude half of adversarial-review./codex-image-generatorDefault image generation path. Generate or edit raster images (hero images, illustrations, textures, product shots, mockups, transparent cutouts) through the Codex CLI's built-in image_gen tool, run in a subagent. Use whenever the user asks for an image, picture, illustration, or visual asset and does not name a provider. Not for SVG, icons, or diagrams that belong in code./deslopClean up AI slop in existing code — measure complexity with real tools, delete dead and redundant code, refactor the worst hotspots first, and prove behavior is unchanged. Use when the user asks to clean up slop, deslop, reduce complexity, untangle spaghetti, simplify a god function, or make AI-generated code maintainable. Not a review skill — extreme-code-quality-review covers review; this one changes the code./external-subagentsRun a planning, research, review, or implementation task on a second model family as a background subagent that cannot hang the session — GPT through the Codex CLI, or the newest Grok through the Cursor CLI where Codex is missing. A wrapper kills stalled runs and salvages partial output. Use whenever a workflow sends work to Codex, Cursor, GPT, Grok, a second model, or a non-Claude subagent, including the external half of adversarial-review. Not for images.npx claudepluginhub stevenmays/dotfiles --plugin maysOther plugins' skills for the same job