From superpower-router
Use when completing tasks, requesting review, or receiving code review feedback — covers both requesting and responding to reviews with technical rigor
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpower-router:code-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Covers both sides of code review: requesting reviews (dispatching reviewer subagents) and receiving feedback (verifying before implementing suggestions).
Covers both sides of code review: requesting reviews (dispatching reviewer subagents) and receiving feedback (verifying before implementing suggestions).
After completing implementation, dispatch two reviews in order:
Route to Codex CLI (read-only):
${CLAUDE_PLUGIN_ROOT}/skills/plan-and-execute/codex-runner.sh \
"Review code for spec compliance. Spec: [requirements]. Files: [paths]. Report: APPROVED or NEEDS CHANGES with specifics." \
read-only /path/to/project
Fail-closed: if Codex returns exit 20, ask user for explicit approval before any Claude/Sonnet fallback.
Optional fallback only when CODEX_FAIL_CLOSED=0: Task(prompt, model:"sonnet", subagent_type:"superpower-router:code-reviewer")
Only after spec compliance passes. Route to Codex CLI (read-only):
${CLAUDE_PLUGIN_ROOT}/skills/plan-and-execute/codex-runner.sh \
"Review code quality. Files: [paths]. Check: naming, error handling, DRY, YAGNI, test coverage. Report: Strengths, Issues (Critical/Important/Minor), APPROVED or NEEDS CHANGES." \
read-only /path/to/project
If reviewer finds issues → fix → re-review → repeat until approved.
When YOU receive feedback, apply technical rigor:
| Step | Action |
|---|---|
| 1 | Read feedback carefully — don't skim |
| 2 | Verify each suggestion is technically correct before implementing |
| 3 | If suggestion seems wrong, research it (WebSearch, docs) before disagreeing |
| 4 | If genuinely wrong, explain why with evidence — don't just agree |
| 5 | Implement valid suggestions, explain rejections |
See ./code-reviewer.md for the detailed reviewer agent prompt template.
npx claudepluginhub charliechan53/superpower-router --plugin superpower-routerReviews implementation against spec requirements and code quality standards using a two-pass workflow. Useful for validating task completion.
Evaluates code review feedback with verification before implementing. Checks if issues are real, fixes are correct, and changes don't break other things. Includes patterns for reasoned pushback.
Reviews code implementation against specification: checks compliance with requirements, identifies deviations, reports score, triggers evolution if needed. Use after implementation or before merging.