review-plan
Skill6 starsChanged 2 months agoMITView on GitHub
Run plan-reviewer agent against a PLAN.md before execution. Use after /work plan phase and before approving execution. Use when you need an independent gate catching scope drift, atomicity failures, test gaps. Requires a fresh chat.
35 other projects use a version of this.
Adopted by
Most recently taken up by
- serionist/claude-session-restoretheir own version, first seen Nov 8, 2026
- mab-go/xmind-mcptheir own version, first seen Nov 8, 2026
- CsHeng/agent-skillstheir own version, first seen Nov 4, 2026
- alo-exp/silver-bullettheir own version, first seen Nov 1, 2026
- fitlab-ai/agent-infratheir own version, first seen Oct 27, 2026
- microsoft/vscode-team-kittheir own version, first seen Oct 27, 2026
Used with
Projects with it also use implement-plan, review-design and 9 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.
JasonPaffSkillimplement-plan
Execute implementation plan with structured tracking and validation using subagent architecture
Also in 5 projects that use this
dirkkok101Skillreview-design
Use before /plan, after /technical-design, when user says "review design", "check the design", or when design quality is uncertain.
Also in 3 projects that use this
NVIDIASkillreview-code
Review a code repository for concrete issues in correctness, robustness, security, maintainability, tests, and integration. Use for repository-wide or focused code review where practical engineering judgment and strict scope control matter.
Also in 7 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
am-willSkillplanner
Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.
Also in 3 projects that use this
sahinSkillexecute
Also in 3 projects that use this
Other versions35 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 35
- penpot/penpot★ 62ksame name
- JetBrains/youtrackdb★ 443same name
- wallstop/unity-helpers★ 176same name
- shader-slang/slangpy★ 156same name
- fitlab-ai/agent-infra★ 87same name
- microsoft/vscode-team-kit★ 65same name
- DasDigitaleMomentum/opencode-processing-skills★ 60same name
- Cleveland-RD/hivehouse★ 46same name
- atomicinnovation/accelerator★ 34same name
- hawkyre/hawk-skills★ 30same name
25 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 repository32 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- brainstorm-reviewSkill
- brainstormSkill
- conceptSkill
- defineSkill
- financial-reviewSkill
- light-spec-reviseSkill
- light-specSkill
- linear-hygieneSkill
- linearSkill
- phase-planSkill
- pipekit-helpSkill
- pipekit-updateSkill
- pk-bugSkill
- pk-exitSkill
- pk-expressSkill
- pr-fixSkill
- prod-readySkill
- pr-security-reviewSkill
- release-changelogSkill
- repo-security-reviewSkill
- roadmap-createSkill
- roadmap-reviewSkill
- security-gateSkill
- spec-preflightSkill
- startupSkill
- strategy-createSkill
- strategy-syncSkill
- sync-linearSkill
- tpmSkill
- verifySkill
- workSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 34 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 71
If missing, surface a clear message and offer to sync:
- Very specific: line 84
Use the Agent tool with subagent_type: "plan-reviewer".
- Distinctive: line 138
Always quote the agent's own Fast Path to Pass section verbatim — those are the concrete moves the user has to make.
- Very specific: line 148
Do not write a NEXT.md file — v2 retired the mirror.
- Very specific: line 152
After the verdict is delivered, resolve STATE_DIR=$(bash scripts/pipekit-state-dir.sh), mkdir -p "$STATE_DIR/pipeline-state", and write …
“Common” is measured: kept by at least 6 in 10 of the 34 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
Review Plan Skill
Fresh-chat check. If this conversation drafted the plan (e.g. ran
/work's planning phase) or watched it get drafted, start a new conversation. The reviewer must be independent of the planner. Seemethod.md§ Fresh-Chat Discipline.
You are a plan-review coordinator. Your job is to invoke the plan-reviewer agent against a PLAN.md before execution, present the structured review back to the user, and recommend a path forward (proceed to execute, route back for plan revision, or escalate). The plan comes from /work's inline planning, filed at .pk-work/<ID>-PLAN.md (native-on-Workflow is the sole executor as of v4.0.0).
This skill is Pipekit's plan-review gate — an independent stress-test between planning and execution. Native /work runs per-task verify-before-integrate, which is its own plan-safety mechanism, so upfront review matters most when a plan is large or high-risk — reach for /review-plan against .pk-work/<ID>-PLAN.md before kicking off execution in those cases.
Triggers
/review-plan PROJ-XXX— review the plan/workfiled at.pk-work/PROJ-XXX-PLAN.md/review-plan— auto-detect the most recent plan- "review the plan", "run plan-reviewer"
Purpose
/work's inline planning covers structural correctness (requirements coverage, circular deps, same-wave file conflicts, task counts, skill refs). It cannot see:
- Scope drift vs the approved spec
- Framing errors (solving the wrong problem)
- Confirmation bias in the planner's own judgment calls
- Atomicity failures between same-wave tasks
- Test meaningfulness — verify steps that say "tests pass" without naming what
- Domain risk coverage — RLS bypass traps, migration ordering, JWT scoping
- Strategic fit with future-phase plans
The plan-reviewer agent fills that gap. This skill orchestrates the call.
Prerequisites
- A
PLAN.mdto review./workfiles it at.pk-work/<ID>-PLAN.md— point this skill at that path. - The approved Light Spec is available — either as the description of a Linear issue tied to the current branch, or readable from a known location
.claude/agents/plan-reviewer.mdis installed (Pipekit ships this; if missing, runbash scripts/sync-method.sh)
Execution Steps
Step 1 — Resolve the plan path
Determine which plan(s) to review:
- Linear issue ID (
/review-plan PROJ-123) —/workfiles the plan at.pk-work/<ID>-PLAN.md; point this skill there. Resolve the ID from the current git branch (feature/proj-123-*) when not passed explicitly. - No argument — auto-detect: look for the most recent
.pk-work/<ID>-PLAN.md. If ambiguous, list plans with no review and ask the user to pick.
The plan is a single file:
ls .pk-work/<ISSUE-ID>-PLAN.mdStep 2 — Resolve the approved spec
The plan-reviewer agent compares the plan against the approved spec. Find the spec via this priority:
- Linear issue tied to current branch — extract
PROJ-XXXfromgit branch --show-current(matchesfeature/proj-xxx-*,fix/proj-xxx-*,hotfix/proj-xxx-*); read it via the project's Linear route —pk issue show PROJ-XXX --fields title,state,description(verb table:sop/Linear_SOP.md § Linear transport; themcproute's equivalent is listed there); extract the## Light Specand## Acceptance Criteria(or equivalent) sections from the description - User provides issue ID — same fetch path with the explicit ID
- No Linear context — ask the user to paste the approved spec, or provide a path to a local spec file
The full spec text passes to the agent verbatim. Do not summarize.
Step 3 — Verify plan-reviewer agent is installed
test -f .claude/agents/plan-reviewer.md && echo "installed" || echo "missing"If missing, surface a clear message and offer to sync:
plan-reviewer agent not found at .claude/agents/plan-reviewer.md.
Run `bash scripts/sync-method.sh` to install canonical Pipekit agents,
or copy agents/plan-reviewer.md from your Pipekit checkout.
Falling back to direct presentation: I'll show the PLAN.md structure
and let you review manually.Step 4 — Spawn the plan-reviewer agent
Use the Agent tool with subagent_type: "plan-reviewer". Pin the plan-review / adversarial tier per method.config.md § Model Policy (default opus, effort xhigh) — review has to catch what planning missed; give it at least the reasoning budget planning had.
Agent(
subagent_type: "plan-reviewer",
model: "{plan-review tier — default opus}",
description: "Review {PROJ-XXX} plan",
prompt: "Independent review of the plan for {PROJ-XXX} before execution.
Plan path:
{absolute path to .pk-work/<ID>-PLAN.md}
Approved spec (verbatim from {Linear PROJ-XXX | local spec file}):
<<<SPEC
{full Light Spec + Acceptance Criteria from the issue description}
SPEC
Project context:
- CLAUDE.md at repo root
- method.config.md at repo root
Follow the Review Protocol in your agent definition. Return the
structured markdown output (Verdict / Readiness Score / Blocking Issues
/ Non-Blocking Improvements / Scope Fidelity / Atomicity / Testability
/ Risk Coverage / Fast Path to Pass / Final Recommendation).
If you return Block or Revise, the orchestrator will relay your
Fast Path to Pass items back to the user; do not attempt to rewrite
the plan yourself."
)Step 5 — Present the review verdict
Display the agent's structured output verbatim, then add a one-line summary line at the top so the user can scan the verdict in one beat:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Plan Review Verdict: {Pass | Revise | Block} — {Readiness Score}/10
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
{full agent output below this line}Step 6 — Recommend a path forward
Based on the verdict:
| Verdict | Recommendation |
| Pass | "Plan is execution-safe. Proceed to execution when ready." |
| Revise (non-blocking only) | "Plan can proceed but here are improvements to apply during execution: {list}. Proceed to execution when you've decided which to address." |
| Block | "Do not execute. Re-run /work's planning to address the Fast Path items, or amend the spec via /light-spec-revise PROJ-XXX if scope/framing is wrong. Specifically: {list of blocking issues}." |
Always quote the agent's own Fast Path to Pass section verbatim — those are the concrete moves the user has to make.
Step 7 — Next-step output
Emit an inline ➜ Next: line in your terminal output. Pointer logic:
- Pass → proceed to execution (
/work) - Revise → proceed to execution (
/work) (with note about non-blocking improvements) - Block → re-plan via
/work(if plan-revise scope) or/light-spec-revise PROJ-XXX(if spec/framing scope)
Do not write a NEXT.md file — v2 retired the mirror; pk next reads "what's next?" live from Linear.
Step 8 — Pipeline state file
After the verdict is delivered, resolve STATE_DIR=$(bash scripts/pipekit-state-dir.sh), mkdir -p "$STATE_DIR/pipeline-state", and write $STATE_DIR/pipeline-state/<issue-id>.json per the SOP schema (stage: "review-plan", verdict, cwd, timestamp). Issue ID resolution mirrors Step 2's spec resolution. The path is out-of-repo so no hook block; write should always succeed.
Red Flags
Thoughts that mean "slow down on the review." Paired with .claude/rules/pipekit-discipline.md for the portable set.
| Flag | What it actually means |
| "The plan is small, skip the review" | Small plans hide framing errors most easily — there's less surface for Lead's self-review to catch issues. Run review regardless. |
| "The plan was already self-reviewed, that's enough" | /work's planning covers structural correctness only. The class of errors plan-reviewer catches (scope drift, atomicity, test meaningfulness) is structurally invisible to the planner. Don't conflate. |
| "I'll just eyeball it myself" | Probably you'll catch the same things the planner missed — confirmation bias works on humans too. The agent is a fresh pair of eyes. |
| "The spec was clear so the plan must be right" | Spec clarity doesn't guarantee plan fidelity. The planner can correctly understand a spec and still produce a plan that quietly expands scope. |
| "Block verdict but the issue seems minor" | Blocking issues are blocking by definition. If you disagree, push back on the plan-reviewer agent's framing — don't override the verdict. |
Common Drifts to Avoid
- Skipping the spec resolution → reviewing a plan without the approved spec means the agent can't catch scope drift. Always pass the spec verbatim.
- Summarizing the spec for the agent → the agent needs the AC section as written. Summary loses the testable conditions.
- Running review against partial PLAN.md → wait for planning to complete before reviewing. Partial plans return inflated Block verdicts.
- Treating Revise as Pass → non-blocking improvements are not free; they accumulate technical debt if always deferred. Address each one or explicitly accept the trade-off.
Relationship to Other Skills
| Skill | Relationship |
/work (native) | Plans inline and files the plan at .pk-work/<ID>-PLAN.md; run /review-plan against it before execution, then proceed to execution. /work does not spawn plan-reviewer directly. |
/light-spec-revise | Route here when plan-reviewer's Block verdict points at spec-level issues (framing, missing AC, scope ambiguity). |
plan-reviewer agent | The actual review work happens here; this skill orchestrates the invocation. |
Example Session
User: /review-plan RS-14
## Resolving plan…
- Plan: .pk-work/RS-14-PLAN.md (native, single file)
- Linear issue: RS-14 (resolved from current branch feature/rs-14-login-routes)
- Spec: 187 lines including Light Spec + Acceptance Criteria
## Verifying plan-reviewer agent…
✓ .claude/agents/plan-reviewer.md installed
## Spawning plan-reviewer (plan-review tier: opus)…
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Plan Review Verdict: Revise — 7/10
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
### Verdict
Revise
### Readiness Score
7/10
### Blocking Issues
(none)
### Non-Blocking Improvements
- **[C2]** Verify step on AC-9 ("login flow works") relies on "tests pass" without naming the test file or a specific assertion. Suggested fix: name `apps/web/src/app/(auth)/login/__tests__/login.test.ts` and the assertion that the redirect URL matches `next` query param.
- **[D2]** RLS-bypass risk on the OAuth callback path is unaddressed in plan body. Lead should annotate: "callback uses server-side `supabase.auth.getSession()` which bypasses anon-key RLS; if a future task introduces direct DB access from this route, RLS must be re-engaged."
### Scope Fidelity
Matches spec.
### Atomicity Assessment
All tasks atomic.
### Test Meaningfulness
Verify step on AC-9 is perfunctory (see Non-Blocking #1).
### Risk Coverage
Missed: OAuth-callback-server-bypass note.
### Fast Path to Pass
1. Annotate Task 3's verify with the specific test file + assertion (5 min)
2. Add Task 0.5 or Task 4 note: "RLS bypass acknowledged on callback path" (5 min)
### Final Recommendation
proceed to execution with these two improvements applied.
---
➜ Next: proceed to execution (RS-14)
(apply the two non-blocking improvements during execution; verify-step
sharpening can land in the same task commit)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.

