Move the page layout and the voice to docs/writing.md - #68
Merged
Merged
Conversation
CLAUDE.md loads on each turn. A code change needs the rules for comments and commit messages, and it does not need the layout of a page. CLAUDE.md keeps the eight rules, the banned words, and the rule on contrastive framing. docs/writing.md holds the page layout and the voice, and CLAUDE.md says to read it before an edit to README.md, docs/, or planning/. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PCCFaPP3EWyuZguDNUep1L
The page now follows its own layout rule. The 78-column wrap applies to all Markdown, so it stays in CLAUDE.md. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PCCFaPP3EWyuZguDNUep1L
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.
Requested by Andrei · project thread
Before: CLAUDE.md is 128 lines, and every agent turn loads all of it. That includes the page-layout and voice guidance, which only a page edit needs.
After: CLAUDE.md is 109 lines. It keeps what every change needs: the eight ASD-STE100 rules, "state facts", the banned words, and the rules on contrastive framing and restating, which also apply to comments and commit messages.
docs/writing.mdholds the page layout (bold leads, lists and tables, paragraph length, diagrams, the 78-column wrap) and the voice. CLAUDE.md says to read it before an edit toREADME.md,docs/, orplanning/.How: the text moves without changes to its rules. #54 already made README and
biome.jsoncpoint at CLAUDE.md for the layers.Step 6 of the toolchain review (T7), the last step of the plan.
🤖 Generated with Claude Code
https://claude.ai/code/session_01PCCFaPP3EWyuZguDNUep1L
Generated by Claude Code