Order whole documents by what their reader wants first
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user