Validates plans before execution via structural schema checks and LLM subagent review for design, prose, and consistency issues. Use after drafting plans, before implementation.
npx claudepluginhub nikhilsitaram/claude-caliper --plugin claude-caliper-workflowThis skill uses the workspace's default tool permissions.
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.
Dispatches reviewer subagent to verify PLAN.md quality, task decomposition, and spec alignment before implementation phase. Handles chunking for large plans.
Validates implementation plans against requirements and design docs by mapping acceptance criteria coverage, checking architectural alignment, and flagging ambiguities or gaps. Use after plan creation.
Evaluates implementation plans before execution using checklists for security, testing, architecture, error handling, and code quality. Provides structured feedback saved to work directory.
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 (7-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 |
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)