Skip to content
Agent Orchestration
Skill

/design-review-gate

Automatic review gate that runs when brainstorming commits a project-sized design doc - spawns PM, Architect, Designer, Security, UX Reviewer and CTO agents in parallel, iterates under the severity rule until all approve or it escalates

From plugin
metaswarm
43214 skills23 agents16 commands2 hooks

Claude Code

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

SKILL.md

design-review-gate.SKILL.md
name: design-review-gate
description: Automatic review gate that runs when brainstorming commits a project-sized design doc - spawns PM, Architect, Designer, Security, UX Reviewer and CTO agents in parallel, iterates under the severity rule until all approve or it escalates
auto_activate: true
triggers:
  - "project-sized design doc committed (docs/plans/*-design.md or docs/superpowers/specs/*-design.md)"

Design Review Gate

Purpose

This skill automatically activates when brainstorming writes and commits a project-sized design doc (see [`./guides/workflow-enforcement.md`](./guides/workflow-enforcement.md)). In full orchestration, where there is no design doc, the orchestrator runs it on the plan after the Plan Review Gate (see [two pipelines](./guides/workflow-enforcement.md#two-pipelines)). It ensures complex features receive proper review before implementation begins by spawning six specialist reviewers:

1. **Product Manager Agent** - Use case validation and user benefit review 2. **Architect Agent** - Technical architecture review 3. **Designer Agent** - UX/API design quality review 4. **Security Design Agent** - Security threat modeling and protection review 5. **UX Reviewer Agent** - User flows, UI states (empty, loading, error) and integration wiring review 6. **CTO Agent** - Codebase alignment and TDD readiness review

All six must approve before proceeding to implementation.

---

Coordination Mode Note

This skill supports both coordination modes:

  • **Task Mode** (default): Spawn 6 parallel `Task()` subagents for each review round, each with role type `roleType("design-reviewer")`. Fresh instances per round. Role types are resolved per [Role type resolution](./guides/agent-coordination.md#role-type-resolution).
  • **Team Mode**: `TeamCreate("review-{design-doc-name}")`, spawn 6 reviewers as named teammates (`pm`, `architect`, `designer`, `security`, `ux`, `cto`), each using the `roleType("design-reviewer")` type with the role in its prompt. Reviewers retain context through revision cycles — saves 6 cold starts per re-review round. After approval, send `shutdown_request` to all, then `TeamDelete`.

In either mode, the review criteria, the severity rule (see Phase 3), and escalation rules are identical. See `./guides/agent-coordination.md` for mode detection.

---

Activation Triggers

This skill auto-activates when:

1. A project-sized design doc is committed to `docs/plans/*-design.md` or `docs/superpowers/specs/*-design.md` (see [`./guides/workflow-enforcement.md`](./guides/workflow-enforcement.md)) 2. User explicitly requests: `/review-design <path-to-design.md>`

---

Workflow

Phase 1: Spawn Review Agents (Parallel)

// Spawn all six agents in parallel for efficiency.
// Every reviewer uses the design-reviewer role type; the role (PM, Architect, ...) lives in the prompt.
const [pmResult, architectResult, designerResult, securityResult, uxResult, ctoResult] = await Promise.all([
  Task({
    subagent_type: roleType("design-reviewer"),
    description: "PM review",
    prompt: pmReviewPrompt(designDocPath),
  }),
  Task({
    subagent_type: roleType("design-reviewer"),
    description: "Architect review",
    prompt: architectReviewPrompt(designDocPath),
  }),
  Task({
    subagent_type: roleType("design-reviewer"),
    description: "Designer review",
    prompt: designerReviewPrompt(designDocPath),
  }),
  Task({
    subagent_type: roleType("design-reviewer"),
    description: "Security design review",
    prompt: securityDesignReviewPrompt(designDocPath),
  }),
  Task({
    subagent_type: roleType("design-reviewer"),
    description: "UX review",
    prompt: uxReviewPrompt(designDocPath),
  }),
  Task({
    subagent_type: roleType("design-reviewer"),
    description: "CTO review",
    prompt: ctoReviewPrompt(designDocPath),
  }),
]);

Phase 2: Aggregate Results

Each agent returns a structured review. Every finding uses the 6-field contract from [`./guides/delivery-scope.md`](./guides/delivery-scope.md) plus the signal fields:

interface Finding {
  title: string; // short label, ≤ ~80 chars
  description: string; // 1-3 sentences: what is wrong and why it matters
  severity: "critical" | "major" | "minor" | "nit";
  protects: string; // credible user scenario | explicit requirement | DoD item; required for critical/major
  evidence: string; // design doc section, file:line, or expected-vs-found
  blocker: "yes" | "no"; // yes only if severity ∈ {critical, major} AND protects is non-empty
  theme: string; // short label on every finding; reuse an earlier theme label when one fits
  needs_user?: "yes" | "no"; // blockers only: yes only if just the user can answer it
  origin?: "implementation" | "requirement" | "assumption"; // blockers only
  assumption?: string; // ledger id (A3) or a quoted decision; required when origin is "assumption"
}

interface ReviewResult {
  agent: "product-manager" | "architect" | "designer" | "security-design" | "ux-reviewer" | "cto";
  verdict: "APPROVED" | "NEEDS_REVISION"; // NEEDS_REVISION only with at least one blocker: "yes" finding
  criteria_applied: string; // the receipt: role, criteria sections and rubric or persona file applied
  criteria_check: { item: string; result: "PASS" | "FAIL" | "N/A"; evidence: string }[]; // one row per role checklist item
  findings: Finding[]; // every finding, any severity
  suggestions: string[]; // Non-finding notes
  questions: string[]; // Clarifications needed
  use_case_analysis?: {
    // PM agent only
    total_use_cases: number;
    clear: number;
    needs_work: number;
    missing_scenarios: string[];
  };
  threat_model?: {
    // Security agent only
    high_risk: string[];
    medium_risk: string[];
    mitigations_required: string[];
  };
}

A NEEDS_REVISION without any `blocker: yes` finding is read as APPROVED, and its findings become follow-ups. A NEEDS_REVISION whose findings lack the 6 fields is re-requested once in t

Read more
@dsifry
Ships withmetaswarm

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

43214 skills23 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
432
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
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
migrate

migrate

Migrate from npm-installed metaswarm to the marketplace plugin — removes redundant files with safety checks

@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.

openclaw4d395k
@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…

orca2d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

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

paperclip3d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

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

@ruvnet@ruvnetInstall Skill

Questions about design-review-gate.

Which coding agents can use design-review-gate?
design-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.