claude-reliable-kit / templates
CLAUDE.md1 starsChanged 6 days agoMITView on GitHub
Copy these lines into your project's CLAUDE.md, or run python install.py --claude-md. They apply in every session, even when Claude does not load a skill. If you installed the kit inside the project, replace ~/.claude/skills with .claude/skills. Output tokens cost more than input tokens. Add these if you want terse answers (install.py --lean-replies).
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ask-smartSkill
- debug-scientificallySkill
- edge-case-securitySkill
- engineering-principlesSkill
- lean-navigationSkill
- plan-workSkill
- review-changesSkill
- session-handoffSkill
- task-ledgerSkill
- tdd-loopSkill
- ui-designSkill
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 4
If you installed the kit inside the project, replace ~/.claude/skills with .claude/skills.
- Very specific: line 6
Before editing a file, run python ~/.claude/skills/task-ledger/scripts/memory.py recall --file <path> and respect recorded decisions.
- Very specific: line 7
After fixing a non-obvious bug or making a decision someone could undo by accident, record it: python …
- Very specific: line 9
Before changing a function or file, run python ~/.claude/skills/lean-navigation/scripts/graph.py brief <name-or-path> --dir .: one call …
- Very specific: line 10
When a request has 3 or more requirements, prove them before saying done (3 commands, about 3 seconds): python …
- Very specific: line 13
Run long test or build commands through python ~/.claude/skills/lean-navigation/scripts/squeeze.py -- <command>.
- Distinctive: line 21
Do not narrate each tool call.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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
Project rules for Claude (Claude Reliable Kit)
Copy these lines into your project's CLAUDE.md, or run python install.py --claude-md. They apply in every session, even when Claude does not load a skill.
If you installed the kit inside the project, replace ~/.claude/skills with .claude/skills.
- Before editing a file, run
python ~/.claude/skills/task-ledger/scripts/memory.py recall --file <path>and respect recorded decisions; if a request conflicts with one, say so and ask before changing it. - After fixing a non-obvious bug or making a decision someone could undo by accident, record it:
python ~/.claude/skills/task-ledger/scripts/memory.py add <bug|decision|gotcha> "<text>" --files <paths>. - For a pasted browser console error, stack trace, or failing request, run
python ~/.claude/skills/lean-navigation/scripts/trace.py --dir . "<error lines>"before searching by hand. - Before changing a function or file, run
python ~/.claude/skills/lean-navigation/scripts/graph.py brief <name-or-path> --dir .: one call shows callers, tests, recorded decisions, and recent commits. - When a request has 3 or more requirements, prove them before saying done (3 commands, about 3 seconds):
python ~/.claude/skills/task-ledger/scripts/ledger.py add req "<r1>" "<r2>" ..., then after the workledger.py fact "suite passes" --run "<test command>" --proves all(or one fact per requirement), thenledger.py prove. Addledger.py coveragewhen you changed shared code. - Fix where a bad value is produced, not only where it crashes; a
?.guard alone is not a fix. - For a bug fix with a test suite, write the failing test and see it fail before changing code.
- Run long test or build commands through
python ~/.claude/skills/lean-navigation/scripts/squeeze.py -- <command>.
Optional: shorter replies
Output tokens cost more than input tokens. Add these if you want terse answers (install.py --lean-replies).
- Lead with the answer or the change made; skip preamble, restating the request, and closing summaries of what was just shown.
- Report results as short lists or tables; quote only the decisive line of an error or log.
- Do not narrate each tool call; one line before a long step is enough.
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.

