Skip to content
Development
Command

/team-review

Launch a multi-reviewer parallel code review with specialized review dimensions

From plugin
agents
42k93 skills137 agents93 commands
$ npx -y skills add wshobson/agents --agent claude-code

Command definition

team-review.md
description: "Launch a multi-reviewer parallel code review with specialized review dimensions"
argument-hint: "<target> [--reviewers security,performance,architecture,testing,accessibility] [--base-branch main]"

Team Review

Orchestrate a multi-reviewer parallel code review where each reviewer focuses on a specific quality dimension. Produces a consolidated, deduplicated report organized by severity.

Pre-flight Checks

1. Verify `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` is set 2. Parse `$ARGUMENTS`:

  • `<target>`: file path, directory, git diff range (e.g., `main...HEAD`), or PR number (e.g., `#123`)
  • `--reviewers`: comma-separated dimensions (default: `security,performance,architecture`)
  • `--base-branch`: base branch for diff comparison (default: `main`)

Phase 1: Target Resolution

1. Determine target type:

  • **File/Directory**: Use as-is for review scope
  • **Git diff range**: Use Bash to run `git diff {range} --name-only` to get changed files
  • **PR number**: Use Bash to run `gh pr diff {number} --name-only` to get changed files

2. Collect the full diff content for distribution to reviewers 3. Display review scope to user: "{N} files to review across {M} dimensions"

Phase 2: Team Spawn

1. Use `TeamCreate` tool to create the team with `team_name: "review-{timestamp}"` and `description` 2. For each requested dimension, use `Agent` tool to spawn a teammate:

  • `name`: `{dimension}-reviewer` (e.g., "security-reviewer")
  • `subagent_type`: "agent-teams:team-reviewer"
  • `prompt`: Include the dimension assignment, target files, and diff content

3. Use `TaskCreate` for each reviewer's task:

  • Subject: "Review {target} for {dimension} issues"
  • Description: Include file list, diff content, and dimension-specific checklist

Phase 3: Monitor and Collect

1. Wait for all review tasks to complete (check `TaskList` periodically) 2. As each reviewer completes, collect their structured findings 3. Track progress: "{completed}/{total} reviews complete"

Phase 4: Consolidation

1. **Deduplicate**: Merge findings that reference the same file:line location 2. **Resolve conflicts**: If reviewers disagree on severity, use the higher rating 3. **Organize by severity**: Group findings as Critical, High, Medium, Low 4. **Cross-reference**: Note findings that appear in multiple dimensions

Phase 5: Report and Cleanup

1. Present consolidated report:

   ## Code Review Report: {target}

   Reviewed by: {dimensions}
   Files reviewed: {count}

   ### Critical ({count})
   [findings...]

   ### High ({count})
   [findings...]

   ### Medium ({count})
   [findings...]

   ### Low ({count})
   [findings...]

   ### Summary
   Total findings: {count} (Critical: N, High: N, Medium: N, Low: N)

2. Send `shutdown_request` to all reviewers 3. Call `TeamDelete` to remove team resources

Read more
@wshobson
Ships withagents

Use one collection of plugins, agents, skills, and commands across Claude Code, OpenAI Codex CLI, Cursor, OpenCode, Antigravity CLI, GitHub Copilot, and Pi. A harness is the coding tool that loads and runs the components.

42k185 skills137 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
42.4k
Star history of wshobson/agents on GitHub, a chart by star-history.com

Other commands on agents.

accessibility-audit

accessibility-audit

Command

Audit web accessibility for WCAG compliance with automated axe-core tests, keyboard and screen reader checks, and remediation…

@wshobson@wshobsonInstall Command
improve-agent

improve-agent

Command

Improve an existing agent through performance baselines, prompt engineering, A/B testing, and staged rollout

@wshobson@wshobsonInstall Command
multi-agent-optimize

multi-agent-optimize

Command

Optimize multi-agent system performance through profiling, context window tuning, coordination efficiency, and cost and latency…

@wshobson@wshobsonInstall Command
team-debug

team-debug

Command

Debug issues using competing hypotheses with parallel investigation by multiple agents

@wshobson@wshobsonInstall Command
team-delegate

team-delegate

Command

Task delegation dashboard for managing team workload, assignments, and rebalancing

@wshobson@wshobsonInstall Command
team-feature

team-feature

Command

Develop features in parallel with multiple agents using file ownership boundaries and dependency management

@wshobson@wshobsonInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command