dsifry/metaswarm/plan-review-gate
Claude Code and agent skill by dsifry/metaswarm
- community
Checking that the SKILL.md file is still in the repository.
Automatic adversarial review gate that spawns 3 independent reviewers in parallel once a plan is written - all must PASS before writing-plans presents the plan
Install
npx vskill@latest install dsifry/metaswarm/plan-review-gateSKILL.md
The same SKILL.md was published earlier as dsifry/metaswarm/plan-review-gate.
Plan Review Gate
Core principle: No plan reaches the user without surviving independent adversarial scrutiny.
Purpose
This skill automatically activates once an implementation plan is written, before writing-plans presents the plan (see `./guides/workflow-enforcement.md`). It spawns three independent adversarial reviewers in parallel — Feasibility, Completeness, and Scope & Alignment — each as a fresh Task() instance. ALL three must PASS. On failure, the planner incorporates feedback and resubmits to entirely fresh reviewer instances. After each round the gate applies the severity rule from `./guides/delivery-scope.md` (at most 10 rounds) to advance, iterate, clarify or escalate.
Activation Triggers
This skill auto-activates when:
- An implementation plan is drafted (by planner, explorer, or orchestrator)
- writing-plans has written the plan, before its Execution Handoff (link the plan, user review request, execution choice)
- The orchestrator's plan validation phase produces a plan for review
- User explicitly requests:
/plan-review <path-to-plan>
Do NOT use for: Trivial changes (single-file bug fixes, copy edits, config tweaks). The plan must have at least 2 work units or touch 3+ files to warrant gate review. A plan that builds or changes user-facing UI (screens, components or flows, not a text-only edit) always gets the gate, whatever its size, so the Completeness check for a UI integration work unit still runs.
The 3 Adversarial Reviewers
Each reviewer is a fresh Task() instance with read-only access to the codebase. Reviewers report every finding in the 6-field contract (title, description, severity, protects, evidence, blocker) plus the signal fields (theme on every finding; needs_user, origin and assumption on blockers) from ./guides/delivery-scope.md, and return PASS/FAIL: FAIL only if at least one finding has blocker: yes.
Reading the check tables. The tables below keep their wording and map onto the contract:
- "BLOCKING if …" checks produce critical or major findings. They block only with
protects(the user requirement, DoD item or credible scenario the check protects). - "WARNING" checks produce minor findings, recorded as follow-ups.
Reviewer 1: Feasibility
Can this plan actually be executed against the real codebase?
| Check | Classification | Criteria | |
|---|---|---|---|
| File paths exist | BLOCKING if fabricated | Every file path referenced in the plan must exist (verify with glob/grep) | |
| Dependency ordering correct | BLOCKING if circular or forward-ref | Work units depend only on things that exist or are created before them | |
| Technical approach matches codebase | BLOCKING if incompatible | Proposed patterns, libraries, and conventions match what the codebase actually uses | |
| No unstated assumptions | BLOCKING if critical | Plan does not silently depend on services, env vars, or infrastructure that doesn't exist | |
| File scope realistic | WARNING | Each work unit's file scope is achievable without cascading changes |
Reviewer 2: Completeness
Does the plan fully address every aspect of the user's request?
| Check | Classification | Criteria | |
|---|---|---|---|
| All requirements mapped | BLOCKING if gap exists | Every user requirement maps to at least one plan item | |
| Verification steps defined | BLOCKING if missing | Each change has a way to verify it worked (test, manual check, or assertion) | |
| Edge cases considered | BLOCKING if obvious gaps | Error scenarios, empty states, boundary conditions addressed | |
| Rollback/backward compatibility | WARNING | Plan considers what happens if changes need to be reverted | |
| Cross-file integration points | BLOCKING if missing | Files that import/depend on changed files are accounted for |
Reviewer 3: Scope & Alignment
Is the plan right-sized for what the user actually asked?
| Check | Classification | Criteria | |
|---|---|---|---|
| Matches user request | BLOCKING if divergent | Plan solves what was asked, not what the planner finds interesting | |
| No scope creep | BLOCKING if present | No unnecessary features, abstractions, or refactoring beyond the request | |
| No under-scoping | BLOCKING if present | Obvious implications of the request are not omitted | |
| Complexity proportional | WARNING | Solution complexity matches problem complexity | |
| No simpler alternative missed | WARNING | Plan is not over-engineered when a simpler approach would suffice |
Reviewer Isolation Rules
These rules are mandatory. Violating any of them invalidates the review.
- Fresh instances only. Each reviewer is a new
Task()instance — never resumed, never given prior context. - No cross-reviewer visibility. No reviewer sees another reviewer's output. Ever.
- Read-only codebase access. Reviewers can read files, run grep/glob, but cannot modify anything.
- No prior review findings on re-review. When re-reviewing after iteration, completely fresh instances are spawned. The new reviewers have zero knowledge of what previous reviewers found.
- Input is limited to: the plan text, the user's original request, and the codebase (via read-only tools).
Why isolation matters: Reviewers who see prior findings anchor on those findings instead of reviewing independently. Fresh instances prevent this bias and ensure each review cycle is a genuine independent check.
Workflow
Phase 1: Spawn Reviewers (Parallel)
Phase 2: Evaluate Gate
The orchestrator, not the reviewers, decides what happens after each round. It applies the severity rule from `./guides/delivery-scope.md`: SAFETY_CAP = 10 rounds per gate occurrence, and the first line that matches wins. "Re-validate" here means revising the plan; "FRESH review" means spawning fresh roleType("plan-reviewer") reviewers on the revised plan.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/plan-review-gate/SKILL.md
Popularity
- Repository stars
- 296
- Repository forks
- 34
- Repository npm downloads, 7 days
- 25
- 7-day trend score
- 41
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 18 Mar 2026, 8 months ago.
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/dsifry/metaswarm/plan-review-gate)