Reviews an integrated diff holistically after multi-task implementation, checking cross-component coherence and feature delivery. Has caliper mode (plan-driven) and standalone mode (git diff).
Ships in caliper. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This is the only fresh-eyes review of the work — there is no per-piece review upstream. It reviews the integrated diff as a whole: does everything work together, and does it deliver the intended feature. Together with the plan-reviewer's intent-quality check, it is the compensating control for the absence of a zero-context ambiguity pass on individual pieces.
| Mode | When | Source of truth |
|---|---|---|
| Caliper | A caliper plan drove the work (orchestrate auto-dispatches, or the user points at a plan.json) | plan.json + phase/completion docs + design doc |
| Standalone | No caliper plan exists — manual /implementation-review, or "review the whole branch/diff" | The git diff alone |
Detect the mode: if a caller supplied a PLAN_DIR/plan.json (orchestrate context), or the user explicitly references one, run caliper mode. Otherwise run standalone mode — don't hunt for a stale plan to attach.
Skip if: single-module change or purely additive work with no cross-component interactions.
Before dispatching the reviewer:
The reviewer needs BASE_SHA..HEAD_SHA covering all the work under review.
Caliper mode: BASE_SHA is the phase start (PHASE_BASE_SHA from orchestrate) for phase-scoped reviews, or PLAN_BASE_SHA for the final review — not git merge-base. HEAD_SHA is git rev-parse HEAD.
Standalone mode: derive the branch's merge-base with the default branch (origin/HEAD). Plain calls whose output you read, since the worktree-isolation guard refuses $(git …) results reused as git arguments:
git fetch origin
git merge-base origin/HEAD HEAD
git rev-parse HEAD
Line 1 is BASE_SHA, line 2 HEAD_SHA. If origin/HEAD is unknown (the clone never recorded it), run git remote set-head origin --auto and repeat.
If git diff HEAD is non-empty there are uncommitted changes the range won't cover — tell the user to commit (or stash) them first, since the reviewer reads committed history.
Use subagent_type: "caliper:implementation-reviewer" with the invocation template in ./reviewer-prompt.md. The agent's static behavior (8-category cross-task checklist, output format) is in the agent definition.
Use model: "$IMPL_REVIEWER_MODEL", read with IMPL_REVIEWER_MODEL=$(caliper-settings get implementation_reviewer_model) — review requires strong reasoning to catch subtle cross-component issues.
Fill the template variables:
| Variable | Caliper mode | Standalone mode |
|---|---|---|
{BASE_SHA} / {HEAD_SHA} | Phase/plan range (above) | merge-base range (above) |
{REPO_PATH} | Repository root path | Repository root path |
{FEATURE_SUMMARY} | What the feature does (1-2 sentences) | What the branch does — infer from commits/diff, or ask the user |
{TASK_LIST} | jq '.phases[N].tasks[] | .id + ": " + .name' | Omit — the prompt drops this section |
{PLAN_DIR} / {PHASE_DIR} | Plan and phase directory paths | Omit — the prompt drops these |
{PHASE_CONTEXT} | Phase letter/name + downstream expectations, plus sibling phases' review changes when siblings ran in parallel (orchestrate parallel-phases.md Reviews). Empty for final/single-phase | Empty |
{DESIGN_DOC_PATH} | Path from plan frontmatter (or "None") | "None" — disables success-criteria category 8 |
The reviewer's first 7 categories (cross-component consistency, duplication, dead code, docs, errors, integration gaps, test coverage) run identically in both modes against the diff. Only category 8 (success-criteria fulfillment) and plan-doc bookkeeping are caliper-only.
| Category | Example |
|---|---|
| Cross-component inconsistency | Config says port 3000, README says 8080 |
| Duplicated constants | Same timeout defined in two modules |
| Code duplication | Identical function in two files |
| Unpinned invariant | Version literal mirrors another file with no drift test enforcing it |
| Dead code from iteration | Conditional where both branches are identical |
| Documentation gaps & rot | Feature undocumented, a docstring the change now contradicts, or a comment leaking authoring context |
| Inconsistent errors | Same generic error from multiple locations |
| Missing boundary tests | Components interact but no integration test |
| Unmet success criteria | Design says "users can X" but implementation doesn't deliver it (caliper only) |
When the reviewer returns, display what it found, then proceed straight to fixing — don't stop for confirmation. This is a visibility step, not an approval gate: silently fixing and dismissing leaves the user blind to what was wrong, but waiting on a confirmation reply stalls the run. Present a compact summary — group by severity, and for each issue give its file:line, category, and the one-line problem — then immediately continue into the fixes below. Continuation flags don't change this: findings are always shown, fixing always proceeds without a pause.
Address each:
non_dismissible: true (category-7 seam-mock gaps) can't be dismissed — fix them or re-dispatch.Run the relevant tests after fixing, then apply the two-pass cap below.
After review passes, the orchestrator updates the plan document. Skip this entirely in standalone mode.
Document fixups — append ### Implementation Review Changes to phase-{letter}/completion.md listing each change. Omit if no fixups needed.
Handoff notes (multi-phase only) — if future phases exist, the orchestrator records handoff notes into plan.json now (post-review) via validate-plan --add-handoff, so notes reflect the shipped interface including any review-driven changes. See orchestrate's Phase Wrap-Up step for format and trigger conditions.
Applies in both modes. Pass 1 is discovery. The lead fixes all findings and verifies each fix inline (grep/read, plus rerunning affected tests). A delta pass 2 is dispatched only if pass 1 found critical or high issues; after pass 2, any remaining findings are fixed inline and the loop records pass — never a third dispatch. Residual leakage is caught by the next downstream gate (PR review), not by additional same-gate passes.
Pass 1:
json review-summary block.non_dismissible: true (category-7 seam-mock gaps) can't be dismissed — fix them.HEAD_SHA for any pass 2: the reviewer reads committed history only.Pass 2 (only if pass 1 found critical or high):
## Prior Issues section listing the pass-1 issues each enriched with its resolution (fixed or dismissed, with the dismissal reason when dismissed). This catches reviewer hallucination compounding and new issues introduced by bulk fixes.By default the skill stops once the review passes and fixes land. These flags chain the next steps automatically — but only after the review fully passes (two-pass cap included) and the user has seen the findings:
| Flag | Effect |
|---|---|
--pr-create | Invoke the pr-create skill to commit, push, and open a PR. |
--pr-review | Invoke pr-create, then the pr-review skill. Forward any pr-review flags placed after it — --automated-fix/-A, --automated-merge/-M, or --deliberate/-D. |
--pr-merge | Invoke pr-create, then pr-review in --automated-merge mode (which fixes all actionable feedback, then invokes pr-merge). This is the full merge chain — pr-create → pr-review → pr-merge — so don't skip pr-review and jump straight to pr-merge. Equivalent to --pr-review --automated-merge. |
--pr-review with no forwarded mode flag lets pr-review select its mode the usual way (configured review_mode, else prompt). These flags are for manual /implementation-review; in caliper mode orchestrate already drives pr-create after the review.
When more than one of these is passed, the most complete chain wins: --pr-merge over --pr-review over --pr-create (each includes the steps before it). If the review can't be made to pass (unresolved non_dismissible findings, or fixes keep failing tests), stop before the continuation rather than opening a PR on a failing review.
Auto-dispatched by: orchestrate (caliper mode, after all tasks complete)
Invoked manually: /implementation-review on any branch (standalone mode)
Leads to: pr-create (once review passes)
What SKILL.md sets; muted values are Claude Code's defaults
19 skills in this plugin
/caliper-settingsUse when the user wants to view, change, or reset their persistent preferences, or when triggered by "/caliper-settings", "my settings", "change defaults"./codebase-reviewUse when asked to audit a codebase, find DRY/YAGNI/complexity issues repo-wide, or perform periodic code quality review/conversateUse when the user invokes /conversate, or asks to talk a change through with you — your recommendations, their decisions, open questions — before anything gets built./caliper:implementation-reviewfrom caliper
npx claudepluginhub nikhilsitaram/claude-caliper --plugin caliperOther plugins' skills for the same job