.opencode/commands/orchestrate.md
Orchestrate multiple specialized agents for this complex task: $ARGUMENTS
| Agent | Specialty | Use For |
|---|---|---|
| planner | Implementation planning | Complex feature design |
| architect | System design | Architectural decisions |
| code-reviewer | Code quality | Review changes |
| security-reviewer | Security analysis | Vulnerability detection |
| tdd-guide | Test-driven dev | Feature implementation |
| build-error-resolver | Build fixes | TypeScript/build errors |
| e2e-runner | E2E testing | User flow testing |
| doc-updater | Documentation | Updating docs |
| refactor-cleaner | Code cleanup | Dead code removal |
| go-reviewer | Go code | Go-specific review |
| go-build-resolver | Go builds | Go build errors |
| database-reviewer | Database | Query optimization |
planner → tdd-guide → code-reviewer → security-reviewer
Use when: Later tasks depend on earlier results
┌→ security-reviewer
planner →├→ code-reviewer
└→ architect
Use when: Tasks are independent
┌→ agent-1 ─┐
planner →├→ agent-2 ─┼→ synthesizer
└→ agent-3 ─┘
Use when: Multiple perspectives needed
NOTE: Complex tasks benefit from multi-agent orchestration. Simple tasks should use single agents directly.