rome
CLAUDE.md691 starsChanged 2 months agoMITView on GitHub
Durable design documentation for Rome. README.md maps what lives where, and the per-content-type rulebooks live in authoring/. A section that names a mechanism instead of an invariant reads as documentation and cannot be applied to a diff. Each section in concepts/ and architecture/ names an invariant between components — a rule a contributor uses to decide whether a change is allowed — statable without reference to any file, type, or function. The routing and agent layers cannot observe which external…
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- rome_apps/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- rome_apps/CLAUDE.mdCLAUDE.md
- add-oauth-integrationSkill
- babysit-prSkill
- color-auditSkill
- file-issueSkill
- loop-northstarSkill
- loop-reconcileSkill
- release-rome-imageSkill
- respond-to-reviewSkill
- secondary-text-auditSkill
- todos-to-github-projectSkill
- ux-semantics-auditSkill
- validate-oauth-integrationSkill
The file
We split this CLAUDE.md into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Before writing any prose in docs/, read authoring/WRITING.md — terminology, word choice, verbs, sentences, structure.
- Very specific: line 8
After changing prose in docs/, run pnpm lint:prose.
- Distinctive: line 9
Before writing a rulebook for a content type, read authoring/authoring.md — the format, admission, eviction, and intake it must carry.
- Very specific: line 10
When writing an entry in concepts/, principles/, or architecture/, read that family's rulebook: authoring/concepts.md, …
- Very specific: line 11
When recording a standing decision — the choice, the rejected alternatives, and the forces between them — write an ADR in adrs/, one file …
- Distinctive: line 12
When filing a GitHub issue, read authoring/github-issues.md.
- Distinctive: line 13
When writing a CLAUDE.md, read authoring/claude-md.md.
- Distinctive: line 14
When writing a token doc, read authoring/ui-tokens.md.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
docs/
Durable design documentation for Rome. README.md maps what lives where, and the per-content-type rulebooks live in authoring/.
Playbook
- Before writing any prose in
docs/, read authoring/WRITING.md — terminology, word choice, verbs, sentences, structure. - After changing prose in
docs/, runpnpm lint:prose. Vale checks the rules from WRITING.md that a machine can decide, against the baseline inscripts/prose-baseline.mjs. The same check covers comments in.tsand.tsxsources. - Before writing a rulebook for a content type, read authoring/authoring.md — the format, admission, eviction, and intake it must carry.
- When writing an entry in
concepts/,principles/, orarchitecture/, read that family's rulebook: authoring/concepts.md, authoring/principles.md, authoring/architecture.md. - When recording a standing decision — the choice, the rejected alternatives, and the forces between them — write an ADR in
adrs/, one file per decision keyed by filename. - When filing a GitHub issue, read authoring/github-issues.md.
- When writing a
CLAUDE.md, read authoring/claude-md.md. - When writing a token doc, read authoring/ui-tokens.md.
Traps
A section that names a mechanism instead of an invariant reads as documentation and cannot be applied to a diff. Each section in concepts/ and architecture/ names an invariant between components — a rule a contributor uses to decide whether a change is allowed — statable without reference to any file, type, or function.
Prefer:
The routing and agent layers cannot observe which external channel a message originated from. All channel-specific specifics are absorbed by the channel adapter.
Over:
We have a
ChannelAdapterinterface that each channel implements.
The first sentence is the contract. The second is the mechanism that enforces it, and it belongs in code review.
Design context written into docs/ outlives the change and rots there. The design context of an in-flight change lives in its PR description (authoring/prs.md). A decision that keeps constraining diffs after the change ships gets an ADR, and the rest stays in git history.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

