Clear vision README
Rewrites a repo's README around its long-term vision and moves backlog, agent rules and deep docs to their own files. Use when a README is long, stale or vague, or when a repo needs its first README.
The principle
A README tells a newcomer, human or agent, what the repo is for and where it is going. That is its vision, and every other section serves it: the map, the commands and the links help the reader act on it.
The test for each line: will this line turn false, or be deleted, once someone does the work? If it will, the line is backlog and belongs in the task file. The vision stays true while the backlog changes around it.
Where each kind of content goes
| Kind | Signals | Destination |
|---|---|---|
| Vision | what the repo is, who it serves, the problem it solves, the long-term direction stated as a goal without a date | README |
| Principles | choices that shape every change, and non-goals the project refuses to become | README |
| Map and run | main stack, key folders, the commands to install, develop, test and deploy, links to the live site and docs | README, pointing to the manifest scripts rather than copying every one |
| Backlog | "not yet", "next steps", "we will", dates and deadlines, checkboxes, lists of what works and what is missing, placeholders flagged as temporary, known bugs, brainstorms for a next version | the project's task file (tasks/todo.md, TODO.md or the issue tracker the repo already uses) |
| Agent rules | instructions addressed to agents, procedures for one client or tool | AGENTS.md, or CLAUDE.md when the repo has only that |
| Deep docs | schemas, data flows, API details, architecture longer than a screen | docs/<topic>.md, linked from the README |
| Boilerplate | generator text that describes the framework template rather than this project | removed |
| History | dated accounts of past changes | removed, since git keeps them, or CHANGELOG.md when the repo keeps one |
A long-term goal and a backlog item can name the same thing. "Trade on several venues through one interface" is vision; "add venue X next" is backlog.
Steps
- Read the repo. Read the README,
AGENTS.mdorCLAUDE.md, the package manifest, the top-level folders, the task file and the live site when there is one. Done when you can name what the repo builds and for whom, or know that the material does not say. - Sort. Assign every section of the README, and every line in mixed sections, to one row of the table. Done when each block has exactly one destination.
- Find the vision. When the README already states the purpose and the long-term direction clearly, keep the author's words. Otherwise draft two or three candidate visions of two to four sentences each from the code, the site and the task file, and ask the user to pick or edit one in an interactive question widget, or in chat when none is available. The vision in the README is always one the user wrote or chose.
- Show the plan. Present the sorting (block, destination, one-line reason) and the new README draft. When the repo has no task file, the plan asks where backlog goes. Write files after the user's OK.
- Write the README in the language the repo already uses for its documentation, in this order:
# Nameand one line on what the repo is- Vision: the problem, who it serves, the long-term direction
- Principles and non-goals, when the project has them
- Status: one line, with a link to the task file
- Stack and map: main technologies and key folders
- Run: install, develop, test and deploy commands
- Links: live site, docs,
AGENTS.md
Keep the author's wording wherever it is accurate, and aim for 80 lines or fewer. A section with no material is left out. Done when the README holds only vision, principles, map, run and links.
- Move the rest. Add backlog to the task file, one task per line in the author's words; in
tasks/todo.mdit goes under## Implementation Ideasunless the user has confirmed it. Merge agent rules intoAGENTS.mdnext to the rules they belong with, keeping one copy of each meaning. Move deep docs todocs/and link them from the README. Done when every block that left the README sits in its destination or appears in the report as removed. - Check. Every path and link in the new README resolves, and every command it names exists in the manifest scripts or the repo's tooling. Done when the files are written, these checks pass, and your report lists each moved block with its destination and each removed block with the reason.