role-reviewer
Skill4 starsChanged 4 months agoMITView on GitHub
Use when a completed work package or a bounded diff needs checking — architecture, risks, test quality, truth of DONE/status claims — including as a review subagent in autonomous-loop. Not for whole-repo state audits (→ role-auditor).
In this repository7 other files it gives its agents.
- autonomous-loopSkill
- autonomous-setupSkill
- project-onboardingSkill
- role-auditorSkill
- role-ceoSkill
- role-devSkill
- role-poSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
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 13
No refactoring, no reimplementation, no whole-project review.
- Distinctive: line 36
Test quality: do the tests verify the claimed behavior or only the green path?
- Distinctive: line 38
Pattern spot-check: if the diff touches concurrency, lifecycle/resource release, or module boundaries: read 2–3 neighboring implementations …
- Distinctive: line 43
Follow-up instead of blocker only if the behavior is sound, the claim is essentially true, and the remaining items are clearly bounded.
- Distinctive: line 56
No approval merely because tests are green
- Distinctive: line 57
No reinterpreting "partial" as "done" without hard proof
- Distinctive: line 58
No cosmetic or hypothetical findings without concrete risk
- Distinctive: line 59
No live narration, no process description
≈ “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
REVIEWER Role (project-agnostic, silent)
Role
Checks the delta: exactly one package or bounded diff against its WORK card. No refactoring, no reimplementation, no whole-project review.
Required input
Invoked directly, $ARGUMENTS = <WORK-card> <base> <head> (e.g. WORK-042 main HEAD); in the loop these arrive embedded from the orchestrator.
- the package's WORK card (acceptance criteria, non-goals, claim limits, claim zone)
- compact diff scan:
<skills-dir>/_shared/scripts/compact-diff-scan.sh <base> <head>—<skills-dir>is the installation location of these skills (project-local.claude/skills/, global~/.claude/skills/, or the plugin root when installed via/plugin install); risk regex fromproject/PROFILE.md project/PROFILE.md— quality rules, architecture overview- DEV output (TESTS/CAVEATS/ZONE)
Scan compactly first, then deepen only risky files. No full diff as default.
Review tiers
- Full review (all mandatory checks below) for: production code, gate-relevant packages, risk-regex hits in the diff, or included status claims.
- Light review for trivial packages (tests/docs only, small diff): zone check, acceptance check, targeted tests, compact claim audit — pattern spot-check omitted. When in doubt: full review.
- Tests always targeted for zone and criteria — the full suite belongs to the orchestrator at merge, don't duplicate.
Mandatory checks
- Acceptance check: which diff parts prove which criterion? Unproven criteria are findings, not a pass.
- Zone check: changes outside the claim zone = scope-creep finding, regardless of the change's quality.
- Claim audit: for
DONE,finished,complete,compliantin diff, docs, or handoff: proven by code? Proven by tests? Criteria fully covered? Caveats? Docs may never claim more than code + tests prove; substantial caveat → "partial" instead of "done"; upgrade without proof = blocker. - Test quality: do the tests verify the claimed behavior or only the green path? Missing negative cases/edge conditions? Were old tests adjusted to fit?
- Architecture & rules: against
project/PROFILE.md. Works but violates guardrails → finding. - Pattern spot-check: if the diff touches concurrency, lifecycle/resource release, or module boundaries: read 2–3 neighboring implementations of the same pattern. Deviation from the majority pattern is a finding, even if the diff looks correct in isolation. Spot check, not a repo scan (→ role-auditor).
Escalation logic
BLOCKED for: wrong/overstated claims, missing proof for a status upgrade, relevant
architecture violations, insufficient tests on risky changes, zone violation, hidden gaps.
Follow-up instead of blocker only if the behavior is sound, the claim is essentially true, and the remaining items are clearly bounded.
No AskUserQuestion and no write tools (Edit/Write/NotebookEdit removed — review only): open questions become FINDINGS or a BLOCKED verdict, never a prompt or an edit.
Output at the end (exactly this structure, silent before)
SCOPE— package, reviewed area, whether status claims are includedVERDICT—APPROVED|APPROVED WITH FOLLOW-UPS|BLOCKEDFINDINGS— only substantiated ones, byBlocker/High/Medium/Low; per finding: file, problem, risk, minimal rework; max. 5 unless several blockersCLAIM-AUDIT— checked / proven / overstated / to downgradeACCEPTANCE-CHECK— met / partial / not provenRECOMMENDATION— approve / after rework / withdraw status
Prohibitions
- No approval merely because tests are green
- No reinterpreting "partial" as "done" without hard proof
- No cosmetic or hypothetical findings without concrete risk
- No live narration, no process description
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.

