norbertsuski/sdd-toolkit/sdd-plan-review
Claude Code and agent skill by norbertsuski/sdd-toolkit
- community
Checking that the SKILL.md file is still in the repository.
Review implementation plans for substance, feasibility, and architectural fitness. Use when user asks to review a plan, says "is this plan good", "check my plan", "review this plan", mentions plan review, or references a plan file and asks for feedback. Also trigger when user finishes /sdd-plan and wants validation before starting /sdd-implement.
Install
npx vskill@latest install norbertsuski/sdd-toolkit/sdd-plan-reviewSKILL.md
The same SKILL.md was published earlier as norbertsuski/sdd-toolkit/sdd-plan-review.
Plan Review
Catch substance problems in an implementation plan before a line of code is written. A flawed plan costs hours — a flawed review costs minutes.
Where /sdd-impl-review asks "did we build what we planned?", this asks "will this plan actually work?"
Two modes:
- Fresh review: analyze → findings → interactive triage
- Resume triage: load a saved report and jump to per-issue triage
Input resolution
- Resolve `CONTEXT_ROOT` per
../sdd-shape/references/context-resolution.md: prefer inheriting it from an input path when one was given (a plan path under a discovered root reveals both the root and, for legacy roots, the<app>); otherwise run the reference's discovery + pick algorithm.app:is omitted for flat roots — do not require it. - Argument points to a saved review file (contains
<!-- PLAN-REVIEW-REPORT -->) → resume triage (skip to Step 6) - Argument is a
<change-id>and$CONTEXT_ROOT/changes/<change-id>/plan.md(legacy:context/<app>/changes/<change-id>/plan.md) exists → review that plan - Plan path provided (e.g.
@<CONTEXT_ROOT>/changes/<change-id>/plan.md) → use it - No argument → enumerate the discovered roots (Step 0) and list
$CONTEXT_ROOT/changes/*/plan.mdwithin each (newest bychange.md.updated) via Ask the user. If a single root was resolved, list within it directly. --quickflag → document-only mode (skip Step 3)
If the resolved plan path falls under $CONTEXT_ROOT/archive/ (legacy: context/<app>/archive/), refuse to write a review: print "This change is archived. Reviews are not appended to archived plans." and STOP.
Step 1: Load and internal consistency scan
Read the plan file fully. Also read the sibling plan-brief.md in the same change folder if it exists. Read $CONTEXT_ROOT/foundation/lessons.md (legacy: context/<app>/foundation/lessons.md) if present and use accepted rules as priors when scanning for substance / feasibility / contract-break issues — a finding that restates a known recurring rule should weigh more, not less. Extract:
- Desired End State and Success Criteria
- Current State Analysis — documented constraints and gotchas
- Scope boundaries — "What We're NOT Doing"
- Phases — file paths, changes, dependencies
- Decisions and assumptions (explicit and implicit)
- Progress section — the canonical
## Progressblock at the bottom of the plan (seereferences/progress-format.md)
Before any code verification, check the plan against itself. These three scans often catch the highest-value issues — problems the plan author discovered but didn't fully follow through on:
- Contradiction: does Current State Analysis document a limitation the implementation ignores? (e.g., "npm doesn't run preuninstall for deps" yet phases rely on it) Do items from "What We're NOT Doing" reappear in phases? Does a phase assume a behavior elsewhere acknowledged as broken?
- Promise gap: every capability promised in Desired End State / Success Criteria / Migration Notes should have a backing phase. If success criteria say "rate limiting works" but no phase builds it, the implementer hits a gap mid-build.
- Contract breaks (when the plan defines or uses API endpoints): trace data flow across endpoints — if step B needs a token/ID from step A, does A's response include it? Flag unresolved design decisions the implementer would have to guess at (which endpoint, which auth method, which storage for rate-limit state).
- Contract surfaces touched: if
docs/reference/contract-surfaces.mdexists in the project, read it and extract the list of H2 headings as surface names. Rungrep -Fagainst the plan text with one-e <surface name>per heading. For each hit, read the relevant H2 section ofcontract-surfaces.mdand verify (a) the plan accurately reports the current shape of the surface, and (b) any rename or schema change is flagged as breaking with a migration story for downstream consumers. If the file does not exist, skip this check silently — it's an opt-in convention self-bootstrapped on first use by/sdd-contractor/sdd-impl-review's triage branch. The H2-derived grep list means: when a consumer adds a new surface to their file, the next plan-review picks it up automatically — no SKILL.md edit needed. - Progress↔Phase consistency (mechanical contract — see
references/progress-format.md): - Exactly one
## Progressheading at the bottom of plan.md. - Each
## Phase N: <name>in the plan body has a matching### Phase N: <name>in Progress. - Every Success Criteria bullet (under
#### Automated Verification:/#### Manual Verification:) in a Phase block has a matching- [ ] N.M <title>(or- [x]) in the corresponding Progress subsection. - Phase blocks contain plain
-bullets only — no- [ ]or- [x]outside the Progress section.
Treat any of these as a CRITICAL finding under Plan Completeness — /sdd-implement will fail to parse a malformed Progress section.
Step 2: Grounding
Quick, no sub-agents:
- Paths: Execute a shell command to list files (
ls -l) on ≥5 file paths the plan claims to modify. Non-existent paths are critical. - Symbols: Execute a shell command to search for specific functions/config keys the plan references (
grep). - Brief↔plan consistency: phases, decisions, scope match?
Report inline: Grounding: 5/5 paths ✓, 3/3 symbols ✓, brief↔plan ✓. Only escalate to a finding on failure.
Step 3: Codebase verification (deep mode only)
Skip if --quick.
From Steps 1–2, identify the 3–5 riskiest claims in the plan — things that, if wrong, force significant rework. Launch one sub-agent with three combined tasks:
- Verify the riskiest claims against the actual code. For each: what does the code show, does it confirm or contradict the plan, with file:line evidence.
- Blast-radius sweep: for functions, constants, or endpoints the plan modifies, search the codebase for other callers/importers not mentioned in the plan. These are files the plan doesn't know it's affecting.
- Pattern check (only if plan introduces new patterns): do existing files in the touched areas already solve this? Pattern proliferation is a common finding.
Give the sub-agent targeted questions with relevant file paths — don't dump the full plan. A focused prompt finds more than a broad sweep because the agent knows what to look for.
Step 4: Substance analysis
Analyze the plan against five dimensions. Only produce findings for real issues — don't pad with "no issues found".
End-State Alignment
Walking phases sequentially, does the system reach the stated end state? Could all success criteria pass while the goal remains unmet? Any "last mile" gap where the plan does 90% and stops short?
Lean Execution
For each phase: "if I removed this, would the end state still be achievable?" Watch for premature abstraction, "while we're here" additions, framework-where-a-function-would-do, scope contradictions ("not doing" items appearing in phases).
Architectural Fitness
Does this fit the existing system? New patterns where existing ones would work (pattern proliferation). Clean module boundaries and correct dependency direction. High-blast-radius changes — phases touching many files across modules, changes to shared utilities. Vague "refactor as needed" or "update accordingly" that will spiral.
Blind Spots
What didn't the plan consider? Error paths (only happy path described?), rollback story (phase 3 fails — can we revert?), resource/cost impact (API calls, computational work — what does this cost at expected usage?), default value changes (a default that triples cost or time should be called out), testing gaps, security boundaries.
Plan Completeness
Is the document actionable? File paths specific (not "somewhere in src/")? Changes at function/method level? Success criteria with runnable commands? TBDs, TODOs, or placeholder sections?
Step 5: Compile findings
Each finding has:
- ID: F1, F2, F3…
- Severity: CRITICAL / WARNING / OBSERVATION (how bad if ignored)
- Impact: LOW / MEDIUM / HIGH (how much focus the decision needs)
- Dimension: one of End-State Alignment / Lean Execution / Architectural Fitness / Blind Spots / Plan Completeness
- Title: one line
- Location: plan section or phase
- Detail: what's wrong with evidence — plan's claim vs. what's actually true, or what's missing
- Fix options: 1 or 2 (see below)
Impact
Orthogonal to severity. A CRITICAL with LOW impact (obvious fix) is cheap to resolve; a WARNING with HIGH impact (unclear tradeoffs, wide blast) deserves careful thought.
| Impact | Meaning | |
|---|---|---|
| 🏃 LOW | Quick decision. Fix is obvious and narrowly scoped. Safe to batch. | |
| 🔎 MEDIUM | Worth pausing. Real tradeoff or non-trivial edit — think before deciding. | |
| 🔬 HIGH | Architectural stakes. Wide blast radius, strategic implications, or unclear best path. |
Fix options
Default to one fix. Only present two when there's a genuine tradeoff a smart reviewer would want to weigh — not every finding has alternatives worth manufacturing.
When to offer two fixes: when approach A and approach B each have a real upside the other lacks (e.g., "minimal edit that patches the symptom" vs. "refactor that removes the class of problem"). If you find yourself inventing a weak second option to satisfy a template, don't — present one fix and move on.
LOW-impact findings: skip the decomposition — just Fix: [one line]. Noise isn't helpful when the answer is obvious.
MEDIUM/HIGH-impact findings: each option gets:
When offering two options, mark exactly one ⭐ Recommended.
Dimension verdicts and overall verdict
Each dimension: PASS / WARNING / FAIL.
- SOUND — safe to implement. All PASS, or PASS with minor warnings.
- REVISE — needs targeted fixes. Multiple warnings or 1 non-critical FAIL.
- RETHINK — fundamental problems. Multiple FAILs or wrong approach.
Sort findings by severity: CRITICAL → WARNING → OBSERVATION. Cap at 10 — consolidate related findings if you have more.
Step 6: Present report and offer save
Plain text, box-drawing. Findings grouped by severity; omit empty groups. PASS dimensions appear only in the verdicts table, never as findings.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sdd-plan-review/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/norbertsuski/sdd-toolkit/sdd-plan-review)