diff --git a/CLAUDE.md b/CLAUDE.md index 4f961a57..b7cbed9f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -5,7 +5,7 @@ Everything written — chat, commit messages, comments, docs, code — is in **English** and meets four priorities, in this order. When two pull against each other, the higher one wins. 1. **Easy to understand.** A reader with little time and no context gets it on one read. Write whole sentences: a subject, a verb, at most one condition. Explain a term before using it, or use a plainer word. Never fold a clause into a noun phrase to save words. BANNED: `An empty earliest unreleased release with nothing shipped toward it is planned as this chunk`. GOOD: `When the next release has no items and no work done towards it, plan it.` -2. **Most important first** — in every file, section, list and sentence. The point comes first; detail and reasons follow. +2. **Most important first**, judged by what this document's reader wants to know first. The most important topic comes first, then the most important paragraph within each topic, then the most important item within each list. The longer the document, the more this matters. 3. **Default to delete.** Keep a sentence only if a reader needs it and the code, the README or another rule does not already say it. Adding words is a deliberate act: name what a reader could not understand without them. 4. **Short.** Cut whatever does not clearly help 1–3. Shortening never breaks 1. diff --git a/agents/prose-reviewer.md b/agents/prose-reviewer.md index a51dbed9..ccd41a9a 100644 --- a/agents/prose-reviewer.md +++ b/agents/prose-reviewer.md @@ -13,7 +13,7 @@ The bar: `~/.claude/CLAUDE.md` → "Prose" and "Comments and documentation". Rea Run them in this order. A fix for a later check never breaks an earlier one. 1. **Easy to understand.** Read each sentence once, cold. A sentence you had to reread, a term used before it is explained, or an "it" or "them" that could point at two things is a finding. Fix: **Rewrite**, giving the plain sentence. -2. **Most important first.** The first line of each file, section and list carries its main point. If not, fix: **Reorder**, naming what goes first. A section so long that a reader has to search it gets sub-headings or an index. Fix: **Split**. +2. **Most important first.** Name the document's reader and what they want to know first. Check that the topics run in that order, then the paragraphs within each topic, then the items within each list. If not, fix: **Reorder**, naming the new order. A section so long that a reader has to search it gets sub-headings or an index. Fix: **Split**. 3. **Needed.** Fix: **Delete** what the code, a type, a test name, the README or another rule already says. Fix: **Move** a decision to `docs/decisions.md` with its index line in `AGENTS.md`, and a goal to the README. A pointer standing where a definition belongs ("A pointer is not a definition") gets the fix **Move back**: inline the definition, and leave the reasoning where it is. 4. **Short.** Cut what does not clearly help 1–3.