Skip to content

Writing style

Documentation is written like a technical person wrote it, not like an AI chat response got pasted into a markdown file. This matters for its own sake, and it matters more here specifically because documentation-standard.md requires disclosing LLM involvement. A reader who’s told the project used AI assistance and then reads prose full of AI writing tics will trust the disclosure less, not more, because the writing itself will look unreviewed.

Use a comma, a period, a colon, or parentheses instead. An em dash is almost always standing in for one of those, and picking the right one is part of writing the sentence, not a cosmetic swap.

Before: “The reconciler applies state on a schedule — nobody runs it by hand.”

After: “The reconciler applies state on a schedule. Nobody runs it by hand.”

The rule is about prose people read: user documentation, READMEs, and comments. It is not a rule about code. A string literal, a regular expression, a data or config file, a test fixture, generated output and vendored files are all left alone, and a program that has to match or print a dash legitimately contains one (this repo’s own scanner matches the byte). Nothing here should ever be a reason to change how code behaves, or to edit a line of code to satisfy a style check.

For documentation it is a hard rule, not a preference, because it’s mechanically checkable. The check looks at Markdown only:

Terminal window
grep -rn --include='*.md' "$(printf '\xe2\x80\x94')" README.md AGENTS.md docs/

Run that before a commit that touches documentation. It should return nothing. The command builds the dash with printf instead of typing it, so the file that holds the command (usually AGENTS.md) does not contain the character it forbids and pass its own check. It also works in macOS’s bash 3.2.

Comments follow the same style, but the audit does not check them: telling a comment from code takes a parser for every language, and a pattern that guesses would sooner or later flag real code. A reviewer catches the dash in a comment, the same way they catch any other lapse in how it is written.

The other tell, and the one people notice even when the em dashes are gone: compressing an explanation into clipped fragments strung together with semicolons and colon-labels, as if writing were billed by the character.

Before:

Scaffold. Every adapter action returns Error::NotImplemented; the shape is real, the behaviour isn’t. Next: make HID real against a live NanoKVM/PiKVM.

After:

This is a scaffold. Every adapter action currently returns Error::NotImplemented, so the interface shape is real but none of the behaviour is implemented yet. The next step is making HID actually work against a live NanoKVM or PiKVM.

Same information, and it isn’t longer by much. The difference is that the second version has subjects and connectives (this, so, the next step is) instead of dropping them to sound efficient. Specific patterns to catch:

  • A one- or two-word sentence used as a label, like “Scaffold.” or “Status:” standing alone. Fold it into the sentence that follows.
  • A semicolon splicing two independent clauses with no connective word. If “so,” “because,” or “but” belongs between them, put it there instead of a semicolon.
  • “Next:” or “TODO:” as a colon-label rather than a sentence opener. Write “the next step is” or “still to do:” as part of a real sentence, or use an actual list if there’s more than one item.

This shows up most in status notes (STATE.md, PR descriptions, commit bodies) because that’s where people reach for shorthand under the belief that terse reads as more technical. It doesn’t. A person who actually knows the system writes status updates in real sentences; the clipped notation style is what shows up when the writing wasn’t reviewed.

None of these make a sentence wrong. They make it read like it was generated rather than written, which undercuts the disclosure this standard asks for.

  • The “it’s not just X, it’s Y” construction. Say what it is. If the contrast matters, state both sides plainly and move on.
  • Rule-of-three lists used as a rhetorical device, especially when the three items are near-synonyms padded out to sound thorough. Use a list when there are actually three things, not when one point wants extra weight.
  • Throat-clearing openers: “It’s worth noting that,” “It’s important to understand,” “Let’s dive into.” Just say the thing.
  • Hedge-then-assert pairs: “While X has some merit, ultimately Y.” State the position.
  • Overuse of bold for emphasis rather than for the one load-bearing sentence. If every other line is bold, none of them are.
  • Words that showed up in every AI-generated document in 2024 and 2025: delve, leverage (as a verb), robust, seamless, holistic, furthermore, moreover, in today’s fast-paced, unlock, elevate, foster, tapestry. None of these are banned outright. All of them are worth a second look when they appear.
  • Excessive scare quotes or italics for words that don’t need them.

A useful test: read the sentence aloud. If nobody talks like that, rewrite it. Technical writing can still sound like a person who knows the subject explaining it to someone who doesn’t, rather than a document performing authority.

Contractions are fine. Starting a sentence with “and” or “but” is fine. Varying sentence length is good; a paragraph of uniform medium-length sentences is itself a tell.

grep -rn "—" is part of what a review checks before merging documentation. The rest of this file is judgment, not a linter, but the same review pass applies it: if a paragraph reads like it wasn’t reviewed by a person, it gets rewritten until it does.