ai-native-sdlc-template
CLAUDE.md1 starsChanged 2 months agoMITView on GitHub
In this repository6 other files it gives its agents.
- brand-guidelinesSkill
- compliance-policySkill
- intent-templateSkill
- secure-api-reviewSkill
- security-policySkill
- ux-standardsSkill
The file
We split this CLAUDE.md into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 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.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 5
Keep this file under one page: Claude reads all of it at the start of every session.
- Very specific: line 12
Test: make test (unit) — healthy output: <e.g.
- Very specific: line 15
Run locally: make run — serves on <http://localhost:8080>
- Very specific: line 18
Run make lint, make test and make build before reporting any task complete, and paste the output.
- Distinctive: line 19
All three must pass. Never skip, weaken or delete a failing test: fix the code, not the test.
- Very specific: line 25
Start non-trivial work in plan mode.
≈ “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
<Project name>
<!--
TEMPLATE — replace every <placeholder>, then delete this comment.
Keep this file under one page: Claude reads all of it at the start of every session.
Working rule: when Claude makes the same mistake twice, add the correction under
"Things Claude gets wrong" (in the same PR where the mistake was caught).
-->Commands
- Build:
make build— healthy output ends with<e.g. BUILD SUCCESSFUL> - Test:
make test(unit) — healthy output:<e.g. 128 passed in 4.2s> - Integration:
make itest—<prerequisites, e.g. needs Docker running> - Lint:
make lint— healthy output:<e.g. 0 problems> - Run locally:
make run— serves on<http://localhost:8080>
Verifying your work
- Run
make lint,make testandmake buildbefore reporting any task complete, and paste the output. - All three must pass. Never skip, weaken or delete a failing test: fix the code, not the test.
- UI changes: screenshot the result and compare it with the approved mock; iterate until it matches.
- Bug fixes: the failing test is written and committed first, then
.claude/fix-taskis created and test files become read-only.
How work flows here
- Each change lives in
intent/NNNN-slug/:intent.md→spec.md→plan.md. - Start non-trivial work in plan mode. The approved plan is committed as
plan.md; if the implementation departs from it, updateplan.mdin the same commit. - PRs link their intent, spec and plan, and are reviewed against
REVIEW.md.
Conventions
- Language / runtime:
<e.g. TypeScript 5, Node 22> <Domain rule, e.g. money is always a decimal type, never a float><Testing rule, e.g. every endpoint has an integration test>
Architecture
src/—<what lives where, one line per top-level module>src/gen/— generated code. Never edit by hand; change the generator or schema.
Things Claude gets wrong
<e.g. Do not bump dependency versions; the platform team owns them.>
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.

