Prose style
The layout keeps claims in the right place. A house prose style keeps them readable once they're there. Two readers matter: a contributor skimming for the answer, and a model that retrieves one section and repeats what it says. Both are served by the same rules. Put the point first, write in specific terms, and make sure every present-tense sentence is true of the code.
The starter kit ships the style below as starter/docs/prose-style.md. Copy it, adjust it to taste, and point CLAUDE.md at it so Claude reads it before writing docs. The CLAUDE.md snippet already does that.
House style for this project's prose docs: the architecture reference, decision records, plans, and guides. It covers how sentences read. How docs are structured (the reference / decision / spike split, the three kinds of claim, stable-ID cross-links) lives in docs/architecture/decisions/README.md; this page is only about the writing.
Voice
Be direct and have opinions. State the point first, then support it. Use specific names and numbers, not vague claims (BATCH_SIZE = 1024, not "a fixed batch size"). Trust the reader to see what matters without labels like "significant" or "important".
Write to be understood by a non-native speaker and by a model reading a single retrieved section. Keep each section self-contained and restate its subject rather than leaning on "as described above".
Claims track the code
A present-tense sentence in a reference doc is a verifiable claim about the code. Check it before writing it, and keep it current when the code moves. Rationale is past-tense and lives in decision records, which don't get rewritten when the code changes. That split is the point of the layout.
Sentences
- Use contractions: "it's", "don't", "won't".
- Vary sentence and paragraph length. Don't write uniform blocks.
- Avoid mid-sentence interjections. Don't bracket a qualifier inside a sentence with paired dashes or parentheses. Promote it to its own sentence or move it to the end. Write "Only X-capable partitions run the X-aware kernel. After reset, under 5% are X-capable." Not "partitions — typically under 5% after reset — run the kernel".
- A single dash introducing an appositive or definition is fine: "a hierarchical binary tree — the boomerang". Keep it at the end of a clause, not the middle of one.
Lists
Bold-term definition lists suit a genuine enumeration where the reader should weigh each item:
- Parser reads structural Verilog into a flat netlist.
- Mapper rewrites logic to one uniform node type.
Use them when the terms are the subject. Don't use them to avoid writing a paragraph, and don't pad a two-item list into bullets.
Banned words and tics
These are the most flagged AI-writing markers. Don't use them:
delve, dive into, navigate (figurative), underscore, bolster, foster, harness (figurative), leverage, unpack (figurative), shed light on, pave the way, pivotal, groundbreaking, cutting-edge, transformative, game-changing, seamless, intricate, multifaceted, holistic, testament, landscape (figurative), realm.
And these structures, which mimic insight without providing it:
- "It's not just X — it's Y" / "Not only X, but Y"
- "This isn't about X. It's about Y."
- "It's important / worth noting that…", "At its core…", "When it comes to…"
- Opening with a sweeping statement about the field, or closing with an inspirational wrap-up. Start and end on substance.
Before committing a doc
- Read it aloud. Does a sentence sound like a press release or a marketing page? Rewrite it.
- Are you saying the same thing twice in different words? Say it once.
- Is every present-tense claim true of the code as it stands today?
- Does
uv run docs/scripts/doctool.py lintpass?