review-plan
Skill0 starsChanged 10 months agoMITView on GitHub
Review plan.md OR a single phase file against templates AND codebase compliance. Use after creating planning documents or when asked to 'review the plan', 'check the phase', 'verify template compliance'. Each invocation reviews ONE file only. Do NOT use for creating plans (use /create-plan) or implementing phases (use /implement).
20 other projects use a version of this.
Adopted by
Most recently taken up by
- hawkyre/hawk-skillstheir own version, first seen Sep 28, 2026
- nexus-a1/claude-skillstheir own version, first seen Sep 27, 2026
- mgiovani/cc-arsenaltheir own version, first seen Sep 25, 2026
- atomicinnovation/acceleratortheir own version, first seen Sep 22, 2026
- fitlab-ai/agent-infratheir own version, first seen Sep 11, 2026
- nielsmadan/skillstheir own version, first seen Sep 5, 2026
Used with
Projects with it also use implement-plan, review-security and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
jesgarramSkillimplement-plan
Convert a plan document into Claude Code tasks with dependencies. Pure parser that reads plans from context/plans/ and creates executable task workflows.
Also in 4 projects that use this
PydanticSkillreview-security
Security review of the current branch against its merge base — sandbox escapes, memory errors, panics and resource-limit bypasses. Use when reviewing changes for security risk, or before merging anything touching the heap/ module, path_security.rs, the wire protocol or the pool.
Also in 3 projects that use this
andrewvaughanSkillreview-code
Run a comprehensive multi-perspective code review on current changes. Activates the Review Council (security, quality, documentation, domain review) and runs automated security scanning. Use before creating a pull request or when you want a thorough review of your work.
Also in 5 projects that use this
Microsoft AzureSkillreview-pr
Review a pull request for functional issues, coding guideline adherence, and best practices. Use this when asked to review, inspect, or provide feedback on a pull request (Azure DevOps or GitHub). Proposes comments for user approval before posting.
Also in 5 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 4 projects that use this
MicrosoftSkillinit
Generate or update chat customization files for AI coding agents
Also in 3 projects that use this
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- JetBrains/youtrackdb★ 437same name
- fitlab-ai/agent-infra★ 86same name
- DasDigitaleMomentum/opencode-processing-skills★ 59same name
- atomicinnovation/accelerator★ 34same name
- hawkyre/hawk-skills★ 30same name
- amatray/claude-skills-public★ 9same name
- mgiovani/cc-arsenal★ 8same name
- paultyng/skill-issue★ 8same name
- geemus/hax-yax★ 4same name
- howar31/magi-workflow★ 3same name
10 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- audit-planSkill
- builder-workflowSkill
- code-reviewSkill
- context7-mcpSkill
- create-planSkill
- customizeSkill
- devSkill
- hand-crafted-svgSkill
- implementSkill
- improve-promptSkill
- playwright-e2eSkill
- playwright-mcpSkill
- postgres-expertSkill
- react-form-builderSkill
- sequential-thinking-mcpSkill
- server-action-builderSkill
- service-builderSkill
- tavily-mcpSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
32 rules. 0 are common, 26 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
26
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
If arguments contain "phase" followed by a number → Review that phase file
- Distinctive: line 25
If arguments contain only a folder path → Review plan.md
- Very specific: line 64
Before starting work, run TaskList to check if tasks already exist from a previous session or before a compact.
- Very specific: line 65
Read existing tasks with TaskGet for each task ID
- Distinctive: line 69
If no tasks exist, create them after determining the review type (Step 1):
- Very specific: line 103
Create the reviews/planning/ directory if it doesn't exist.
- Distinctive: line 111
Use the arguments parsed at the top of this document:
- Distinctive: line 112
No phase specified → Review plan.md
- Distinctive: line 158
Check if each required section exists in the target file
- Distinctive: line 187
Use Glob to find 2-3 files matching the phase type pattern
- Distinctive: line 188
Read the most relevant one (prefer files in similar feature areas)
- Distinctive: line 203
Only flag verifiable deviations: If you can see the correct pattern in the reference file and the phase code differs, that's a valid …
- Distinctive: line 225
After writing the review file, run the validation script to catch structural issues:
- Distinctive: line 265
After fixing, re-read the phase file to verify each fix is correct.
- Distinctive: line 267
Update the review file:
- Distinctive: line 270
Update the Verdict to reflect only remaining unfixed issues
- Distinctive: line 274
After writing the review file, return:
- Distinctive: line 286
Action directive for main agent: If there are deferred items or Medium/Low suggestions, end your summary with:
- Distinctive: line 297
If you notice context was compacted or you're unsure of current progress:
- Very specific: line 299
Run TaskList to see all tasks and their status
- Very specific: line 301
Run TaskGet {id} on that task to read full details
- Distinctive: line 314
NO git commands (you don't have Bash access)
- Distinctive: line 315
ONLY write files within the plan folder (review files AND phase file fixes)
- Distinctive: line 316
Read the appropriate template before reviewing
- Distinctive: line 317
Check EVERY section, not just a sample
- Distinctive: line 318
Codebase compliance: Read at least one reference file before flagging issues
- Distinctive: line 319
Codebase compliance: Only flag verifiable deviations (pattern clearly differs from reference)
- Distinctive: line 321
Auto-fix: Default is to fix. Only defer for genuine scope changes or ADR contradictions
- Distinctive: line 322
Auto-fix: Use Glob/Grep to verify before claiming "needs codebase verification" — you have the tools
- Distinctive: line 332
Fix: Ensure Step 6 (Identify Phase Type and Find References) reads an actual codebase file.
- Very specific: line 338
Fix: Use Glob to list all files in the plan folder: plans/{folder}/phase-*.md.
- Distinctive: line 344
Fix: Check if a review file already exists at the output location before writing.
“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- ultrathink: Enable extended thinking for thorough plan review -->Plan Review
YOUR ARGUMENTS: $ARGUMENTS
Arguments are provided above via $ARGUMENTS. Asking the user to re-provide them wastes their time since the data is already available. Parse them and proceed with the review.
Parse the arguments to determine what to review:
- If arguments contain "phase" followed by a number → Review that phase file
- If arguments contain only a folder path → Review plan.md
- The first part is always the plan folder path (e.g.,
plans/voice-assistant) - A bare number like
11meansphase 11
Examples: plans/voice-assistant → review plan.md | plans/voice-assistant phase 11 → review phase-11 | plans/voice-assistant 11 → review phase-11
One file per invocation. Reviewing multiple files causes cognitive overload and superficial results — the user experienced agents ignoring templates when given too many files.
Two-Layer Review
This skill performs two complementary checks:
| Layer | What It Catches | Example |
| Template Compliance | Missing sections, incomplete structure | No "Step 0: TDD" section, missing acceptance criteria |
| Codebase Compliance | Code blocks that won't compile or violate patterns | Wrong Server Action pattern, missing auth check, bad import paths |
Why two layers? Template compliance alone produces "12/12 Ready" verdicts for phases containing compilation-breaking issues. In real reviews, template compliance caught 0 of 26 actual issues. All real problems were codebase compliance — wrong API signatures, missing imports, naming violations, patterns that wouldn't work.
| Issue Type | Template Check | Codebase Check |
| Missing section | Caught | N/A |
| Wrong Server Action pattern (missing auth/validation) | Missed | Caught |
Missing getSession() auth check | Missed | Caught |
| Bad import path (wrong alias resolution) | Missed | Caught |
Schema file in plural schemas/ not singular schema/ | Missed | Caught |
| Server action missing account slug resolution | Missed | Caught |
| Exported class instead of factory wrapping private class | Missed | Caught |
Missing server-only import | Missed | Caught |
| Plan says "update documentation" (violates CLAUDE.md) | Missed | Caught |
Note: Codebase compliance is skipped for plan.md reviews (only phases contain code blocks).
Task Tracking
Tasks survive context compacts — skipping this check causes lost progress and repeated work.
Before starting work, run TaskList to check if tasks already exist from a previous session or before a compact. If tasks exist:
- Read existing tasks with
TaskGetfor each task ID - Find the first task with status
pendingorin_progress - Resume from that task — do NOT recreate the task list
If no tasks exist, create them after determining the review type (Step 1):
Example task list (phase review):
Task 1: Determine review type and read template
Task 2: Read the target phase file
Task 3: Run automated validators
Task 4: Compare against template (section-by-section)
Task 5: Check specific requirements
Task 6: Find reference implementations
Task 7: Codebase compliance check
Task 8: Write review file using template
Task 9: Validate review format
Task 10: Auto-fix Critical/High/Medium issues
Task 11: Return summary with next stepsMark each task in_progress when starting and completed when done.
Output Location
Planning reviews go in the reviews/planning/ subfolder:
For plan.md review:
Write to: {plan-folder}/reviews/planning/plan.md
For single phase review:
Write to: {plan-folder}/reviews/planning/phase-{NN}.md
Examples:
plans/250202-voice-assistant/reviews/planning/plan.md(plan.md)plans/250202-voice-assistant/reviews/planning/phase-01.md(phase 01)plans/250202-voice-assistant/reviews/planning/phase-12.md(phase 12)
Create the reviews/planning/ directory if it doesn't exist. You may ONLY write files within the plan folder.
Note: Code/implementation reviews go in
reviews/code/instead — see/code-reviewskill.
Workflow
Step 1: Determine Review Type
Use the arguments parsed at the top of this document:
- No phase specified → Review plan.md
phase NNor bare number specified → Review phase-NN-*.md
Step 2: Read the Appropriate Template
For plan.md review:
Read ../create-plan/references/PLAN-TEMPLATE.md
For phase review:
Read ../create-plan/references/PHASE-TEMPLATE.md
Extract all required sections from the template.
Step 3: Read the Target File
For plan.md review:
Read {plan-folder}/plan.md
For phase review:
Find and read {plan-folder}/phase-{NN}-*.md (use Glob to find the exact filename)
Step 4: Compare Against Template
First, run the automated validators to catch structural issues before manual review:
# Verify required sections exist (for phase files)
echo '{"cwd":"."}' | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/validators/validate_file_contains.py \
--directory {plan-folder} --extension .md \
--contains '## Overview' \
--contains '## Requirements' \
--contains '## Implementation Steps' \
--contains '## Acceptance Criteria'
# Check for skeleton/placeholder content
echo '{"cwd":"."}' | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/validators/validate_no_placeholders.py \
--directory {plan-folder} --extension .md
# For phase files: verify TDD ordering
echo '{"cwd":"."}' | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/validators/validate_tdd_tasks.py \
--directory {plan-folder} --extension .mdInclude any validator failures in the review findings as Critical issues.
Then go through the template section-by-section manually:
- Check if each required section exists in the target file
- Note missing sections
- Note incomplete sections (header exists but content missing)
Step 5: Check Specific Requirements
See checklist.md for detailed criteria covering:
- Template structure compliance
- Project framework alignment section (plan.md only)
- Security requirements section (plan.md only)
- Phase constraints — size, dependencies, Step 0 TDD (phase files only)
Step 6: Identify Phase Type and Find References
Skip this step for plan.md reviews.
Classify the phase by its primary deliverable:
| Phase Type | Indicators | Reference Pattern to Search |
| Schema/Database | Creates tables, migrations, RLS | supabase/migrations/*.sql |
| Service | Creates createXxxService() | app/home/[account]/**/*service*.ts |
| Server Action | Creates Server Actions with auth + Zod | app/home/[account]/**/*server-actions*.ts |
| Schema (Zod) | Creates validation schemas | app/home/[account]/**/*.schema.ts |
| UI/Component | Creates React components, pages | app/home/[account]/**/_components/*.tsx |
| Mixed | Multiple types | Find reference for each type |
Find the closest reference implementation:
- Use Glob to find 2-3 files matching the phase type pattern
- Read the most relevant one (prefer files in similar feature areas)
- This reference is your ground truth for what correct code looks like
Example: For a phase creating server actions, read an existing *-server-actions.ts file like app/home/[account]/feature/_lib/server/server-actions.ts.
Step 7: Codebase Compliance Check
Skip this step for plan.md reviews.
For each code block in the phase file:
- Compare against the reference from Step 6
- Check against the codebase compliance checklist in checklist.md
- Flag deviations with severity (Critical/High/Medium/Low)
Only flag verifiable deviations. If you can see the correct pattern in the reference file and the phase code differs, that's a valid finding. Flagging ambiguous or intentional design choices produces noisy reviews that waste the user's time.
Severity guide:
- Critical: Won't compile or will crash at runtime (wrong function signature, bad imports)
- High: Violates security or established patterns (missing auth, wrong RLS, missing permission check)
- Medium: Naming/convention violations that cause confusion (wrong file paths, inconsistent naming)
- Low: Style issues that don't affect functionality (comment style, ordering)
Step 8: Read Output Template and Write Review File
Reviews written without reading the template first produce inconsistent formats that the user cannot compare across phases. Read PLAN-REVIEW-TEMPLATE.md and follow the exact format specified:
- Variant A for plan.md reviews
- Variant B for phase reviews
The template defines the exact sections, table columns, and verdict format. Inventing custom formats breaks the user's ability to track review status consistently across phases.
Write to:
- Plan.md review:
{plan-folder}/reviews/planning/plan.md - Phase review:
{plan-folder}/reviews/planning/phase-{NN}.md
Step 8b: Validate Review Format
After writing the review file, run the validation script to catch structural issues:
python $CLAUDE_PROJECT_DIR/.claude/skills/review-plan/scripts/validate_review.py {review-file-path}The script auto-detects whether this is a plan.md review (Variant A) or phase review (Variant B). If validation fails, fix the reported issues in the review file before proceeding.
Step 9: Auto-Fix Critical, High, and Medium Issues
Skip this step for plan.md reviews or if no Critical/High/Medium codebase issues were found.
Default: FIX IT. Most review issues are straightforward pattern corrections. A review that identifies problems but fixes nothing is only half the job — the user depends on auto-fix to save implementation time.
Fix Critical, High, and Medium issues directly in the phase file:
- For each Critical/High/Medium issue: a. Read the reference file cited in the issue (if not already read) b. Locate the problem in the phase file c. Apply the fix using Edit (for targeted changes) or Write (for larger rewrites)
- Examples of fixes to make (never defer these):
- Title/phase number mismatches — filename is the source of truth
- Missing
'use client'directives in code blocks - Wrong import paths or import ordering
- Wrong file locations (e.g., wrong test directory)
- Missing code blocks where the review says "should have concrete examples" — write them
- Wrong function signatures — fix to match the reference
- Removing documentation update steps — CLAUDE.md prohibits proactive docs
- Wrong skill references (e.g.,
/review-phase→/code-review) - Convention violations where the correct pattern is clear from reference
- "Needs codebase verification" — use your Glob/Grep tools to verify, then fix
- Medium severity: Pattern deviations where reference shows correct approach
- Medium severity: Missing code blocks where review says "should have concrete examples"
- The ONLY reasons to defer to the main agent (use sparingly):
- The fix would change which features the phase delivers (scope change)
- The fix contradicts an ADR or Decision Log entry
- You genuinely cannot determine the correct fix even after using Glob/Grep to investigate
- After fixing, re-read the phase file to verify each fix is correct.
- Update the review file:
- Append "(Auto-fixed)" to fixed items in the Issues table
- Fill in the "Fixes Applied" section (see template)
- Update the Verdict to reflect only remaining unfixed issues
Step 10: Return Summary with Next Steps
After writing the review file, return:
- Review file location
- Verdict (Ready/Not Ready) — based on remaining unfixed issues only
- Template score (e.g., "12/12 sections")
- Codebase score (e.g., "3 issues: 1 critical, 2 medium") — phase reviews only
- Auto-fixed (count and brief list of what was fixed — includes Critical, High, and Medium)
- Deferred to main agent (issues not auto-fixed and why)
- Next Steps for Low — present as improvement opportunities (fix unless hallucinated or purely cosmetic)
Improvement mindset: When listing Medium/Low issues, frame them as concrete improvements worth doing now — not optional niceties. Phases are rarely revisited after completion, so "fix later" effectively means "never." The user prefers investing in quality now over speed. Suggest specific enhancements that would make the phase better, even if they go slightly beyond strict requirements.
Action directive for main agent: If there are deferred items or Medium/Low suggestions, end your summary with:
ACTION REQUIRED: [N] deferred items and [M] improvement suggestions need main agent attention.
Please review the items above and fix or discuss with the user before proceeding to implementation.This ensures the main agent acts on the findings rather than just echoing the summary.
Resuming After Context Compact
If you notice context was compacted or you're unsure of current progress:
- Run
TaskListto see all tasks and their status - Find the
in_progresstask — that's where you were - Run
TaskGet {id}on that task to read full details - Continue from that task — don't restart from the beginning
Tasks persist across compacts. The task list is your source of truth for progress, not your memory.
Pattern for every work session:
TaskList → find in_progress or first pending → TaskGet → continue work → TaskUpdate (completed) → next taskConstraints
- ONE file per invocation — Either plan.md OR one phase file, never both
- NO git commands (you don't have Bash access)
- ONLY write files within the plan folder (review files AND phase file fixes)
- Read the appropriate template before reviewing
- Check EVERY section, not just a sample
- Codebase compliance: Read at least one reference file before flagging issues
- Codebase compliance: Only flag verifiable deviations (pattern clearly differs from reference)
- Codebase compliance: Skipped for plan.md reviews (no code blocks to verify)
- Auto-fix: Default is to fix. Only defer for genuine scope changes or ADR contradictions
- Auto-fix: Use Glob/Grep to verify before claiming "needs codebase verification" — you have the tools
The user depends on thorough, section-by-section verification AND code block verification. Skimming and saying "looks good" without checking each section causes issues to be discovered during implementation when they're more costly to fix.
Troubleshooting
Review Produces "12/12 Ready" But Phase Has Code Issues
Cause: Template compliance check passed (all sections exist) but codebase compliance was skipped or superficial.
Fix: Ensure Step 6 (Identify Phase Type and Find References) reads an actual codebase file. The reference file is ground truth for what correct code looks like. Without it, code blocks can't be verified.
Phase File Not Found
Cause: Phase number in arguments doesn't match any phase-{NN}-*.md file in the plan folder.
Fix: Use Glob to list all files in the plan folder: plans/{folder}/phase-*.md. Verify the phase number matches the file naming pattern.
Review File Overwrites Previous Review
Cause: Running review twice on the same file without reading the previous review first.
Fix: Check if a review file already exists at the output location before writing. If it does, read it first and note what changed since the last review.
Delegation & Batching
For instructions on spawning multiple review agents in batches, see delegation.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

