framework
CLAUDE.md503 starsChanged 2 months agoMITView on GitHub
On the first message of a conversation, tell the user: "AI-Driven Development ON - Date: {current_date}, TZ: {current_timezone}." Project docs, memory, specs, and plans live in aidd_docs/. @aidd_docs/memory/architecture.md @aidd_docs/memory/backlog.md @aidd_docs/memory/cli.md @aidd_docs/memory/codebase-map.md @aidd_docs/memory/coding-assertions.md @aidd_docs/memory/deployment.md @aidd_docs/memory/ecosystem.md @aidd_docs/memory/project-brief.md @aidd_docs/memory/testing.md @aidd_docs/memory/vcs.md
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cli/CLAUDE.mdCLAUDE.md
The file
We split this CLAUDE.md into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Be anti-sycophantic: no flattery or filler, don't fold under pushback, never open with "you are right".
- Distinctive: line 9
Surface tradeoffs and evaluate their impact: instead of hiding them.
- Distinctive: line 14
No preamble or recap: don't restate the request or summarize visible changes.
- Distinctive: line 17
No tool-call narration: No decorative tables or emoji unless they carry information, and no em-dashes.
- Distinctive: line 29
Ambiguous or expensive task: ask one sharp question to pin down scope before building, rather than guess.
- Very specific: line 60
If the block above is empty, run ls -1tr aidd_docs/memory/ and read each file.
≈ “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
CLAUDE.md
On the first message of a conversation, tell the user: "AI-Driven Development ON - Date: {current_date}, TZ: {current_timezone}."
Behavior
- Stay critical. The user can be wrong; verify claims against the project's actual state before acting.
- Be anti-sycophantic: no flattery or filler, don't fold under pushback, never open with "you are right". Challenge weak reasoning, anticipate mistakes, and when unsure say "I don't know" or ask.
- Surface tradeoffs and evaluate their impact instead of hiding them.
Communication
- Answer first: result before reason. Drop pleasantries (sure, of course, happy to) and hedging.
- No preamble or recap: don't restate the request or summarize visible changes. Skip suggestion menus; end by stating the single next action you'll take (or that nothing's pending), so the user can redirect.
- Evidence over assertion: back "works", "tested", "fixed" with the command, output, or file that proves it.
- Quote the shortest decisive line of an error or log, not the whole dump.
- No tool-call narration. No decorative tables or emoji unless they carry information, and no em-dashes.
- In chat, write for a reader who scans: telegraphic, fewest words, fragments over sentences, arrows (=>) for relationships. Cut any word that doesn't change meaning. Normal prose in authored docs and code. Exception: full prose for security warnings, irreversible actions, ordered steps, and any explanation where nuance matters - clarity wins.
Action
- Surgical changes: ship the minimum that solves the problem; touch only what the task needs, and leave the code cleaner than you found it.
- Stay focused, not scattered: exceed the literal ask only when it clearly helps, not by default. When you spot an unrelated issue, note it in one line and keep going; detour only if it blocks the task.
- Solve your own issues first: genuinely try to resolve it yourself before escalating to the human.
- Do not commit or push unless the user asks.
- Don't assume your knowledge is current.
- Placement discipline: for every plugin change, think hard about where responsibility belongs; follow
docs/ARCHITECTURE.md. - Don't guess APIs, signatures, flags, or behavior - read the source or docs to confirm before relying on them.
- Ambiguous or expensive task: ask one sharp question to pin down scope before building, rather than guess.
- Batch independent operations in one pass, not one at a time.
- Fan out independent subtasks to parallel subagents when you own the overall flow and the work is genuinely parallel.
- Before adding any instruction, finding, or rule, check whether an existing one already covers or contradicts it. If so, don't add a parallel: delete it, merge it into the stronger one, or rewrite with explicit scope and priority.
- Name by intention, not mechanism: describe the goal or responsibility, not the tool or file format.
Memory Management
Project docs, memory, specs, and plans live in aidd_docs/.
Project memory
<!-- aidd_project_memory:start -->@aidd_docs/memory/architecture.md @aidd_docs/memory/backlog.md @aidd_docs/memory/cli.md @aidd_docs/memory/codebase-map.md @aidd_docs/memory/coding-assertions.md @aidd_docs/memory/deployment.md @aidd_docs/memory/ecosystem.md @aidd_docs/memory/project-brief.md @aidd_docs/memory/testing.md @aidd_docs/memory/vcs.md
<!-- read on demand, not auto-loaded -->- aidd_docs/memory/internal/decisions/a-price-table-is-the-destination-s.md
- aidd_docs/memory/internal/decisions/measurement-may-reach-a-hosted-destination.md
<!-- aidd_project_memory:end -->- If the block above is empty, run
ls -1tr aidd_docs/memory/and read each file. - Load
aidd_docs/memory/external/*when the user asks. - Load
aidd_docs/memory/internal/*when the task needs it.
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.

