Skip to content
Skills Library
Management & product · Review & audit

plan-review

/plan-review

Use before presenting an implementation plan or design document to the user, before calling ExitPlanMode, or whenever you want a quality check on a plan/design ('check this plan', 'review my design before I share it', 'validate plan completeness'). Dispatches a sub-agent that scores the plan/design across four dimensions — feasibility, completeness, YAGNI, codebase alignment — and either passes it through or revises critical/major findings before user presentation. Orchestrator-level only; refuses sub-agent invocation. Trigger phrases include 'review this plan', 'check the design', 'validate t

Licence
Apache-2.0
Last repository change
17.06.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 17.06.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Use before presenting an implementation plan or design document to the user, before calling ExitPlanMode, or whenever you want a quality check on a plan/design ('check this plan', 'review my design before I share it', 'validate plan completeness'). Dispatches a sub-agent that scores the plan/design across four dimensions — feasibility, completeness, YAGNI, codebase alignment — and either passes it through or revises critical/major findings before user presentation. Orchestrator-level only; refuses sub-agent invocation. Trigger phrases include 'review this plan', 'check the design', 'validate t

Triggers from the description

check this planreview my design before I share itvalidate plan completenessreview this plancheck the design
Original author description

Use before presenting an implementation plan or design document to the user, before calling ExitPlanMode, or whenever you want a quality check on a plan/design ('check this plan', 'review my design before I share it', 'validate plan completeness'). Dispatches a sub-agent that scores the plan/design across four dimensions — feasibility, completeness, YAGNI, codebase alignment — and either passes it through or revises critical/major findings before user presentation. Orchestrator-level only; refuses sub-agent invocation. Trigger phrases include 'review this plan', 'check the design', 'validate t

How it works

  1. When to Invoke
  2. Parameters
  3. Process
  4. What This Skill Does NOT Do
  5. Common Mistake: Do NOT Use Code Review for Plans
Original SKILL.md headings · 113 lines, 603 words
SKILL.md preview
---
name: plan-review
description: Use before presenting an implementation plan or design document to the user, before calling ExitPlanMode, or whenever you want a quality check on a plan/design ('check this plan', 'review my design before I share it', 'validate plan completeness'). Dispatches a sub-agent that scores the plan/design across four dimensions — feasibility, completeness, YAGNI, codebase alignment — and either passes it through or revises critical/major findings before user presentation. Orchestrator-level only; refuses sub-agent invocation. Trigger phrases include 'review this plan', 'check the design', 'validate the plan', 'before showing the user', 'pre-approval review', 'plan quality check'.
allowed-tools: Read, Write, Edit, Glob, Grep, Bash
---

<SUB-AGENT-GUARD>
Requires Agent tool. If running as a sub-agent (Agent tool unavailable), STOP and return: "ERROR: /dso:plan-review requires Agent tool; invoke from orchestrator."
</SUB-AGENT-GUARD>

# Plan Review

Orchestrator-level skill that dispatches a `dso:plan-review` sub-agent to review plans and designs before the user sees them. This skill runs at the orchestrator level — it is NOT itself dispatched as a sub-agent (the SUB-AGENT-GUARD above enforces this).

## When to Invoke

**MANDATORY** before any of these:
- Presenting a design doc to the user for approval (brainstorming skill)
- Presenting an implementation plan to the user (writing-plans skill)
- Calling `ExitPlanMode` (plan mode)

The hook on `ExitPlanMode` enforces this mechanically. For brainstorming and writing-plans, this is skill-enforced.

## Parameters

| Parameter | Required | Default | Description |
|-----------|----------|---------|-------------|
| `artifact_type` | Yes | — | `"design"` or `"implementation_plan"` |
| `artifact_path` | Yes | — | Path to the plan/design file, or inline content |

## Process

### Step 1: Dispatch Review Sub-Agent

Launch a **single sub-agent** with the plan content and review rubric.

**Model selection:**
- `artifact_type: "design"` → `opus` (architectural reasoning)
- `artifact_type: "implementation_plan"` → `sonnet` (structural analysis)

**Sub-agent prompt:** Read and fill placeholders in `${CLAUDE_PLUGIN_ROOT}/docs/workflows/prompts/plan-review-dispatch.md`. Replace `{artifact_type}` and `{artifact content}` with actual values.

**Inline dispatch is required — `dso:plan-review` is an agent file identifier, NOT a valid `subagent_type` value.** The Agent tool only accepts built-in types (`general-purpose`, `Explore`, `Plan`, etc.). Read `agents/plan-review.md` inline and dispatch as `subagent_type: "general-purpose"` with the model below.

Launch with:
```
Agent tool:
  subagent_type: "general-purpose"
  model: opus (design) or sonnet (implementation_plan)
# Model rationale: design needs trade-off reasoning across architectural
# coherence (opus); implementation_plan needs structured analysis of task
# atomicity / dependency graph / TDD discipline (sonnet — haiku misses
# implicit coupling).
```

### Step 2: Process Results

First, validate the sub-agent's output schema (schema-hash: 9dba6875b85b7bc3):

```bash
REPO_ROOT=$(git rev-parse --show-toplevel)
source "${CLAUDE_PLUGIN_ROOT}/hooks/lib/deps.sh"
PLAN_OUT="$(get_artifacts_dir)/plan-review-output.txt"
cat > "$PLAN_OUT" <<'EOF'
<sub-agent output>
EOF
".claude/scripts/dso validate-review-output.sh" plan-review "$PLAN_OUT"
```

If `SCHEMA_VALID: no` — send a correction prompt to the sub-agent requesting the exact format; do not proceed until validation passes.

Then parse the validated output:

1. **If VERDICT is PASS** (all scores >= 4):
   - Write the marker file (see below)
   - Proceed to present the plan to the user
   - Include a brief note: "This plan was reviewed by a sub-agent. No issues found."

2. **If VERDICT is REVISE** (any score < 4):
   - Address each finding by severity: critical first, then major, then minor
   - For critical/major findings: revise the plan directly
   - For minor findings: revise if quick, otherwise note them for the user
   - **Do NOT re-run the review** — one pass is enough. Note what was changed.
   - Write the marker file
   - Present the revised plan to the user with a summary of what the review caught and what was changed

### Step 3: Write Marker File

After the review completes (pass or revise-then-fix), write the marker:

```bash
REPO_ROOT=$(git rev-parse --show-toplevel)
source "${CLAUDE_PLUGIN_ROOT}/hooks/lib/deps.sh"
ARTIFACTS_DIR=$(get_artifacts_dir)
mkdir -p "$ARTIFACTS_DIR"

cat > "$ARTIFACTS_DIR/plan-review-status" << EOF
passed
timestamp=$(date -u +%Y-%m-%dT%H:%M:%SZ)
artifact_type={design|implementation_plan}
verdict={PASS|REVISE}
scores=feasibility:{N},completeness:{N},yagni:{N},codebase_alignment:{N}
EOF
```

The `ExitPlanMode` hook checks for this file.

## What This Skill Does NOT Do

- No multi-stage review protocol (single pass only)
- No JSON schema output (findings are for the agent, not persisted)
- No automated revision cycles (agent fixes once, done)
- No conflict detection between findings

## Common Mistake: Do NOT Use Code Review for Plans

`/dso:review` reviews **completed code** (diffs, test coverage, bugs). It is wrong for plans. Use this skill (`/dso:plan-review`) for plans and designs. See CLAUDE.md `always:correct-review-tool` and the review routing table in "Always Do These".

Versions

RepositoryScoreLicence
This page · navapbc/digital-service-orchestra100Apache-2.0
qgadrian/aidrian100Apache-2.0
aws-solutions/konductor100Apache-2.0
mathews-tom/armory100MIT
noes-25h/agent-kit100MIT
unhaeos/hhmode100MIT
ndisisnd/msg100MIT
sd0xdev/sd0x-dev-flow100MIT
sean-sunagaku/claude-code-plugin100MIT

Database snapshot: 13.11.2026 · package version 96d70b16a95f (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100ywc-spec-validate
    (ywc) Use when a specification has been written and before task decomposition, and the user wants to validate spec completeness, consistency, feasibility, or readiness for implementation. Triggers: "사양 검토", "spec review", "사양 리뷰", "review specification", "스펙 점검", "check the…
  • 85plan-design-review
    Review the design completeness of an implementation plan when the user asks for a plan design review or design-completeness check. Assess seven dimensions, concrete interaction states, and generic design risks. Review-only requests produce findings; requested plan improvements…
  • 100replan
    Review and validate an existing implementation plan by launching parallel subagents that check it from multiple angles — codebase alignment, best practices, code standards, feasibility, and fresh perspectives. Use whenever you have a plan ready and want to validate it before…
  • 100validate-plan
    This skill should be used when the user asks to 'validate a plan', 'check plan against spec', or 'verify plan alignment'. Validates a project plan against its parent spec for alignment, missing requirements, and consistency.
  • 100plan-feature
    Structured feature planning workflow. Use when the user says "plan a feature", "design this", "how should we build", "feasibility check", or any pre-implementation planning work. Covers requirements, investigation, feasibility, and implementation planning.
  • 100arn-code-review-plan
    This skill should be used when the user says "review plan", "validate plan", "check plan", "sanity check the plan", "verify plan", "review my plan", "audit plan", "is my plan ready", or wants to validate a structured project plan for completeness, correctness, and pattern…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.