Skip to content
Agent Orchestration
Command

/review-design

Trigger the parallel design review gate with 6 specialist reviewers

From plugin
metaswarm
43216 skills23 agents16 commands2 hooks
$ npx -y skills add dsifry/metaswarm --agent claude-code

Command definition

review-design.md
description: Trigger the parallel design review gate with 6 specialist reviewers

Review Design Command

Run the design review gate on a design document to get feedback from Product Manager, Architect, Designer, Security Design, UX Reviewer and CTO agents.

Usage

/review-design <path-to-design-doc>

Examples

# Review a specific design document
/review-design docs/plans/2026-01-11-contact-assistant-design.md

# Review the most recent design document
/review-design --latest

# Re-run review after revisions
/review-design docs/plans/2026-01-11-contact-assistant-design.md --iteration 2

What This Does

1. **Validates the design document exists** and is in the expected format 2. **Spawns six review agents in parallel** (each `roleType("design-reviewer")`, role in the prompt):

  • **Product Manager Agent** - Validates use cases and user benefits
  • **Architect Agent** - Reviews technical architecture
  • **Designer Agent** - Reviews UX, API design, developer experience
  • **Security Design Agent** - Reviews security threats and mitigations
  • **UX Reviewer** - Reviews user flows, empty/loading/error states and integration wiring
  • **CTO Agent** - Reviews TDD readiness, codebase alignment

3. **Aggregates results** from all six agents 4. **Reports outcome** with blockers, suggestions, and next steps

Arguments

| Argument | Description | | --------------------- | ------------------------------------------------------------ | | `<path>` | Path to design document (required unless --latest) | | `--latest` | Review the newest dated design doc in `docs/plans/` or `docs/superpowers/specs/` | | `--iteration N` | Mark as iteration N of review cycle | | `--skip-agent <name>` | Skip specific agent (pm, architect, designer, security, ux, cto) |

Finding the latest design doc

`--latest` looks at `docs/plans/*-design.md` and `docs/superpowers/specs/*-design.md`, considers only names that start with `YYYY-MM-DD-`, and picks the newest by that date prefix (file modification time is unreliable after a clone). Ties on date are broken by the rest of the basename, then by the full path.

<!-- latest-design-doc:start -->

(
  # Absent folders are skipped; a folder that exists but can't be read is an error.
  list=$(
    for d in docs/plans docs/superpowers/specs; do
      [ -d "$d" ] || continue
      find "$d" -maxdepth 1 -type f \
        -name '[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]-*-design.md' ||
        { echo "Cannot read $d" >&2; exit 2; }
    done
  ) || exit 2
  latest=$(printf '%s\n' "$list" |
    awk 'NF { n = $0; sub(".*/", "", n); print n "\t" $0 }' |
    LC_ALL=C sort | tail -n 1 | cut -f2)
  if [ -n "$latest" ]; then
    printf '%s\n' "$latest"
  else
    echo "No design doc found in docs/plans/ or docs/superpowers/specs/"
    false
  fi
)

<!-- latest-design-doc:end -->

Review Verdicts

APPROVED

All agents approve. Output includes:

  • Summary of what each agent reviewed
  • Non-blocking suggestions for future improvement
  • Next steps for implementation

NEEDS_REVISION

One or more agents found blocking issues. Output includes:

  • List of blocking issues by agent
  • Questions requiring clarification
  • Round count (severity-gated iteration, cap 10 rounds; see the metaswarm plugin's `guides/delivery-scope.md`)
  • When a Clarify signal fires (a blocker only the user can answer, no convergence, fix-induced blockers or a recurring theme), the gate stops and posts a Clarification report instead of iterating

ESCALATED

Reached via the severity rule: an escalate condition (a recurring or disputed blocker, or a blocker that survives the overengineering check) or the 10-round cap:

  • Summary of remaining blockers
  • Options: Revise / Clarify the requirement / re-brainstorm / Narrow scope / Defer / Cancel. Escalation never approves: a revised or narrowed design gets a fresh review round

Integration

After a Project-Sized Design Doc Is Committed

This command is automatically invoked by the brainstorming extension skill when brainstorming commits a project-sized design doc (see the metaswarm plugin's `guides/workflow-enforcement.md`).

Manual Invocation

Use this command to:

  • Review an existing design document
  • Re-run reviews after making revisions
  • Run partial reviews (skip specific agents)

With BEADS

When design is approved, offers to:

  • Create BEADS epic linked to design doc
  • Create tasks for implementation phases
  • Set up worktree for isolated development

Agent Details

Product Manager Agent

Focuses on:

  • Use case clarity (WHO/WANTS/SO THAT format)
  • Measurable user benefits
  • Scope definition (MVP vs nice-to-have)
  • Success metrics validation

Architect Agent

Focuses on:

  • Service architecture patterns
  • Dependency flow
  • Technical correctness
  • Integration points

Designer Agent

Focuses on:

  • API/interface design quality
  • User experience (if applicable)
  • Developer experience
  • Pattern consistency

Security Design Agent

Focuses on:

  • Threat modeling (STRIDE)
  • Authentication/authorization design
  • Data protection and privacy
  • OWASP Top 10 compliance

UX Reviewer Agent

Focuses on (rubric: `rubrics/ux-review-rubric.md`; a design with no user-facing UI is approved when the task needs none):

  • User flows: each has a trigger and a visible outcome
  • Screens described with a component hierarchy or text wireframe
  • Empty, loading and error states for each view
  • The integration wiring that connects the components to the app shell (the integration work unit is checked at plan review)

CTO Agent

Focuses on:

  • TDD readiness (RED-GREEN-REFACTOR)
  • Codebase alignment (CLAUDE.md)
  • Completeness of specification
  • Risk assessment

Success Criteria

The review gate passes when:

  • [ ] All six agents return APPROVED
  • [ ] All blocking issue
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 commands on metaswarm.

brainstorm

brainstorm

Command

Refine an idea into a design with brainstorming, then run the design review gate for project-sized designs

@dsifry@dsifryInstall Command
create-issue

create-issue

Command

Create a well-structured GitHub issue with acceptance criteria and agent instructions

@dsifry@dsifryInstall Command
handoff

handoff

Command

Analyze the session and write a self-contained handoff document so a fresh agent can resume the work — outputs a single "Read…

@dsifry@dsifryInstall Command
pr-shepherd

pr-shepherd

Command

Monitor a PR through to merge - handles CI failures, reviews, and thread resolution

@dsifry@dsifryInstall Command

More commands from other plugins.

COMMAND_COMPLIANCE_REPORT

COMMAND_COMPLIANCE_REP…

Command

Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools…

@ruvnet@ruvnetInstall Command
ask

ask

Command

This compatibility command keeps `/oh-my-claudecode:ask` available without loading the full `ask` skill description in every…

@yeachan-heo@yeachan-heoInstall Command