review-rules
Skill1 starsChanged 41 days agoMITView on GitHub
Language-independent code-review rules, read alongside a language rubric (rust-review, nix-review, sql-review) by every review lens and verifier — severity capped by the harm a finding names (who is hurt, how they recover; must-fix only for data loss, security, outage, an irreversible effect, an unmet intent or a broken repo rule), the finding classes (CONV, LIFE, RECOV, EXT, WIRE, RACE, FAIL, TEST, DOCS, MAINT) and how to pick one, the search sweeps a lens runs (sibling sweep, early-exit diff and three more), a Markdown runbook walked as a procedure, and the exclusions that drop a finding in any language. Use when reviewing a diff in any language, rating a finding's severity, or deciding whether a rejection holds. Triggers: how severe is this, is this must-fix, runbook, harm, finding class, same class elsewhere, sibling instance, early return skips, false positive. Not for a language's own rules (rust-review, nix-review), controller races (distributed-races) or backward compatibility (compatibility).
3 other projects use a version of this.
Adopted by
Most recently taken up by
- sson0-er/orchestraudetheir own version, first seen Oct 20, 2026
- stardew-valley-dedicated-server/servertheir own version, first seen Oct 8, 2026
- coder-xieshijie/dev-skillstheir own version, first seen Oct 8, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- stardew-valley-dedicated-server/server★ 357same name
- coder-xieshijie/dev-skills★ 6same name
- sson0-er/orchestraude★ 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 repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- addressing-findingsSkill
- auditSkill
- codebase-onboardingSkill
- codex-reviewSkill
- compatibilitySkill
- debuggingSkill
- developSkill
- distributed-racesSkill
- memorySkill
- nix-dev-envSkill
- nix-flakesSkill
- nixosSkill
- nix-packagingSkill
- nix-reviewSkill
- refactoringSkill
- retroSkill
- review-initSkill
- rust-architecture-reviewSkill
- rust-architectureSkill
- rust-cliSkill
- rust-cloud-nativeSkill
- rust-concurrencySkill
- rust-ecosystemSkill
- rust-embeddedSkill
- rust-errorsSkill
- rust-fintechSkill
- rust-idiomsSkill
- rust-macrosSkill
- rust-mlSkill
- rust-navigationSkill
- rust-ownershipSkill
- rust-performanceSkill
- rust-pluginsSkill
- rust-reviewSkill
- rust-securitySkill
- rust-testingSkill
- rust-traitsSkill
- rust-unsafeSkill
- rust-webSkill
- specsSkill
- sql-reviewSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
3
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 36
Read the change with sweeps.md §4 first: call sites, helpers, readers of written fields.
- Distinctive: line 38
Run the sibling sweep (sweeps.md §1) for every class you found, and the early-exit diff (§2) for every early return the change touches.
- Distinctive: line 41
Before dropping anything, check fp-rules.md: a rejection carries the same burden of proof as the finding.
“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
Review rules — what holds in every language
A language rubric says what a defect looks like in that language. These files say what holds
whatever the language: how bad a finding is, what kind it is, where to look for its siblings, and
when it may be dropped. The runbook lens reads them over a changed Markdown file whose shell
blocks or numbered steps run commands against external systems, with runbooks.md beside them. A review lens reads them together with its language's rubric; when the two
disagree on severity, the harm cap here wins.
The general lenses — correctness, security, money, concurrency, errors, performance, intent, tests,
maintainability, compat, invariants, negative-space, design and complexity — are judged by these rules
alone on source no language profile takes. The Rust and Nix profiles run the same lenses that fit
them, under their own rubric beside these rules, some with a brief of their own. The design lens
rates by the same cap: duplication by itself names no harm and is optional; a design finding rises
only through a harm it names — a written architecture rule it breaks, quoted, or two live copies of
state or behaviour that can diverge in the running system; a legitimate trade-off is a question to
the author, listed as doubtful.
Files
| File | What it settles |
| severity.md | Severity from the harm a finding names: effect, who is affected, recovery. The cap each kind of harm allows, and the rule that a verdict refuses a severity above it. |
| classes.md | The finding classes CONV, LIFE, RECOV, EXT, WIRE, RACE, FAIL, TEST, DOCS, MAINT, and the rule for choosing one: the class whose fix removes the defect. |
| sweeps.md | Five search moves a lens runs before it stops: sibling sweep, early-exit diff, attribution check, context before judgment, consequence of a false claim. |
| runbooks.md | A Markdown runbook as the runbook lens reads it: the steps walked in order, the state each assumes and does not check, races between steps, what is irreversible and what stops it, drift from the code beside it. |
| fp-rules.md | Exclusions that drop a finding in any language, and the tempting non-reasons that never do. The language rubric's own exclusion file carries the rest under the same ID space. |
Order of work
- Read the change with sweeps.md §4 first: call sites, helpers, readers of written fields.
- For each defect, name its class (classes.md) and its harm (severity.md).
- Run the sibling sweep (sweeps.md §1) for every class you found, and the early-exit diff (§2) for every early return the change touches.
- Rate by the harm cap. A finding with no nameable harm is optional or Low, not dropped.
- Before dropping anything, check fp-rules.md: a rejection carries the same burden of proof as the finding.
Relation to other skills
Catalogues of specific question sets stay in their own skills and are read beside these rules:
controller and reconcile-loop races in distributed-races, backward compatibility in
compatibility. Their classes map onto the classes here (an R-class is mostly RACE, CONV or
RECOV; a C-class is WIRE). Each language rubric keeps only what is specific to its language and
points here for the rest.
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.

