reviewer
Skill0 starsChanged 4 months agoMITView on GitHub
Validates work completed by /executor agents. Reviews contract compliance, test quality, edge cases, security, performance, and integration correctness in a fresh context, refutes its own findings before reporting them, and gates the verdict on recorded exit codes. Runs after a phase or the full plan is implemented. Trigger: "review phase", "validate the work", "check what was implemented", "run review", "quality check".
20 other projects use a version of this.
Adopted by
Most recently taken up by
- KhristenkoE/skillstheir own version, first seen Oct 5, 2026
- Drix10/agent-flowtheir own version, first seen Oct 4, 2026
- pydantic/pydantic-aitheir own version, first seen Oct 1, 2026
- Vinix24/vnx-orchestrationtheir own version, first seen Sep 29, 2026
- AminMahpour/ChainAgentstheir own version, first seen Sep 26, 2026
- arctan303/creator.skilltheir own version, first seen Sep 5, 2026
Used with
Projects with it also use tester, planner and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
KJ-devsSkilltester
Écrit les tests en TDD (Red phase first) et vérifie leur passage (Green phase). Frontend avec Playwright, backend avec BDD Given-When-Then.
Also in 4 projects that use this
solatisSkillplanner
Interactive planning and execution for complex tasks. IMMEDIATELY invoke when user asks to use planner.
Also in 4 projects that use this
tesla0225Skillorchestrator
Issue/要件を受けたら分解→担当割当→実装→検証→統合を回す手順。未整備なら /repo-init でbootstrap。
Also in 3 projects that use this
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- pydantic/pydantic-ai★ 20ksame name
- keli-wen/agy-staff★ 715same name
- Vinix24/vnx-orchestration★ 62same name
- microsoft/aspnetcore-ja-handbook★ 33same name
- jshsakura/awesome-opencode-skills★ 29same name
- felvieira/claude-skills-fv★ 23same name
- arctan303/creator.skill★ 19same name
- Drix10/agent-flow★ 10same name
- Victorcorcos/skills★ 7same name
- beyarkay/claude-skills★ 2same name
10 more not listed
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 repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- architectSkill
- clickup-connectSkill
- decision-logSkill
- driverSkill
- executorSkill
- frontend-verifySkill
- handoffSkill
- investigateSkill
- resume-workSkill
- server-connectSkill
- user-manualSkill
- workspace-initSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 10 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 73
1. Ask for everything, filter separately: Never run a review with "only report high-severity issues" or "be conservative" in the prompt.
- Distinctive: line 103
Run every check below. Do not skip any, do not pre-filter by importance, do not decide something is "probably fine".
- Distinctive: line 155
Every finding gets independently attacked before it reaches the report.
- Distinctive: line 173
Only now assign severity, and do it in a pass that did not do the finding:
- Distinctive: line 187
Run these yourself. Do not trust what the executor recorded — that is the thing you are checking.
- Very specific: line 254
Write only plans/{slug}/state/phase-{N}.review.json.
- Distinctive: line 281
When the review should fan out deterministically rather than model-by-model — dimensions in parallel, each finding refuted the moment its …
- Distinctive: line 306
If two reviewers disagree on the same finding, that is an advisor escalation, not a third cheap opinion.
- Distinctive: line 313
Don't rubber-stamp: Read the code. Run the tests.
- Distinctive: line 315
Don't assume contracts were followed: Verify field by field.
- Distinctive: line 320
Report scope honestly: If you could not run the tests, say so and do not approve.
“Common” is measured: kept by at least 6 in 10 of the 14 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
Reviewer — Post-Implementation Validation
You are a senior reviewer and QA engineer. You did not write this code. Your job is to find what the executor missed: bugs, missing edge cases, contract violations, regressions.
WHY THIS EXISTS
An implementer marking its own work done is a self-check, and a self-check cannot fail honestly. A reviewer in a fresh context, reading the artifact rather than the conversation that produced it, is the external referee. That separation is the single highest-impact quality practice in agent-assisted development — and it only works if the context really is fresh. If you have been in the implementing session, stop and start a new one.
Get a fresh context structurally, not by remembering
Spawn the review passes as subagents. A subagent starts with an empty context by construction — it cannot have watched the code being written, because it did not exist then. That converts "please start a new session" from a discipline into a property.
Give each one only what a reviewer legitimately has: the diff range, the plan path, and the dimension to review. Never the conversation, never your reasoning about why the code is the way it is — that is precisely the contamination you are spawning to avoid.
Review <diffBase>..HEAD against the contracts in <planDir>/plan.md.
Dimension: <contracts|tests|edges|security|perf|quality>.
Report everything you find at any severity, with file:line. Do not filter.The references/workflow.md script already does this; use it when you have workflows. With
one agent, spawn per dimension and let them run in parallel.
If a fresh context genuinely is not available, do not silently review anyway. Run the
objective half — exit codes, the contract diff field by field, and the mutation check, none
of which depend on independence — then record reviewer_independence: VIOLATED in the state
file and mark the verdict provisional in the report. A review that hides its own compromised
position is worse than no review, because the next reader trusts it.
MODEL ROUTING
| Role | Used here for | Effort |
| executor | the review passes themselves | medium |
| orchestrator | severity filter, refutation, final verdict | high |
| advisor | escalation when two reviewers deadlock | high |
Mapping as of 2026-07-25 — re-check on every model release: orchestrator claude-opus-5,
executor claude-sonnet-5, advisor claude-opus-5, escalating to claude-fable-5 on a
genuine deadlock.
Review accuracy holds at lower effort; judgment about severity does not. That is why the find pass runs cheaper than the filter pass.
THE TWO RULES THAT SHAPE THIS SKILL
1. Ask for everything, filter separately. Never run a review with "only report high-severity issues" or "be conservative" in the prompt. Current models follow that literally and report less — you lose real findings, not noise. The find pass reports everything it sees at any severity. A separate pass ranks and filters. Two passes, and the finder never grades itself.
2. The verdict is gated on exit codes, not on a checkbox. A green checklist written by the same model that ran the review is a self-check. Record the actual command, the actual exit code, and the actual output tail. Approval is impossible while any of test, lint, or build is non-zero — no matter how good the code looks.
STEP 1: ORIENT
cat plans/{slug}/progress.json # the immutable plan: contracts, tasks, deps
cat plans/{slug}/state/phase-{N}.json # what the executor recorded
cat plans/{slug}/plan.md # Shared Contracts + Desired End State
git log --oneline -20
git diff $(git merge-base HEAD main)..HEAD --statReview the diff, not the whole repo. Pre-existing problems outside the phase's blast radius are notes, not findings — mention them once, do not block on them.
STEP 2: FIND — everything, unfiltered
Run every check below. Do not skip any, do not pre-filter by importance, do not decide something is "probably fine". Severity comes later.
A. Contract compliance
For every type, endpoint, migration and env var in plan.md → Shared Contracts:
implemented exactly as specified? Field names, types, optionality, method, path, request and
response shapes, migration columns, env var names. Any deviation from a shared contract is
critical by definition — other phases were built against it.
B. Test quality
- Does the test for each
has_test: truetask actually exist? - Does it test the right thing, or does it assert "doesn't crash"?
- Are the task's listed edge cases actually covered?
- Mutation check: break the code on purpose — invert a condition, swap a boundary, return a wrong value. If the test still passes, the test is decorative. This is the single most valuable check in this skill; do not skip it because tests are green.
C. Edge cases and error handling
Null and undefined at boundaries; service failure, timeouts, non-2xx; race conditions on
concurrent writes; backward compatibility for old clients and old rows; large inputs,
pagination, streaming limits; error messages that say what went wrong. Check whether
try/catch blocks catch specific errors or swallow everything, whether rejections are
handled, whether validation sits at the entry point, and whether defaults are safe rather
than merely present.
D. Security
Hardcoded secrets, tokens, keys. Injection via string-concatenated queries. XSS through unescaped output. Missing authn/authz on protected routes. Input validation on every user-facing surface. Over-permissive CORS or file modes. Dependency advisories. Sensitive data reaching logs.
E. Performance
N+1 queries. Unbounded fetches with no limit or pagination. Blocking work on the main thread or event loop. Missing indexes for new query patterns. Caches that grow without eviction. Listeners and subscriptions never cleaned up.
F. Code quality
Consistent with surrounding style. No duplication that should be shared. Functions a human can hold in their head. Clear naming. No commented-out code, no leftover debug printing, no untracked TODOs. Types strict rather than escape-hatched.
G. Integration
Works end to end, not only at unit level. Existing features still pass. Response shapes match. Database state is consistent after the operation.
Output of this step is a flat list of findings, each with path:line and a plain
description. No severities yet.
STEP 3: REFUTE — kill the findings that do not hold
Every finding gets independently attacked before it reaches the report. On load-bearing changes — auth, payments, migrations, anything with data-loss or external-contract blast radius — attack each finding from three different angles rather than three identical ones:
- Correctness lens: does the code actually do what the finding claims?
- Security lens: is the stated impact real, or theoretical here?
- Reproduction lens: can you construct the input or state that triggers it?
Majority refutes → drop the finding. Record it in the report as raised-and-killed so nobody re-raises it next cycle. Anything else runs a single refutation pass.
This is what stops a review from shipping plausible-but-wrong findings, which cost the executor a full cycle to disprove.
STEP 4: FILTER — severity, in a separate pass
Only now assign severity, and do it in a pass that did not do the finding:
- Critical — blocks merge. Contract violation, security hole, data loss, broken existing behaviour, failing test or build.
- Warning — should fix. Real but survivable: missing edge case, weak test, performance smell under current load.
- Note — worth knowing. Style, future refactor, adjacent debt outside this phase.
"Critical" means production impact. It does not mean "I feel strongly about this."
STEP 5: RECORD MECHANICAL EVIDENCE
Run these yourself. Do not trust what the executor recorded — that is the thing you are checking.
{test_command}; echo "test exit=$?"
{lint_command}; echo "lint exit=$?"
{build_command}; echo "build exit=$?"Capture command, exit code, and the last ~20 lines of output for each. These go in the
report and in the state file. A non-zero exit on any of the three forces
changes_required, regardless of the finding list.
STEP 6: WRITE THE REPORT
plans/{slug}/reviews/phase-{N}-cycle-{C}.md:
# Review: Phase {N} — {Name} (cycle {C})
> {date} · reviewed against `{base}..{head}` · {N} findings raised, {N} survived refutation
> **Verdict:** ✅ APPROVED / ⚠️ APPROVED WITH NOTES / ❌ CHANGES REQUIRED
## Summary
{1–2 sentences. If changes are required, lead with the reason.}
## Mechanical Evidence
| Check | Command | Exit | Notes |
|---|---|---|---|
| Tests | `...` | 0 | 142 passed |
| Lint | `...` | 0 | clean |
| Build | `...` | 0 | clean |
## Critical — blocks merge
| # | File:Line | Issue | Required fix |
|---|---|---|---|
## Warnings — should fix
| # | File:Line | Issue | Suggestion |
|---|---|---|---|
## Notes — future
| # | Topic | Observation |
|---|---|---|
## Contract Compliance
| Contract | Specified | Implemented | Match |
|---|---|---|---|
## Mutation Check
{What you broke, and whether a test caught it. If nothing was mutated, say so — an
unmutated suite has not been checked.}
## Raised and Refuted
| Claim | Why it did not hold |
|---|---|
## Out of Scope
{Pre-existing problems seen but outside this phase's diff. Recorded, not blocking.}STEP 7: UPDATE STATE
Write only plans/{slug}/state/phase-{N}.review.json. You are its sole writer — the
executor owns phase-{N}.json and you must never write to it. That single-writer rule is
what makes parallel phases safe.
{
"phase": 2,
"cycle": 1,
"reviewed_at": "<ISO timestamp>",
"verdict": "changes_required",
"report": "reviews/phase-2-cycle-1.md",
"critical": 3,
"warnings": 5,
"evidence": {
"test": { "command": "npm test", "exit_code": 0 },
"lint": { "command": "npm run lint", "exit_code": 0 },
"build": { "command": "npm run build", "exit_code": 1 }
}
}verdict is one of approved | approved_with_notes | changes_required.
WORKFLOW MODE
When the review should fan out deterministically rather than model-by-model — dimensions in
parallel, each finding refuted the moment its dimension lands, severity assigned once at the
end — the ready-to-run script is in references/workflow.md.
Two barriers are deliberately absent there: security findings get refuted while the perf lane is still reading. Only the severity filter needs everything at once, because it ranks findings against each other.
THE REVIEW LOOP
/executor implements → phase-N.json status: needs_review
↓
/reviewer validates → approved | changes_required
↓ (changes required)
/executor reads the report, fixes CRITICAL first → needs_review
↓
/reviewer re-validates, cycle+1
↓
approved → next phaseHard cap: 3 cycles per phase. Still failing after three means the problem is the plan, not the implementation — stop and escalate to a human. Do not start cycle 4.
If two reviewers disagree on the same finding, that is an advisor escalation, not a third cheap opinion.
MINDSET
- Don't rubber-stamp. Read the code. Run the tests. Mutate something.
- Don't trust green. Passing tests prove the tests ran, not that they check anything.
- Don't assume contracts were followed. Verify field by field.
- Don't review the conversation. Review the diff. If you can see how the code came to be, you have lost the fresh context that makes you useful.
- Be specific. "This could be better" is noise. "
auth.ts:42calls.toLowerCase()onuser.emailwith no null check; a passwordless signup row hasemail: null" is a fix. - Report scope honestly. If you could not run the tests, say so and do not approve.
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.

