code-review-loop
Skill220 starsChanged 16 days agoMITView on GitHub
Use when reviewing a fixed diff against stated intent across correctness, blast radius, and maintainability, then returning severity-ranked, verified findings through bounded re-review iterations. The reviewer reports findings and a recommendation; the controller owns the accept/request-changes decision.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- aditya-deokar/software-factorytheir own version, first seen Sep 29, 2026
- 0xrohan10/skillstheir own version, first seen Jul 22, 2026
- nkmani/claude-skillstheir own version, first seen May 21, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- 0xrohan10/skills★ 2same name
- aditya-deokar/software-factory★ 0same name
- nkmani/claude-skills★ 0same name
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 repository179 other files it gives its agents.
- AGENTS.mdAGENTS.md
- chrono/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- accessible-media-authoringSkill
- agentic-safety-auditSkill
- agent-prompt-engineeringSkill
- audio-event-map-authoringSkill
- auto-scaffoldSkill
- chain-constructSkill
- chain-construct-smart-contractSkill
- claim-verificationSkill
- code-reachability-auditSkill
- color-theorySkill
- conversation-designSkill
- copy-refinementSkill
- cosmos-sdk-audit-checklistSkill
- cross-chain-bridge-auditSkill
- cross-file-relationship-synthesisSkill
- data-flow-traceSkill
- dedup-prior-art-checkSkill
- defi-invariant-checkSkill
- dependency-cycle-auditSkill
- dependency-health-triageSkill
- detection-as-codeSkill
- diff-aware-semgrep-scanSkill
- differential-reviewSkill
- dimensional-analysis-checkSkill
- dual-level-retrievalSkill
- durable-nonce-exploitationSkill
- erc1271-revert-data-checkSkill
- error-based-sstiSkill
- evm-audit-flowSkill
- figma-implement-designSkill
- findings-filterSkill
- forensic-timeline-authoringSkill
- game-design-fundamentalsSkill
- game-mechanics-balancingSkill
- head-tailSkill
- incident-response-runbookSkill
- interactive-audio-designSkill
- interface-ambiguity-checkSkill
- keyword-clusteringSkill
- knowledge-base-integrationSkill
- known-advisory-backport-checkSkill
- layered-analysis-loopSkill
- level-design-patternsSkill
- locale-adaptationSkill
- multi-stance-audit-fanoutSkill
- narrative-structureSkill
- osint-platform-auditSkill
- parser-differential-route-confusionSkill
- persuasive-technical-writingSkill
- platform-complianceSkill
- player-engagement-psychologySkill
- pre-audit-threat-modelSkill
- program-rubric-lookupSkill
- read-only-reentrancy-checkSkill
- requirements-elicitationSkill
- review-severity-ladderSkill
- rule6-rights-gateSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
4
Distinctive
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 9
Run a review as a bounded, converging loop instead of an open-ended critique, so it terminates on evidence rather than exhaustion.
- Distinctive: line 15
Read the intent first, the diff second.
- Distinctive: line 22
Stop when no finding above the agreed severity floor survives verification.
- Distinctive: line 26
Every finding states a concrete failing scenario, not a general concern.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Code Review Loop
Run a review as a bounded, converging loop instead of an open-ended critique, so it terminates on evidence rather than exhaustion. The reviewer owns evidence and recommendations; Chrono or the controlling workflow owns the consequential accept/request-changes decision and any task-status transition.
Steps
- Establish the subject: the exact diff, base ref, and stated intent. A review without a fixed base is not reproducible.
- Read the intent first, the diff second. Findings are deviations from stated intent or from invariants the surrounding code relies on — not deviations from personal preference.
- Pass one — correctness: trace each changed path for wrong results, unhandled states, broken invariants, and concurrency or lifetime errors.
- Pass two — blast radius: find callers, persisted data, and public contracts the change touches; a locally-correct change can still be globally wrong.
- Pass three — quality: naming, duplication, and dead code, reported only when they impede future correctness. Never let this pass outrank pass one.
- Rank findings with
review-severity-ladder, and validate each againstclaim-verificationbefore writing it down. - Emit a findings package and recommendation, not a controller verdict. Recommend acceptance when no verified finding survives the agreed floor, or recommend changes with a specific, checkable list. Every recommended change names the file, the line, and the failing scenario. Never set approval, request-changes, or task status from the reviewer role.
- On the next iteration, re-review only the delta plus anything the delta invalidates. Close findings explicitly as fixed, disputed, or accepted-as-residual.
- Stop when no finding above the agreed severity floor survives verification. Escalating the threat model to keep finding issues is a failure of the loop, not diligence.
Acceptance
- The review names its base ref and the intent it reviewed against.
- Every finding states a concrete failing scenario, not a general concern.
- Findings are severity-ranked and the recommendation follows from the ranking; the controller makes the decision.
- Each iteration closes prior findings explicitly; none are silently dropped.
- The loop terminates on a stated floor rather than on reviewer fatigue.
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.

