ワンクリックで
code-review
Parallel dual review via subagents — spec compliance gates code quality. Guides evaluation of reviewer feedback.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Parallel dual review via subagents — spec compliance gates code quality. Guides evaluation of reviewer feedback.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
Use before implementing anything - dispatches fresh subagent per task with parallel dual review and a spec gate. As an orchestrator, you must never implement anything yourself.
Facilitate real subagent roundtable meetings for uncertain futures, difficult decisions, product or architecture brainstorming, pre-mortems, and explicit disagreement during spec writing. Use during `writing-specs` before approach selection when multiple plausible paths need pressure-testing, stakeholder perspectives conflict, or potential product issues need to be surfaced. Use only when subagent use has already been approved for the current workflow; otherwise stop. Do not use for routine implementation tasks, settled decisions, or simulated roleplay.
You MUST use this before any implementation work. Clarifies requirements, explores approaches, validates the design, and writes the approved spec before planning.
Use when you have a spec or requirements for a multi-step task, before touching code
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
SOC 職業分類に基づく
| name | code-review |
| description | Parallel dual review via subagents — spec compliance gates code quality. Guides evaluation of reviewer feedback. |
Every implementation gets two independent reviews for the same git range:
spec-code-reviewer agent) — Did they build what was requested? Nothing more, nothing less.quality-code-reviewer agent) — Is it well-built? Clean, tested, production-ready.Launch both reviewers in parallel, but treat the spec review as the gate:
quality-code-reviewer returns first, hold the result and wait for spec.spec-code-reviewer returns first with FAIL, verify its reported compliance mismatches first. Only if you confirm a real spec compliance mismatch that should be addressed in the current pass should you ignore or discard any quality result from that pass and stop the still-running quality review if needed.spec-code-reviewer passes may you consume the quality review result.Dispatch each reviewer as a subagent via spawn_agent, using the matching custom subagent plus an explicit Description, the spec/plan paths, and the git range:
spawn_agent:
agent_type: spec-code-reviewer
fork_context: false
message: |
Description: [task description]
Spec: [path to spec]
Plan: [path to plan]
Base: [base SHA]
Head: [head SHA]
spawn_agent:
agent_type: quality-code-reviewer
fork_context: false
message: |
Description: [task description]
Spec: [path to spec]
Plan: [path to plan]
Base: [base SHA]
Head: [head SHA]
Dispatch each review as a fresh, single-pass review. Do not let the review turn into a long interactive thread. If the reviewer lacks required context, gather it locally and re-dispatch a fresh review pass.
After dispatching both reviewers:
Subagent reviewers are sharp, opinionated, sometimes insightful, sometimes biased, sometimes nitpicky, and sometimes wrong. Verify before implementing. Technical correctness over compliance.
Compliance Mismatches, Required Fixes, Non-Blocking Notes, or other review findings are advisory until you verify them against the code.Treat every reported compliance mismatch, required fix, or other review finding as unverified until you confirm all of:
If spec approved, wait for or consume the paired quality result. If quality approved after spec approval, proceed to the next task.
For each reported compliance mismatch, required fix, or finding, verify in this order:
Then act:
If the failing reviewer is spec-code-reviewer, treat it as decisive only after you have verified that at least one reported spec compliance mismatch is real and should be addressed in the current pass. Until then, a raw reviewer FAIL is not yet a gate decision.
If reviewer suggests adding features or "implementing properly":
Push back when:
Note the technical reason, skip the suggestion, continue.
Subagent feedback = suggestions to evaluate, not orders to follow.
Verify the finding exists. Verify the impact is real. Then decide whether to fix it now, defer it, or skip it.