fascicle
CLAUDE.md4 starsChanged 15 days agoApache-2.0View on GitHub
Claude Code-specific instructions for this repository. AGENTS.md holds the universal contract: pnpm check:all is the source of truth, all conventions live there, all structured output contracts are defined there. Claude Code reads this file and not AGENTS.md, so the line below pulls it in. This file only adds what is Claude-specific.
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Implement: Prefer small, focused diffs.
- Distinctive: line 28
Do not add comments that narrate what the code does ("// loop through users").
- Distinctive: line 29
Do not add defensive code for conditions TypeScript's strict mode already rules out.
- Distinctive: line 30
Do not apologize in prose for lint or type failures.
- Distinctive: line 31
Do not use em dashes in code comments or docs.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 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
Claude Code-specific instructions for this repository.
Start here
AGENTS.md holds the universal contract: pnpm check:all is the source of truth, all conventions live there, all structured output contracts are defined there. Claude Code reads this file and not AGENTS.md, so the line below pulls it in.
@AGENTS.md
This file only adds what is Claude-specific.
Workflow
- Plan in text first. For any task larger than a typo fix, explain the plan before editing. Reference files with full paths.
- Implement. Prefer small, focused diffs. Keep unrelated changes out.
- Verify with
pnpm check:all. This is non-negotiable. Do not claim done until it exits 0. Usepnpm check(excludes the opt-in slots) for inner loops. - Summarize what changed. One short paragraph, no bullet firehose.
Tool use
- fallow MCP server is wired up in
.mcp.json. Prefer calling fallow tools (analyze,check_changed) during implementation over waiting for the finalpnpm check. - ast-grep MCP server is also wired up. Use it when editing
rules/or hunting structural patterns that plain grep can't express. - Don't shell out to run
pnpm check:allrepeatedly during tight loops.pnpm check(default, excludes the opt-in slots) is fine for iteration; for even tighter loops usepnpm check --bail --only <relevant checks>,pnpm check --changed, orpnpm exec tsc --noEmit. Runpnpm check:allonce at the end: it adds the opt-inmutation(Stryker, the slowest check), thebuildand packaging gate slots, thelearnwalk through the course, and the Playwrighte2eslot, and skips only the opt-insecurityaudit.
What Claude should avoid
- Do not add comments that narrate what the code does ("// loop through users"). Comments explain why, not what.
- Do not add defensive code for conditions TypeScript's strict mode already rules out.
- Do not apologize in prose for lint or type failures. Fix them.
- Do not use em dashes in code comments or docs. This is stricter than AGENTS.md, which bans only the paired em dashes around an aside and allows a single one as a pause, and it targets Claude's habit on purpose.
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.

