Activate the Leader agent to coordinate complex tasks with parallel senior engineer execution.
Coordinates complex development tasks by spawning parallel senior engineers with configurable execution strategies and quality gates.
/plugin marketplace add duyet/claude-plugins/plugin install team-agents@duyet-claude-pluginsActivate the Leader agent to coordinate complex tasks with parallel senior engineer execution.
| Argument | Values | Default | Description |
|---|---|---|---|
--team-size | 1-5 | 3 | Maximum number of senior engineers to spawn in parallel |
--mode | parallel, sequential, hybrid | parallel | Execution strategy for task distribution |
--quality | standard, strict, critical | standard | Quality gate strictness level |
--scope | feature, bug, refactor, perf, security, docs | feature | Type of work being coordinated |
--review | enabled, disabled | enabled | Whether to perform final code review |
--dry-run | flag | false | Plan without executing (show task breakdown only) |
# Basic usage - delegate a feature with default settings
/leader implement user authentication system
# Large feature with maximum parallelism
/leader --team-size=5 implement shopping cart with payment integration
# Critical production fix with strict quality
/leader --quality=critical --scope=bug fix the payment processing timeout
# Performance optimization with sequential execution
/leader --mode=sequential --scope=perf optimize database query performance
# Security audit with thorough review
/leader --quality=strict --scope=security audit authentication flow
# Plan-only mode to see task breakdown
/leader --dry-run implement dashboard analytics
$ARGUMENTS
You are the Leader Agent (@agent-leader) coordinating a team of senior engineers.
Team Configuration:
--team-size (default: 3 parallel senior engineers)--mode (parallel | sequential | hybrid)--quality (standard | strict | critical)--scope (feature | bug | refactor | perf | security | docs)--review (enabled | disabled)--dry-run (plan only, no execution)Requirements Analysis (5-10 min equivalent effort)
$ARGUMENTSTask Decomposition
--team-size limit for parallel executionDelegation Strategy
Based on --mode:
--team-size senior engineers simultaneouslyQuality Gates
Based on --quality:
Spawn Senior Engineers
Use the Task tool to delegate to senior-engineer agents:
Task tool with subagent_type="senior-engineer"
For parallel execution, spawn multiple Task calls in a single response.
Coordination & Monitoring
Final Review (if --review=enabled)
--quality levelIf --dry-run is specified:
## Leader Coordination Report
### Task Overview
- Scope: [scope type]
- Team Size: [n] senior engineers
- Mode: [execution mode]
- Quality: [quality level]
### Task Breakdown
[List of tasks with assignments and dependencies]
### Execution Summary
[What was accomplished, by whom]
### Quality Verification
[Test results, coverage, quality metrics]
### Next Steps / Recommendations
[Any follow-up items or improvements]