CryptoHelvetia Logo
Torna alla raccolta

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.

Code Optimization

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

KindSignalsDestination
Visionwhat the repo is, who it serves, the problem it solves, the long-term direction stated as a goal without a dateREADME
Principleschoices that shape every change, and non-goals the project refuses to becomeREADME
Map and runmain stack, key folders, the commands to install, develop, test and deploy, links to the live site and docsREADME, 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 versionthe project's task file (tasks/todo.md, TODO.md or the issue tracker the repo already uses)
Agent rulesinstructions addressed to agents, procedures for one client or toolAGENTS.md, or CLAUDE.md when the repo has only that
Deep docsschemas, data flows, API details, architecture longer than a screendocs/<topic>.md, linked from the README
Boilerplategenerator text that describes the framework template rather than this projectremoved
Historydated accounts of past changesremoved, 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

  1. Read the repo. Read the README, AGENTS.md or CLAUDE.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.
  2. 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.
  3. 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.
  4. 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.
  5. Write the README in the language the repo already uses for its documentation, in this order:
  6. # Name and one line on what the repo is
  7. Vision: the problem, who it serves, the long-term direction
  8. Principles and non-goals, when the project has them
  9. Status: one line, with a link to the task file
  10. Stack and map: main technologies and key folders
  11. Run: install, develop, test and deploy commands
  12. 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.

  1. Move the rest. Add backlog to the task file, one task per line in the author's words; in tasks/todo.md it goes under ## Implementation Ideas unless the user has confirmed it. Merge agent rules into AGENTS.md next to the rules they belong with, keeping one copy of each meaning. Move deep docs to docs/ 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.
  2. 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.
@cryptohelvetia@CryptoHelvetiaLabs
CBDCs are not Superfoods
Community Banks are not Pepsi