Skip to content
Agent Orchestration
Skill

/plan-review-gate

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

From plugin
metaswarm
43714 skills23 agents16 commands2 hooks

Claude Code

$ npx -y skills add dsifry/metaswarm --skill plan-review-gate --agent claude-code

SKILL.md

plan-review-gate.SKILL.md
name: plan-review-gate
description: 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
auto_activate: true
triggers:
  - "plan drafted"
  - "implementation plan created"
  - before:writing-plans:execution-handoff
  - "plan written, before writing-plans presents it"
  - after:orchestrated-execution:plan-validation

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`](./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`](./guides/delivery-scope.md) (at most 10 rounds) to advance, iterate, clarify or escalate.

---

Activation Triggers

This skill auto-activates when:

1. An implementation plan is drafted (by planner, explorer, or orchestrator) 2. writing-plans has written the plan, before its Execution Handoff (link the plan, user review request, execution choice) 3. The orchestrator's plan validation phase produces a plan for review 4. 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.

1. **Fresh instances only.** Each reviewer is a new `Task()` instance — never resumed, never given prior context. 2. **No cross-reviewer visibility.** No reviewer sees another reviewer's output. Ever. 3. **Read-only codebase access.** Reviewers can read files, run grep/glob, but cannot modify anything. 4. **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. 5. **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

1. Plan drafted by planner/explor
Read more
@dsifry
Ships withmetaswarm

A self-improving multi-agent orchestration framework for Claude Code, Gemini CLI, and Codex CLI.

43714 skills23 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
437
Star history of dsifry/metaswarm on GitHub, a chart by star-history.com

Other skills on metaswarm.

brainstorming-extension

brainstorming-extensio…

Loads the assumption ledger and misreadings checklist at the start of brainstorming, and enforces the design review gate when a…

@dsifry@dsifryInstall Skill
create-issue

create-issue

Create comprehensive GitHub issues with TDD plans, acceptance criteria, and agent instructions for autonomous PR lifecycle…

@dsifry@dsifryInstall Skill
design-review-gate

design-review-gate

Automatic review gate that runs when brainstorming commits a project-sized design doc - spawns PM, Architect, Designer, Security,…

@dsifry@dsifryInstall Skill
external-tools

external-tools

Delegate implementation and review tasks to external AI CLI tools (Codex, Gemini) with cross-model adversarial review

@dsifry@dsifryInstall Skill
handling-pr-comments

handling-pr-comments

Address PR review feedback systematically — fetch inline comments, review bodies, handle outside-diff-range comments, resolve…

@dsifry@dsifryInstall Skill
handoff

handoff

Analyze the current session and write a self-contained handoff document so a fresh agent can resume the work with full context —…

@dsifry@dsifryInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw8d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca5d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip6d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about plan-review-gate.

Which coding agents can use plan-review-gate?
plan-review-gate installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.