staff-review
Skill0 starsChanged 4 months agoMITView on GitHub
Staff-level code review method for a diff or branch: review against stated intent, confidence-calibrated findings, verify every finding against the code before reporting, fix-first protocol. Use when asked to review code like a senior/staff engineer, or when review findings must be high-precision. This is the review method — it complements harness-native review commands (e.g. /code-review), not replaces them. Skip for reviewing plans (plan-review) or vetting ideas (office-hours).
2 other projects use a version of this.
Adopted by
Most recently taken up by
- staffreview/staffreviewtheir own version, first seen Nov 1, 2026
- c-kick/hnl-agent-skillstheir own version, first seen May 1, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- c-kick/hnl-agent-skills★ 56same name
- staffreview/staffreview★ 8same 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 repository16 other files it gives its agents.
- answer-shapesSkill
- claim-verificationSkill
- create-prSkill
- findings-ledgerSkill
- git-safetySkill
- invariant-auditSkill
- lossless-doc-compressSkill
- model-orchestrationSkill
- office-hoursSkill
- plan-reviewSkill
- prompt-caching-playbookSkill
- review-ratchetSkill
- spec-fidelity-reviewSkill
- systematic-debuggingSkill
- test-adequacy-reviewSkill
- verification-before-completionSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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 17
Before judging the code, check did they build what was requested — nothing more, nothing less?
- Distinctive: line 31
Every finding carries a confidence score, and the score decides its fate:
- Distinctive: line 53
Every finding gets an action: mechanical and safe → fix it.
- Distinctive: line 69
When findings gate a merge, or the change touches money, PII, or published contracts, dispatch an independent critic — fresh context, not …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
Staff review
Intent first, quality second
Before judging the code, check did they build what was requested — nothing
more, nothing less? Read the stated intent (PR description, commits, plan
file) and compare against the diff. Open with Scope: CLEAN / DRIFT / MISSING
— Intent: <1 line> — Delivered: <1 line>, listing out-of-scope changes and
unaddressed requirements. Informational — it frames the review, not blocks it.
Look beyond the diff
A new enum value, status, tier, or constant is the one class of change a within-diff review cannot judge: grep for the files handling sibling values and read them — the bug lives where the new value is not handled.
Confidence calibration
Every finding carries a confidence score, and the score decides its fate:
| Confidence | Meaning | Fate |
| 9–10 | Verified by reading the specific code | Report |
| 7–8 | Strong pattern match | Report |
| 5–6 | Could be a false positive | Report with an explicit caveat |
| 3–4 | Suspicious but unproven | Appendix only |
| 1–2 | Speculation | Only if severity would be critical |
Finding format: [SEVERITY] (confidence: N/10) file:line — problem — suggested fix.
The verification gate (before emitting)
A finding enters the report only if you can quote the motivating line(s) — the verbatim code that makes it a bug. Can't quote it? Demote to confidence ≤5; never inflate to dodge the gate. For framework-generated symbols (ORM columns, decorators, migrations), quote the construct that generates them — a failed grep for the literal name proves nothing.
Fix-first, then adversarial pass
Every finding gets an action: mechanical and safe → fix it; behavioral or risky
→ ask, showing the proposed fix. Before the verdict, adversarially try to
refute each of your own findings — and remember risk is not proportional to
diff size: a 5-line auth change can be critical. Deliver the verdict per the
answer-shapes code-review shape.
Sibling sweep
For any new unit that has peers (worker, client, adapter, handler): name the closest sibling, diff the new unit against it dimension by dimension — transport and timeouts, error handling and messages, metrics and timestamps, input/output mappings, logging — and justify every divergence. "Every other X does Y" findings live here; they are invisible within the diff.
Critic pass (high stakes)
When findings gate a merge, or the change touches money, PII, or published contracts, dispatch an independent critic — fresh context, not the authoring session — with a mandatory verdict per finding: AGREE, DISAGREE with a code citation, or CONCERN without one. The artifact stays frozen during the exchange. Findings survive only with evidence; consensus without citations is not evidence — naive multi-agent agreement measurably underperforms a single reviewer.
Final-state gate
Review-fix churn invalidates earlier reviews: fixes introduce new defects and redesigns re-route flows. Before human review, the final state gets one whole-diff pass in a fresh context (ideally a different model lineage than the author's), at high effort, reading only the spec, the invariant catalog, and the code — not the author's reasoning. Any non-trivial fix after that pass re-reviews the delta.
Lens dispatch
This skill is the code/platform lens. A full review of a substantial change runs the other lenses as parallel fresh contexts, each given only its own sources and the diff — never the author's reasoning, never another lens's output: spec fidelity (call the Skill tool with "spec-fidelity-review"), test adequacy (call the Skill tool with "test-adequacy-review"), and standing invariants across execution paths (call the Skill tool with "invariant-audit"). Report per lens and never merge or rerank findings across lenses — one lens's silence says nothing about another, and a single ranked list is how one axis masks the rest. All lenses' findings land in the findings-ledger. Distinct lenses find near-disjoint defect sets (perspective-based reading); adding a lens that overlaps an existing one adds cost, not coverage.
Provenance
Distilled from the gstack /review skill by Garry Tan
(garrytan/gstack, MIT) — method only,
none of the runtime (specialist dispatch, Greptile/Codex, learnings database).
Sibling sweep, critic pass, final-state gate, and lens dispatch added from an
internal production retrospective (2026-08) and 2025–26 review-effectiveness
research.
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.

