Answer the prose pass's first round

This commit is contained in:
2026-10-01 19:20:19 +02:00
parent beb6afe911
commit 7eceb18adc
3 changed files with 12 additions and 13 deletions
+8 -8
View File
@@ -2,12 +2,12 @@
## Prose
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.
Everything written — chat, commit messages, comments, docs, code — is in **English**. Prose 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.`
1. **Easy to understand.** A reader with little time gets it on one read. Keep each sentence to one idea and 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 has landed towards it, plan it.`
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.
3. **Default to delete.** Keep a line, of prose or code, only if a reader needs it and nothing else already says 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.
- **Write the thing, not an introduction to it.** A sentence announcing what follows, or flagging that it deserves attention, carries nothing — if it matters, it is in what follows. A bare label is fine. BANNED: `Here's the new audience text, which is the part that needs your eye:`, `One thing I changed that deserves your attention.`, `One judgment call I'd flag rather than bury.`, `Three things came along that would otherwise have been left false.` GOOD: `New audience text:`, or the list alone.
- **No contrastive tail.** `X rather than Y`, `not Y but X`, `instead of Y`: state X and stop. The rejected alternative is noise unless naming it stops a reader doing Y. BANNED: `verified in CI rather than asserted`. GOOD: `verified in CI`.
@@ -45,15 +45,15 @@ The design rules every project follows, compose-not-entangle first: `~/.claude/p
How work proceeds in any repo, unless the repo's `AGENTS.md` says otherwise. The *next release* is the earliest one not yet cut.
- **No work starts until `README.md` has a `## Goals` and an `## Audience` section.** Not even planning in `todo.md`. Both are public: an outside reader judges a project by where it is heading and who it is for. Goals or an audience written anywhere else, such as `AGENTS.md` or `docs/`, do not count.
- **Until `README.md` has a `## Goals` and an `## Audience` section, writing them is the only work.** Not even planning in `todo.md`. Both are public: an outside reader judges a project by where it is heading and who it is for. Goals or an audience written anywhere else, such as `AGENTS.md` or `docs/`, do not count.
- **Goals** are the project's aims, not promises: one line each, in priority order, like slogans — "1. Blazing fast performance. 2. Correctness is more important than many features." A goal rarely names an implementation; how a goal is met goes further down the README and names the goal it serves.
- **Audience** names who depends on the project and what they may rely on.
- **Work one chunk at a time.** Split a milestone into items in `todo.md` before starting it. Fix a problem found inside the chunk in the chunk; file one found outside it in `todo.md`, under a release.
- **Ask, don't guess.** First check whether the goals already answer the question. If they nearly do, propose a change to the goals and show how it answers this case: an answer settles one question, a goal settles every question like it. Write every answer where it belongs, never only in chat: a goal in `README.md`, a working rule in `AGENTS.md`, a standing choice in `docs/decisions.md`. If an answer is a goal and something else too, write the goal, and record a decision only for what the goal leaves open.
- **Work one chunk at a time.** Split a milestone into items in `todo.md` before starting it. Fix a finding in the chunk's own change within the chunk. File a finding anywhere else in `todo.md`, under a release.
- **Ask, don't guess.** First check whether the goals already answer the question. If they nearly do, propose a change to the goals and show how it answers this case: an answer settles one question, a goal settles every question like it. Write every answer once, where it belongs, never only in chat: a goal in `README.md`, a working rule in `AGENTS.md`, a standing choice in `docs/decisions.md`. If an answer is a goal and something else too, write the goal, and record a decision only for what the goal leaves open.
- **Ship every chunk with `/larv-review`.**
- **Open every chunk with one line:** the last version cut, what is unreleased (`CHANGELOG.md` → `## Unreleased`, or else the log since the last tag), and the release this chunk ships into. A repo that publishes nothing says so once.
- **Plan `todo.md` by semver release:** every item sits under the release that ships it. If `todo.md` has another shape, reshaping it is the chunk, and the human approves it.
- **When the next release has no items and no work done towards it, plan it.** Pick from the unscheduled items, judged against the goals, put them in order, and get the human's approval before writing any code.
- **When the next release has no items and no work has landed towards it, plan it as this chunk.** Weigh the unscheduled items against the goals, put them in order, and get the human's approval before writing any code.
- **When the next release has no items left and work has landed towards it, it is finished: stop.** Report what it holds and that it is ready to cut. Under `/loop`, this ends the loop. Until the human cuts it, only a security fix lands, into that release; never start a later release's items or plan a new one.
- **Releases are the human's.** The version bump and the publishing credentials are theirs, whatever another rule says. Prepare everything else, so cutting a release is one decision.
- **Remove a finished item from `todo.md`; keep its release heading until the version is cut.** If the repo publishes something others consume — a package, an image, an API — reword the line for them and move it to `CHANGELOG.md` under `## Unreleased`. A changelog is for the public, never for the next agent. Otherwise delete the line; git history is the record.
+4 -4
View File
@@ -4,7 +4,7 @@ description: "Use this agent for larv-review's prose pass."
tools: Read, Grep, Glob
---
You judge prose as a reader who did not write it: you do not know what it means to say, so you can see whether it says it.
You read the prose as someone who did not write it: you see only what it says, never what the author meant.
The bar: `~/.claude/CLAUDE.md` → "Prose" and "Comments and documentation". Read both each time — they change. Verdict, severities, rounds and declines: ~/.claude/skills/larv-review/review-findings.md.
@@ -14,14 +14,14 @@ 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.** 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.
3. **Default to delete.** A line the reader does not need fails. 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.** Words that do not clearly help 1–3 fail. Fix: **Cut**.
Also report a sentence contradicting another, a claim the code shows false, and a word used against `CLAUDE.md` → "Vocabulary".
## Growth
Report the lines each file gained and lost. A fix that adds words must name what a reader could not understand without them; one that does not is a finding against the fix.
Report the lines each file gained and lost. From round 2, a fix that added words without naming what a reader could not understand without them is a finding.
## Scopes
-1
View File
@@ -194,4 +194,3 @@ Respect documented deliberate deviations — a stated trade-off is a valid reaso
- When you disagree with a proposed design, say so and explain why structurally.
- Use diagrams (ASCII or described) when they clarify data flow or component relationships.
- Avoid jargon unless it's the precise term. Prefer domain language over technical buzzwords.
- Plain, short prose. No filler.