arcadedb
CLAUDE.md1 starsChanged 5 months agoApache-2.0View on GitHub
Directory rules for the design docs. Inherits the root CLAUDE.md. No decision lands without an ADR that states its reasoning, and no assumption stands without a docs/assumptions.md entry. This is a CLAUDE.md convention and a CI check. When you make a choice or rest on an assumption while working anywhere in this repo, update these docs in the same change. - One file per decision, next free NNNN, kebab-case title. - Use 0000-template.md (or the new-adr skill). - Required sections:…
In this repository20 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- control-plane/CLAUDE.mdCLAUDE.md
- helm/CLAUDE.mdCLAUDE.md
- terraform/CLAUDE.mdCLAUDE.md
- add-cellSkill
- cell-capacity-reportSkill
- deprovision-tenantSkill
- dr-drillSkill
- incident-triageSkill
- migrate-schemaSkill
- new-adrSkill
- provision-tenantSkill
- restore-tenantSkill
- retire-cellSkill
- review-terraform-planSkill
- rotate-secretsSkill
- security-baseline-checkSkill
- tenant-erasureSkill
- tenant-usage-reportSkill
- upgrade-arcadedbSkill
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Use 0000-template.md (or the new-adr skill).
- Very specific: line 19
After writing, add a row to the ADR index in architecture.md and link any assumptions it rests on.
- Distinctive: line 23
Don't edit a decided ADR's decision — supersede it with a new ADR.
- Distinctive: line 27
Every row records: assumption · why we chose it · impact if wrong · confidence · validation owner / when · linked ADR(s).
≈ “Common” is an estimate: at least 1 in 5 of the 27,641 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
CLAUDE.md — docs/
Directory rules for the design docs. Inherits the root CLAUDE.md.
The enforced rule
No decision lands without an ADR that states its reasoning, and no assumption
stands without a docs/assumptions.md entry. This is a CLAUDE.md convention
and a CI check. When you make a choice or rest on an assumption while working
anywhere in this repo, update these docs in the same change.
ADRs (docs/adr/NNNN-*.md)
- One file per decision, next free
NNNN, kebab-case title. - Use
0000-template.md(or thenew-adrskill). - Required sections: Context · Assumptions it rests on · Options considered (with pros/cons) · Decision · Reasoning (why this beats the alternatives) · Consequences · Status · Review-trigger.
- After writing, add a row to the ADR index in
architecture.mdand link any assumptions it rests on. - Status values: Proposed · Accepted · Superseded by ADR-NNNN · Deprecated. Don't edit a decided ADR's decision — supersede it with a new ADR.
Assumptions log (docs/assumptions.md)
Every row records: assumption · why we chose it · impact if wrong · confidence · validation owner / when · linked ADR(s). Convert relative dates to absolute. When validated/invalidated, update Status + the affected ADR(s).
HLD vs LLD
architecture.mdis the High-Level Design (ships in the CTO package). Keep it the single end-to-end narrative + diagrams + ADR index.lld.md(Low-Level Design) is authored after CTO sign-off (Phase 0): per-module/resource specs, variable/API schemas, CIDR/IAM/KMS detail. Do not startlld.mduntil the CTO approves.
Diagrams
Mermaid, inline in the markdown (renders on GitHub). Keep them in sync with the IaC — a diagram that lies is worse than none.
Runbooks (docs/runbooks/)
Each operational runbook has a matching skill in .claude/skills/ (1:1 map).
claude-code-operations.md is the "operating this platform with Claude Code"
guide handed to the ops team.
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.

