plugins/coordinator/skills/requesting-code-review/SKILL.md
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
npx skillsauth add oduffy-delphi/coordinator-claude requesting-code-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use /review-dispatch to route to named reviewers (Patrik, Palí, Sid, Camelia, Fru) to catch issues before they cascade.
Core principle: Review early, review often.
Mandatory:
<!-- Review: Patrik — ghost reference to deleted workflow -->docs/wiki/delegate-execution.md)Optional but valuable:
1. Get git SHAs:
BASE_SHA=$(git rev-parse HEAD~1) # or origin/main
HEAD_SHA=$(git rev-parse HEAD)
2. Consider docs-checker pre-flight:
For artifacts that cite external APIs — especially C++ or Unreal Engine code — the EM should consider running the docs-checker agent before dispatching the Opus reviewer. docs-checker catches mechanical errors (wrong API name, wrong signature, wrong header) at Sonnet cost, leaving the Opus reviewer free to focus on architecture and design. The skip is an EM call and is silent — no flag needed. Pure prose, in-repo-only references, and trivial in-distribution code don't warrant it. Skipping docs-checker does NOT mean skipping the review — only the PM may waive a review on an EM plan. Full decision rules: docs/wiki/docs-checker-pre-review.md. Mechanical flow: commands/review-dispatch.md Phase 2.7.
3. Dispatch code-reviewer subagent:
Use /review-dispatch to route to the appropriate named reviewer. Fill the context template at code-reviewer.md to provide the review scope.
Placeholders:
{WHAT_WAS_IMPLEMENTED} - What you just built{PLAN_OR_REQUIREMENTS} - What it should do{BASE_SHA} - Starting commit{HEAD_SHA} - Ending commit{DESCRIPTION} - Brief summary4. Act on ALL feedback:
[Just completed Task 2: Add verification function]
You: Let me request code review before proceeding.
BASE_SHA=$(git log --oneline | grep "Task 1" | head -1 | awk '{print $1}')
HEAD_SHA=$(git rev-parse HEAD)
[Invoke /review-dispatch — routes to named reviewer based on artifact signals]
WHAT_WAS_IMPLEMENTED: Verification and repair functions for conversation index
PLAN_OR_REQUIREMENTS: Task 2 from docs/plans/deployment-plan.md
BASE_SHA: a7981ec
HEAD_SHA: 3df7661
DESCRIPTION: Added verifyIndex() and repairIndex() with 4 issue types
[Subagent returns]:
Strengths: Clean architecture, real tests
Issues:
Important: Missing progress indicators
Minor: Magic number (100) for reporting interval
Assessment: Ready to proceed
You: [Fix progress indicators]
[Continue to Task 3]
Delegate-Execution Workflow:
Executing Plans:
Ad-Hoc Development:
For PLAN reviews, this table now lives at coordinator:review (Branch A.2). The table below is preserved for the future coordinator:review-code super-skill (code-review tier matching).
Match review tier to plan complexity, not plan importance.
Staff sessions (2+ reviewers + synthesizer) are for contested architectural decisions or cross-domain plans where multiple expert perspectives are genuinely needed and may contradict each other. Most plans — even important ones — need a single domain reviewer routed through /review-dispatch.
Routing every "important" plan to a staff session burns budget without finding more bugs. Importance is not the trigger; genuine multi-perspective contention is.
| Situation | Correct tier |
|-----------|--------------|
| New feature implementation, single domain | /review-dispatch → one reviewer |
| Cross-domain plan (e.g., UE + data pipeline) | /review-dispatch → two sequential reviewers |
| Contested architectural choice with 2+ valid approaches | Staff session |
| "This is important, I want it done right" | /review-dispatch → one reviewer |
| Plan touches auth, security, billing — high stakes but clear approach | /review-dispatch → one reviewer |
The heuristic: would a second reviewer likely contradict the first, or just add diminishing-return notes? If contradiction is unlikely, one reviewer is enough.
Never:
If reviewer wrong:
See template at: requesting-code-review/code-reviewer.md
tools
Orient session — preflight, load context, choose work
documentation
Wrap up finished work — capture lessons, update docs
development
Triangulate plan-claim / code-reality / review oracles to classify each plan into DELIVERED+REVIEWED / DELIVERED-UNREVIEWED / PARTIAL / IN-FLIGHT / ABANDONED. Run after any crash or 'did we actually finish what we think we finished?' moment.
testing
Check for a published coordinator update and advise a preserve-by-default migration path — never a blind overwrite.