Agent teams

From ProxiBlue/claude-skills · View interactive version

Agent teams is an AI agent skill from the GitHub repository ProxiBlue/claude-skills. Spawn a pre-configured team of Claude Code agents for parallel Magento 2 development. Available teams: issue-resolution, feature-development, module-development, audit, quorum-analysis, team_security (21-agent security quorum). Each team has specialized teammates working in parallel. Use when the us

How to use this skill

Skill file

Agent Teams Skill

Overview

Spawns a coordinated team of Claude Code agents based on pre-built team templates optimized for Magento 2 development workflows. Each team has specialized teammates with defined roles, file ownership boundaries, and coordination strategies.

When to Use This Skill

Prerequisites

Available Teams

1. `issue-resolution` - Bug Fix Team

Use when: Fixing a GitHub issue, debugging a bug, resolving a reported problem

Teammates: Investigator (opus) + Developer (sonnet) + Code Reviewer (opus) + Test Writer (sonnet)

Flow: Investigate → Fix → Review + Test in parallel → Done

2. `feature-development` - Feature Build Team

Use when: Adding new functionality to an existing module or the project

Teammates: Architect (opus) + Backend Dev (sonnet) + Frontend Dev (sonnet) + QA (opus)

Flow: Design → Backend + Frontend in parallel → QA → Done

3. `module-development` - New Module Team

Use when: Building a complete new Magento 2 module from scratch

Teammates: Module Architect (opus) + Backend Dev (sonnet) + Frontend/Config Dev (sonnet) + Quality (opus)

Flow: Architecture → Backend + Frontend in parallel → Quality verification → Done

4. `audit` - Audit & Fix Team

Use when: Reviewing code quality, performance, or security of existing code

Teammates: Performance Analyst (opus) + Security Analyst (opus) + Code Quality (sonnet) + Fix Implementer (sonnet)

Flow: All 3 analysts in parallel → Fix Implementer addresses critical findings → Done

5. `quorum-analysis` - Quorum Analysis Team

Use when: Analyzing a ticket or issue from multiple perspectives before writing code; need consensus-driven recommendations; want to understand root cause, architecture impact, and test strategy before committing to a solution

Teammates: Moderator (opus) + Code Analyst (opus) + Architecture Analyst (opus) + QA Analyst (sonnet)

Flow: All 3 analysts investigate in parallel → Moderator cross-shares findings → Analysts challenge/reinforce → Moderator synthesizes consensus recommendation

Output: Analysis and recommendation only — no code is written

6. `team_security` - Security Quorum Team (21 specialists + 1 moderator)

Use when: Pre-release security sign-off, post-incident retrospective, or compliance audit where you need multi-angle coverage with documented per-domain verdicts and dissent.

Teammates: 7 trios × 3 specialists (Static Analyst / Adversarial Tester / Defensive Auditor) covering OWASP Top 10 domains:

1. Injection (SQL/NoSQL/Command/Template)

2. XSS & CSP

3. Access Control & Authorization (IDOR, privilege escalation)

4. Cryptography & Secrets

5. Vulnerable & Outdated Components (CVE lookup via online resources — NVD/OSV/GitHub Advisory DB)

6. Authentication & Session Management

7. CSRF / SSRF / Request Integrity

Plus: Moderator (opus) — adopts the devils-advocate stance and synthesizes a cross-trio report.

Flow: 21 specialists investigate in parallel → each trio reaches 2-of-3 consensus PASS/FAIL/NEEDS-REVIEW → Moderator sweeps for cross-trio compound vulnerabilities → final overall verdict

Skills woven in: workflow-security-audit, security-scan, server-scan, database-query-analysis, magento-diagnostic, code-quality-audit, audit-loop (post-audit fix loop).

Agents woven in: devils-advocate (moderator mindset), codegraph-reviewer (static-analyst impact propagation), standards-enforcer (defensive-auditor pass-then-verify discipline).

Cost: 22 opus/sonnet agents in parallel — expensive. Use the lighter audit team for everyday spot checks.

Output: Per-trio verdicts + cross-trio compound findings + overall PASS/FAIL/NEEDS-REVIEW report. No code written.

Execution Steps

Step 1: Identify the Team Type

Parse the user's request to determine which team template to use. If unclear, ask.

Step 2: Read the Team Template

Read the appropriate team template file:

Step 3: Collect Required Variables

Each template has placeholder variables. Gather these from the user or context:

issue-resolution:

feature-development:

module-development:

audit:

quorum-analysis:

team_security:

Step 4: Enter Delegate Mode

Press Shift+Tab to enter Delegate Mode. This prevents you (the lead) from writing code directly, keeping you focused on coordination.

Step 5: Create the Task List

Before spawning teammates, create the initial task structure:

  1. Create a parent task for the overall objective
  2. Create sub-tasks for each major phase
  3. Set up blockedBy relationships per the team template

Step 6: Spawn Teammates

Spawn each teammate from the template with their personalized prompt (variables substituted).

Use the Task tool to spawn each one. Set the model per the template specification.

For teammates that need plan approval, spawn with mode: plan.

Example spawn pattern:

Spawn teammate "investigator" with model opus:
[Paste the Investigator spawn prompt with variables replaced]

Spawn teammate "developer" with model sonnet and require plan approval:
[Paste the Developer spawn prompt with variables replaced]

Spawn teammate "reviewer" with model opus:
[Paste the Reviewer spawn prompt with variables replaced]

Spawn teammate "test-writer" with model sonnet:
[Paste the Test Writer spawn prompt with variables replaced]

Step 7: Monitor and Coordinate

As team lead:

  1. Monitor task list progress (Ctrl+T to toggle task view)
  2. Approve plans when developers request it
  3. If a teammate is stuck, message them with additional context
  4. When the Reviewer requests changes, ensure the Developer picks them up
  5. Track file ownership - alert if teammates are editing outside their domain

Step 8: Final Review

Once all tasks are complete:

  1. Review the task list for any remaining items
  2. Verify all tests pass
  3. Run bin/magento setup:di:compile for a final DI check
  4. Run bin/magento cache:flush
  5. Create a summary of all changes made

Tips for Effective Teams

Token Management

Agent teams consume 4-15x more tokens than single sessions. To manage costs:

File Conflict Prevention

The templates define file ownership boundaries. As lead, enforce these:

When to Use Single Agent Instead

Not every task needs a team:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.