Help us improve
Share bugs, ideas, or general feedback.
Dispatches a reviewer subagent to validate plans structurally and for prose/design correctness before execution.
npx claudepluginhub nikhilsitaram/claude-caliper --plugin claude-caliper-workflowHow this skill is triggered — by the user, by Claude, or both
Slash command
/claude-caliper-workflow:plan-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Dispatch a reviewer subagent to validate a plan before execution. Catches issues that are cheap to fix in a plan but expensive to fix mid-implementation.
Reviews PLAN.md for completeness and spec alignment before implementation. Dispatches a plan-check subagent that enforces chunking for large plans.
Orchestrates parallel architecture and experience reviews of implementation plans, scores findings across dimensions like data flow and UX, consolidates ranked fixes for user approval and auto-application. Use after planning, before non-trivial coding.
Reviews and validates plans (implementation, research, design, migration, etc.) using parallel subagents for codebase alignment, best practices, standards, feasibility, and fresh perspectives.
Share bugs, ideas, or general feedback.
Dispatch a reviewer subagent to validate a plan before execution. Catches issues that are cheap to fix in a plan but expensive to fix mid-implementation.
Core principle: Plans are hypotheses. Validate before running the experiment.
Skip for: Single-task plans, hotfix plans, trivially small plans (no design doc needed).
Two-stage review:
Stage 1: Structural validation — Run validate-plan --schema {PLAN_DIR}/plan.json. If errors, report them and stop. No point dispatching LLM reviewer for structurally invalid plans.
Stage 2: Prose + design review — If schema passes, dispatch reviewer subagent.
Gather inputs:
$MAIN_ROOT/.claude/claude-caliper/YYYY-MM-DD-topic/ (containing plan.json + task .md files; main repo, not worktree)Dispatch with model: "$PLAN_REVIEWER_MODEL" — consistency checking requires strong reasoning.
Use subagent_type: "claude-caliper:plan-reviewer". The agent's static behavior (8-point checklist, output format) is in the agent definition. The invocation prompt contains only the plan dir, design doc path, and codebase root.
See: reviewer-prompt.md
Handled by validate-plan --schema:
| Category | Example | Why Planners Miss It |
|---|---|---|
| Artifact drift | Creates utils.ts, imports from helpers.ts | Renamed during planning without updating refs |
| Design mismatch | Design says REST, plan implements GraphQL | Diverged during decomposition |
| Missing tasks | Design specifies auth middleware, no auth task | Lost during decomposition |
| Implied context | "Modify the handler" without specifying file | Planner has context executor won't |
| Missing fields | No verification command or measurable done | Assumes executor will figure it out |
| Prose completeness | Steps too vague or avoid sections missing reasoning | Assumes executor will fill gaps |
| Different Claude Test | Task references "the handler" without path | Planner has context executor won't |
| Phase boundary issues | 9 tasks in single phase, no verification gates | Didn't apply complexity gates |
| Orphaned criteria | Design says "users can X" but no task verifies it | Lost during decomposition |
| Mock-stacking at cross-task seam | Two tasks both mock auth_middleware; no task exercises the real middleware | LLM judgment from task prose, not schema |
depends_on link, at least one task's verification exercises the seam without mocking the producer (skip if no Test Strategy section and no cross-task deps) (LLM focus)For multi-phase plans:
Reviewer produces:
Pass: Zero issues, or all issues fixed and confirmed clean Fail: Return to draft-plan to fix, then re-run plan-review
Re-review gate: Read the threshold: caliper-settings get re_review_threshold (default: 5). If the reviewer finds more issues than this threshold, after all fixes, dispatch a fresh reviewer with the same full scope to confirm clean. At or under the threshold, verify fixes and proceed.
Auto-dispatched by: draft-plan (after plan saved)
Leads to: orchestrate (once review passes)