AgentVetter
CLAUDE.md12 starsChanged 3 months agoMITView on GitHub
IMPORTANT: This project has a knowledge graph. ALWAYS use the code-review-graph MCP tools BEFORE using Grep/Glob/Read to explore the codebase. The graph is faster, cheaper (fewer tokens), and gives you structural context (callers, dependents, test coverage) that file scanning cannot. Fall back to Grep/Glob/Read only when the graph doesn't cover what you need. Never write code before a slice stub exists AND a branch is created. When /enhanced-flow-planner detects continuation mode: 1. Run plan-health-check 2. Run plan-modifier to add the…
We split this CLAUDE.md into the rules it gives an agent
10 rules. About 0 are common, 3 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 36
Use detect_changes for code review.
- Very specific: line 37
Use get_affected_flows to understand impact.
- Very specific: line 38
Use query_graph pattern="tests_for" to check coverage.
- Very specific: line 46
When /enhanced-flow-planner detects continuation mode:
- Very specific: line 48
Run plan-modifier to add the slice to TRAIL.md + PROGRESS.md + a slice stub file under docs/plan/slices/
- Very specific: line 49
Create a branch: git checkout -b slice/<N>-<short-name>
- Distinctive: line 50
Only then write code
- Distinctive: line 58
Every piece of work — however small — goes on a branch:
- Very specific: line 74
When creating or updating a PR with /create-pr or /update-pr, include a Checklist section in the generated body (after Test Results, before …
- Distinctive: line 89
Leave "No secrets" always unchecked — the reviewer confirms this manually
≈ “Common” is an estimate: at least 1 in 5 of the 25,680 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
<!-- code-review-graph MCP tools -->MCP Tools: code-review-graph
IMPORTANT: This project has a knowledge graph. ALWAYS use the code-review-graph MCP tools BEFORE using Grep/Glob/Read to explore the codebase. The graph is faster, cheaper (fewer tokens), and gives you structural context (callers, dependents, test coverage) that file scanning cannot.
When to use graph tools FIRST
- Exploring code:
semantic_search_nodesorquery_graphinstead of Grep - Understanding impact:
get_impact_radiusinstead of manually tracing imports - Code review:
detect_changes+get_review_contextinstead of reading entire files - Finding relationships:
query_graphwith callers_of/callees_of/imports_of/tests_for - Architecture questions:
get_architecture_overview+list_communities
Fall back to Grep/Glob/Read only when the graph doesn't cover what you need.
Key Tools
| Tool | Use when |
detect_changes | Reviewing code changes — gives risk-scored analysis |
get_review_context | Need source snippets for review — token-efficient |
get_impact_radius | Understanding blast radius of a change |
get_affected_flows | Finding which execution paths are impacted |
query_graph | Tracing callers, callees, imports, tests, dependencies |
semantic_search_nodes | Finding functions/classes by name or keyword |
get_architecture_overview | Understanding high-level codebase structure |
refactor_tool | Planning renames, finding dead code |
Workflow
- The graph auto-updates on file changes (via hooks).
- Use
detect_changesfor code review. - Use
get_affected_flowsto understand impact. - Use
query_graphpattern="tests_for" to check coverage.
Slice-first rule (MUST NOT skip)
Never write code before a slice stub exists AND a branch is created.
When /enhanced-flow-planner detects continuation mode:
- Run plan-health-check
- Run plan-modifier to add the slice to TRAIL.md + PROGRESS.md + a slice stub file under
docs/plan/slices/ - Create a branch:
git checkout -b slice/<N>-<short-name> - Only then write code
"Keep it simple" narrows scope. It does not bypass the slice stub or the branch. The stub is the requirement contract — without it there is no acceptance criteria and no gate evidence. The branch is the delivery unit — without it there is no reviewable PR.
Branch-before-commit rule (enforced by hook)
Never commit directly to main. The pre-commit hook blocks it.
Every piece of work — however small — goes on a branch:
git checkout -b <type>/<short-description> # feat/ fix/ docs/ slice/ chore/Emergency override (coordinators only, never for feature work):
ALLOW_MAIN_COMMIT=1 git commit ...The hook allows merge commits through automatically. Everything else on main is blocked.
PR Composition
When creating or updating a PR with /create-pr or /update-pr, include a Checklist
section in the generated body (after Test Results, before Closes):
## Checklist
- [x] `./scripts/quality-gates.sh` passes locally
- [x] New tests added or updated (or change is docs-only)
- [x] Docs updated where applicable
- [ ] No secrets or credentials committedAuto-tick rules:
- Tick quality-gates and tests if the Test Results section shows all stacks passing
- Tick docs if the commit subjects mention docs/chore/refactor (no new behaviour)
- Leave "No secrets" always unchecked — the reviewer confirms this manually
This mirrors .github/PULL_REQUEST_TEMPLATE.md so human-opened and skill-opened PRs
share the same Checklist structure.
Other versions1 project uses a version of this.
Word for word · 1
- neomatrix369/tripwire★ 12100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/code-review-graph.mdcCursor rule
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.

