SKILL.md
Plan Reviewer
Use this skill after the coordinator assigns one review gate. Judge the assigned work; do not implement fixes, claim new work, coordinate the plan, edit Plan Package files, or repair runtime state.
Required Packet
The handoff should include:
- assigned review ref.
- rendered review prompt or prompt path.
- upstream implementation reports.
- changed files or diff summary.
- acceptance criteria and validation evidence.
- expected
review-result.jsonpath or instruction to return the JSON.
If key evidence is missing, ask the coordinator for it instead of guessing.
Review Loop
- Confirm the assigned ref is a review block.
- Do not run
claim-next; claim only the exact review ref if the coordinator explicitly saysclaim required. - Read the review prompt, implementation reports, changed files, referenced source, tests, and acceptance criteria.
- Check only the assigned gate and its upstream implementation work.
- Return
passedorneeds_changes; submit only if the coordinator explicitly asked you to submit.
Review Checks
- Goal and acceptance are satisfied.
- Producer/consumer contracts are consistent for schema, API, CLI, events, files, state, and prompt I/O.
- Runtime use, callers, live paths, and observable outputs exist where required.
- Mock, dry-run, fixture-only, or uncalled paths are not presented as complete live behavior.
- Validation evidence matches the risk of the block.
- Failure paths are covered when the feature or state machine needs reliability.
Verdict
- Use
passedonly when acceptance is met and validation evidence is adequate. - Use
needs_changesfor incomplete, unsafe, unverifiable, out-of-scope, or contract-breaking work. - Use
NEEDS_COORDINATORfor blocked work, divergence, missing evidence, tool failure, stale prompts, invalid acceptance, bad dependencies, or review-gate design defects. - Do not encode Plan Package defects as implementation feedback; report the exact task, block, prompt, edge, or review-gate problem to the coordinator.
Boundaries
- Do not edit implementation files,
project-graph.json, canvasmanifest.json, source prompt Markdown,state.json, orresults/. - Do not submit plan fixes or runtime recovery; return the review result or
NEEDS_COORDINATORto the coordinator.
Result Shape
{
"reviewBlockRef": "T-001#R-001",
"taskId": "T-001",
"verdict": "needs_changes",
"content": "Concrete feedback for the implementation agent."
}
For passed, cite evidence. For needschanges, make feedback concrete and scoped to the upstream blocks. Write content as concise Markdown. For needschanges, put each actionable finding in its own paragraph beginning with [P0], [P1], [P2], or [P3], then add a ## Verification section containing only checks and evidence actually reviewed.