agentleFS
Amritesh-878Amritesh-878/Cerberus/.claude/skills/writing-voice/SKILL.md

writing-voice

Skill10 starsChanged 42 days agoMITView on GitHub

Use this when writing or reviewing any prose in a repo - reference docs, conceptual guides, READMEs, code comments, commit messages, or PR descriptions. Defines a precise, anti-marketing voice - a ban-list of hype words (powers, seamless, loudly, robust, leverage, easy, ...), an anthropomorphism verb-swap, before/after rewrites, worked comment and commit examples, and a one-line test for whether a sentence states a behavior or just sells one.

13 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use humanizer.

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.
  • Microsoft AzureSkill

    humanizer

    Tone enforcement patterns for external-facing community responses

    Also in 4 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

20 rules. 0 are common, 2 are distinctive, and 18 are very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 18

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    BEFORE: "The same base URL POWERS every request, interceptor, and retry helper." AFTER: "The client reads baseURL once at construction.

    line 117
  2. Very specific:

    AFTER: "The client reads baseURL once at construction.

    line 118
  3. Very specific:

    BEFORE: "A default header does MORE THAN set a value." AFTER: "A default header is sent on every request unless the per-call headers option …

    line 119
  4. Very specific:

    AFTER: "A default header is sent on every request unless the per-call headers option overrides that key." (Stripe)

    line 120
  5. Very specific:

    BEFORE: "retries failed requests WITHOUT ANY MANUAL WIRING." AFTER: "The client retries on 429 and 503 up to retries times with exponential …

    line 121
  6. Very specific:

    AFTER: "The client retries on 429 and 503 up to retries times with exponential backoff.

    line 122
  7. Very specific:

    BEFORE: "the client seamlessly handles JSON out of the box." AFTER: "If the response Content-Type is application/json, the client parses …

    line 123
  8. Very specific:

    AFTER: "If the response Content-Type is application/json, the client parses the body and returns the parsed value.

    line 124
  9. Distinctive:

    BEFORE: "Our powerful interceptor layer ensures your requests are always robust." AFTER: "If a request interceptor throws, the request is …

    line 125
  10. Distinctive:

    AFTER: "If a request interceptor throws, the request is never sent and the error propagates to the caller." (Prisma)

    line 126
  11. Very specific:

    BEFORE: "The @retry decorator empowers you to effortlessly add resilience to any method." AFTER: "Annotate a method with @retry(3) to …

    line 127
  12. Very specific:

    AFTER: "Annotate a method with @retry(3) to re-invoke it up to three times on a thrown error.

    line 128
  13. Very specific:

    BEFORE: "Under the hood, the client leverages a smart pool to unlock connection reuse." AFTER: "The client keeps up to maxSockets open …

    line 129
  14. Very specific:

    AFTER: "The client keeps up to maxSockets open connections per host and reuses them across requests." (Vue)

    line 130
  15. Very specific:

    BEFORE: "Helper methods like client.json() give you a first-class, blazing-fast developer experience." AFTER: "client.json(url) is …

    line 131
  16. Very specific:

    AFTER: "client.json(url) is shorthand for client.get(url) followed by .json() on the response.

    line 132
  17. Very specific:

    BEFORE: "the client simply works with your existing setup, just drop it in." AFTER: "The client reads proxy settings from HTTP_PROXY and …

    line 133
  18. Very specific:

    AFTER: "The client reads proxy settings from HTTP_PROXY and NO_PROXY, so it respects the same environment your shell already uses." (Prisma)

    line 134
  19. Very specific:

    BEFORE: "A rich set of built-in adapters lets you handle any transport with ease." AFTER: "The client ships adapters for fetch, …

    line 135
  20. Very specific:

    AFTER: "The client ships adapters for fetch, XMLHttpRequest, and Node's http/https.

    line 136

“Common” is measured: kept by at least 6 in 10 of the 12 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

Writing Voice

A house style for technical prose: word-choice rules, before/after rewrites, and reference examples cited to source. The same rules apply to a field description, a // comment, and a commit body.

Where this applies: reference docs, conceptual guides, READMEs, code comments, commit messages, and PR descriptions. A commit body that says "massively improves performance" fails the same test as a doc that says "blazing-fast": give the number or name the mechanism.

Reference voices to model: Stripe (field descriptions), esbuild (imperative how-to), Prisma (behavioral facts). For conceptual prose, React (react.dev) and Tailwind are warmer but stay factual. Drizzle and Astro show the voice to avoid: "a good friend", "magic", personality in place of fact.


1. Voice principles

  1. Address the reader as "you"; name the thing, never make it an actor with intent. Write what you do and what the value is, not what the library "powers" or "empowers." Stripe states facts about the object: "Whether the charge has been disputed."
  2. Lead with the reader's action or the plain fact, then the reason. esbuild: "Your build command is something you will be running repeatedly, so you will want to automate it." Action first, justification second.
  3. Active voice, present tense, indicative mood. Plain verbs for behavior: loads, reads, returns, fails, throws, matches. Vue: "Vue automatically detects the change and updates the DOM." Not "will detect", not "is detected by". No "leverages", "harnesses", "drives", "powers".
  4. State constraints and failure modes as bald facts. Prisma: "Be aware that this query will fail if the user has any related records." This is the biggest tell of good reference docs: they tell you what breaks, flatly.
  5. No anthropomorphizing. A library is not an agent: it does not "want", "know", "see", "try", "believe", or "power" anything. It specifies, detects, stores, reads, and throws. See the verb-swap below.
  6. One claim per sentence. Cut the intensifier. Stripe: "Three-letter ISO currency code, in lowercase. Must be a supported currency."
  7. Show the condition precisely instead of selling smoothness. Replace "without any manual wiring" with the rule: "on a 429 response, the client waits Retry-After seconds before the next attempt." Tailwind: "Notice how this class does nothing unless the element is hovered?"
  8. Reassurance is allowed, rarely, and only with a reason. React: "It takes a bit of practice for it to really stick!" Fine for a conceptual intro; never in API field descriptions.
  9. Prefer the concrete noun over the abstract benefit. Not "robust error handling" but "throws TimeoutError when no response arrives within timeout ms." Benefits are inferred from precise behavior, not asserted.
  10. Start each statement with a verb or its subject; cut "there is" / "there are" and throat-clearing openers. Microsoft: front-load the action so the sentence scans. Not "There is a timeout option that controls the deadline" but "The timeout option sets the deadline." Prefer a bare imperative over a weak "you can" opener where it reads cleaner: "Use retry() to..." over "You can use retry() to...".

Anthropomorphism: swap the human verb for the mechanical one

Google's rule: "Don't attribute human qualities to software or hardware." The fix is mechanical, replace the human verb with what the code actually does.

Human verbMechanical replacement
tells / letsspecifies
sees / watchesdetects
knows / remembersstores, reads, uses
wants / needsrequires
thinks / assumes / believesuses, treats as

"I think anthropomorphism is the worst of all. I have now seen programs 'trying to do things', 'wanting to do things', 'believing things to be true', 'knowing things' etc. Don't be so naive as to believe that this use of language is harmless." Dijkstra, EWD854.


2. Ban-list (word/construction → plain replacement)

This list is illustrative, not exhaustive. When a word isn't on it, apply the rule of thumb below and the one-line test at the end.

<!--prettier-ignore-start-->
BannedWhy it failsReplacement
powers ("X powers Y")anthropomorphizes; hides the mechanism"X sets Y" / "Y reads X" / state the relationship
drives / fuels / underpinssame"determines", "controls", "sets"
leveragecorporate for "use""use"
seamless / seamlesslyunfalsifiabledelete, or name the condition
effortless / effortlesslyhypedelete; show the one step it takes
loud / loudly / fails loudly / throws loudlyintensifier with no measurable meaning; dramatizes the failurename the mechanism: "throws X", "logs a warning", "exits non-zero"
easy / easily / simple / intuitive / funreader-relative; what's easy for you may not be for themdelete, or state the steps it takes
without any manual wiring / zero configsells absence of workstate what happens automatically
robustempty adjectivename the guarantee: "validates …", "throws on …"
performantvague performance claima precise figure: "p99 under 5 ms", "O(1) lookup"
harden / hardeningvague security verb, hides the changename the change: "make private", "remove the export", "block the write"
does more than Xtease, not informationjust state what it does
under the hoodfiller"internally", or delete
out of the boxfiller"by default"
first-classjargonname the support: "supports gzip and brotli directly"
simply / justminimizes reader effort, often wrongdelete
in order towordiness"to"
utilizepompous for "use""use"
please / please notefiller; never "please note"delete
allow / allows you tofeature-centric and wordy"lets you", or rewrite from the reader's side: "You can …"
enable (= make available)vague; reserve for feature flags and security"turn on"
unlock / enable you tohype"lets you" / "you can"
empower / supercharge / blazing-fast / lightningpure marketingdelete; if speed matters, give a number
powerful / flexible / elegantself-praiseshow the capability instead
notably / clearly / of course / actually / essentiallyeditorializing; tells the reader how to feeldelete
"some say" / "it is believed" / "research shows" (unattributed)weasel; implies a claim without making onename the source, or delete
handle / handling (vague)hides behaviorname the action: "parses", "coerces", "rejects"
rich set of / suite ofbrochure"a set of", or just list them
magic / magicalmystifies behaviorexplain the rule
reach for X (or variations of reach)folksy filler for "use""use X", or name the action
blast radiuswar metaphor for scope of impact; dramatizes itname what's affected: "every caller of parse()", "all rows in users"
lives in / lives onfolksy for where something is defined; anthropomorphizes a location"is defined in", "is set on", name the file or element
ownsanthropomorphizes; a module isn't an agent with propertyname the relationship: "defines", "sets", "is the only writer of"
<!--prettier-ignore-end-->

Rule of thumb: if an adjective can't be replaced by a measurable fact or a code reference, delete it.

Banned punctuation

The em-dash — and en-dash – are banned in prose outright, replace them with a hyphen, a comma, parentheses, or two sentences. The colon : and semicolon ; are banned only as a clause splice, where the mark joins two independent clauses into one sentence (the AI-prose tell, two thoughts packed behind a mark instead of ended with a period). A colon that introduces a list, a code block, an enumeration, or a short label (a two forms: lead-in, an npm: envapt label) is standard and clearer than a period there, so keep it and do not flatten it. A semicolon in running prose is almost always a splice, so avoid it, its one legitimate use is separating list items that already contain commas. This is a prose rule only. Code syntax that requires a colon or semicolon (type annotations, object keys, statement terminators) is exempt.

Replace a banned mark with punctuation that does the same grammatical job. A ;, —, or – between two complete clauses is holding two independent thoughts apart. A comma cannot join two independent clauses, so swapping one in makes a comma splice. Use a period and two sentences, or reword the sentence. Read the result back on its own.

// Bad: colon splice + semicolon splice
// turn the value into its slot: out of range would corrupt neighbours; check first.
// Good: one fact, plain comma
// out of range would carry into the neighbouring field on decode.

Do not reflexively replace a ; or : with ", so". A semicolon often just sets two related facts side by side, and ", so" asserts a cause the original never claimed. It reads wrong when the real link is a design choice or a plain sequence, and stacking two "so"s in one sentence is a tell. Use ", so" only when the second clause genuinely results from the first. Otherwise use a period, or ", and" for a neutral join.

  • BAD, invented cause: "meaningless without a filesystem, so it throws" (the throw is a design choice, and ", so" overstates it as a consequence).
  • GOOD: "meaningless without a filesystem, and it throws instead of ignoring it".
  • BAD, stacked "so": "binds a source per file, so restore it after any swap so later tests see a clean default".
  • GOOD: "binds a source per file. Tests here swap it, so restore it afterward for a clean default."

3. BEFORE → AFTER rewrites

The running example is a generic HTTP client. Substitute your own domain; the transformation is the point.

  1. BEFORE: "The same base URL POWERS every request, interceptor, and retry helper." AFTER: "The client reads baseURL once at construction. Every request method prepends it; pass the url option to override it per call." (Prisma)
  2. BEFORE: "A default header does MORE THAN set a value." AFTER: "A default header is sent on every request unless the per-call headers option overrides that key." (Stripe)
  3. BEFORE: "retries failed requests WITHOUT ANY MANUAL WIRING." AFTER: "The client retries on 429 and 503 up to retries times with exponential backoff. Other status codes are returned as-is." (esbuild)
  4. BEFORE: "the client seamlessly handles JSON out of the box." AFTER: "If the response Content-Type is application/json, the client parses the body and returns the parsed value. Otherwise it returns the raw text." (Vue)
  5. BEFORE: "Our powerful interceptor layer ensures your requests are always robust." AFTER: "If a request interceptor throws, the request is never sent and the error propagates to the caller." (Prisma)
  6. BEFORE: "The @retry decorator empowers you to effortlessly add resilience to any method." AFTER: "Annotate a method with @retry(3) to re-invoke it up to three times on a thrown error. It re-throws the last error if every attempt fails." (esbuild)
  7. BEFORE: "Under the hood, the client leverages a smart pool to unlock connection reuse." AFTER: "The client keeps up to maxSockets open connections per host and reuses them across requests." (Vue)
  8. BEFORE: "Helper methods like client.json() give you a first-class, blazing-fast developer experience." AFTER: "client.json(url) is shorthand for client.get(url) followed by .json() on the response. It returns the parsed body." (Stripe)
  9. BEFORE: "the client simply works with your existing setup, just drop it in." AFTER: "The client reads proxy settings from HTTP_PROXY and NO_PROXY, so it respects the same environment your shell already uses." (Prisma)
  10. BEFORE: "A rich set of built-in adapters lets you handle any transport with ease." AFTER: "The client ships adapters for fetch, XMLHttpRequest, and Node's http/https. You can register your own adapter." (esbuild/Stripe)

4. Comments follow the same voice

A code comment is prose; every rule above applies to it. The most common comment-voice failure is the intensifier dressed up as information: loudly, aggressively, properly. State the mechanism instead.

// Bad: intensifier + dramatized failure
// Validate the payload and fail loudly so callers notice.
// Good: name what is thrown and who catches it
// Throws `ValidationError` on the first invalid field; the route handler catches it.
// Bad: "powers" hides the mechanism
// This flag powers the entire retry subsystem.
// Good: state the effect
// When false, `request()` skips the retry loop and returns the first response.
// Bad: anthropomorphized ("wants")
// The parser wants a trailing newline here.
// Good: state the requirement
// The parser requires a trailing newline to terminate the last record.
// Bad: "loudly" + "magic"
// Logs loudly when the cache magically warms itself.
// Good
// Logs a warning via `logger.warn` on the first miss after a cold start.

This skill governs how a comment reads once you've decided to write it. For whether a comment is warranted at all (density, placement, when it's noise), see the code-commenting-guidelines skill. The two compose: that one decides if, this one decides how.


5. Commit and PR voice

A PR description is prose: the full ban-list and every principle above apply, no hype, no narrating the diff. Commit subjects add one rule on top: imperative mood.

  • The test (cbeams): a subject must complete the sentence "If applied, this commit will ___." "Add", "Fix", "Drop", "Rename" pass; "Added", "Fixes", "Changing", and noun phrases like "Sweet new API methods" fail.
  • The Conventional Commits type prefix is orthogonal to mood. feat: add retry backoff, not feat: adds retry backoff and not feat: blazing-fast retries.
  • Bodies state what changed and why, plainly. The reasons, the old behavior and what was wrong with it, the new behavior. The diff already shows the how.

Bad → good subjects:

  • "Fixed bug with retries" → "Fix retry loop hang on an empty 503 body"
  • "Massive perf win on the hot path" → "Cache compiled regexes to avoid recompiling per call"
  • "Sweet new API methods" → "Add list and get methods to the Widgets API"
  • "Changing behavior of parse()" → "Make parse() reject negative offsets"

6. Verbatim target-voice sentences (tuning forks)

Docs and API prose

  1. Stripe, flat field fact: "If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured." https://docs.stripe.com/api/charges/object
  2. Prisma, failure as a bald fact: "Be aware that this query will fail if the user has any related records (such as posts)." https://www.prisma.io/docs/orm/prisma-client/queries/crud
  3. esbuild, imperative how-to with the exact constraint: "If you are bundling code that will be run in node, you should configure the platform setting by passing --platform=node to esbuild." https://esbuild.github.io/getting-started/
  4. Tailwind, names the precise condition: "Notice how this class does nothing unless the element is hovered?" https://tailwindcss.com/docs/styling-with-utility-classes
  5. Vue, present-tense mechanism: "When you use a ref in a template, and change the ref's value later, Vue automatically detects the change and updates the DOM accordingly." https://vuejs.org/guide/essentials/reactivity-fundamentals.html

Comments and commits

  1. Clean Code (Martin), on redundant comments: "Redundant comments are just places to collect lies and misinformation." https://www.goodreads.com/quotes/909630-redundant-comments-are-just-places-to-collect-lies-and-misinformation
  2. Google Python style guide, on what a comment is for: "never describe the code. Assume the person reading the code knows the language (though not what you're trying to do) better than you do." https://google.github.io/styleguide/pyguide.html
  3. cbeams, on commit subjects: "A properly formed Git commit subject line should always be able to complete the following sentence: If applied, this commit will your subject line here." https://cbea.ms/git-commit/

One-line test for any sentence

Can a reader predict the exact behavior from this sentence, or are they just being told it's good? If the latter, rewrite it as a fact, a step, or a failure mode. A sharper variant for the subtle cases: does the word only create an impression that something was said (weasel, puffery), or does it assign a human act to code (anthropomorphism)? If so, cut it.

Sources: Tailwind, React, Vite, Prisma, esbuild, Stripe, Vue (voice models); the Google, GitLab, and Microsoft developer style guides and Wikipedia "Words to watch" (word bans); Google's anthropomorphism page and Dijkstra's EWD854 (anthropomorphism); Clean Code, the Google Python style guide, and the cbeams / Angular commit conventions (comments and commits). Drizzle and Astro rejected as too marketing-voiced.

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.