Repository navigation
docs: split CLAUDE.md into a short index and one file per rule - #325
Merged
Merged
Conversation
…before closing CLAUDE.md asked every session to read SPEC.md, DESIGN.md and TESTING.md in full (about 520 KB), which filled much of the context before any work. - Read first: headings only, then the sections the issue names. - Rule 2: one group of issues per session; state is written to issues. - Rule 4: a subagent checks each item of the definition of done before an issue is closed. - Rule 5: issues carry a '## Read' list. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ryb4bKp5meYCqrb5rfy3dB
CLAUDE.md keeps what always holds (the principles by name, what is always asked, the conventions) and a table saying which file under docs/rules/ is read before which kind of work. Rules 1 to 5 and the principles are moved as they were on main, with their numbers kept; the three additions of this branch are gathered in a new rule 6, 'How a session goes', instead of being spread over rules 2 and 4. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ryb4bKp5meYCqrb5rfy3dB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
CLAUDE.mdasked every session to readdocs/SPEC.md,docs/DESIGN.mdanddocs/TESTING.mdin full: about 520 KB together, which fills a large part of the context before any work starts. Long sessions that cover a whole milestone are then summarised several times, and items of an issue's definition of done get lost.CLAUDE.mditself also held every rule in one long file.What changes (documentation only)
CLAUDE.mdis now a short index (about 3 KB, from 14 KB): the nine principles by name, what is always asked, the conventions, and a table saying which file underdocs/rules/is read before which kind of work.docs/rules/principles.mdand1-…to5-…: the principles and rules 1 to 5, moved with the text they have onmainand their numbers kept, so "rule 2" and "principle 8" elsewhere in the repository and in the issues still point at the same thing. The only change inside them is rule 5's new## Readitem.docs/rules/6-sessions.md, new rule 6 "How a session goes":README.mdin full; of the three long docs, the headings and then the sections the issue names;No code, test or build file is touched. Existing issues do not have a
## Readlist yet; it can be added as each one is picked up.https://claude.ai/code/session_01Ryb4bKp5meYCqrb5rfy3dB
Generated by Claude Code