prompts/squad/skills/team-builder/SKILL.md
Compose parallel teams of specialized agents for a multi-faceted task. Map subtasks to agent roles, balance workload, and validate team composition. Use this when breaking a task into parallel streams that require different expertise (Coder, Tester, Infra, etc.).
npx skillsauth add imabusyman/CodebrewRouter team-builderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Decomposes complex tasks into parallel streams and assigns each stream to the right specialist.
List all subtasks and identify dependencies:
Task: Add a new provider
├─ Subtask 1: Core provider implementation (Coder)
├─ Subtask 2: Unit + integration tests (Tester)
├─ Subtask 3: Aspire AppHost wiring (Infra)
└─ Subtask 4: ADR + design notes (Architect)
Dependencies: Coder → Tester → Infra (sequential)
Architect ∥ Coder (parallel)
Assign each subtask to the best-fit specialist:
| Subtask | Role | Files | Est. effort |
|---|---|---|---|
| Core provider | Coder | Infrastructure/Providers/** | M |
| Tests | Tester | Tests/** | M |
| AppHost | Infra | AppHost/**, ServiceDefaults/** | S |
| ADR | Architect | Docs/design/adr/** | S |
Per-agent handoff with:
dispatching-parallel-agents — automate agent assignment.claude-devfleet — use Git worktrees for isolated workspaces.quality-gate — ensure parallel builds pass -warnaserror + 95% coverage before merge.development
Generate a Product Requirements Document from a task description, user intent, or PRD outline. Structure the PRD with sections: Overview, Problem Statement, Goals, Scope, Features, Acceptance Criteria, Metrics. Use this when the Planner or Orchestrator needs to formalize requirements before decomposing into implementation steps.
development
Delegate implementation work to specialized subagent instances, each inheriting a task scope and constraints from the parent. Emit structured handoffs, monitor completion signals, aggregate results. Use this in the Orchestrator parallel path when spawning independent Coder/Tester/Infra subagents from a single coordinator.
testing
Maintain the append-only reasoning log and write handoff envelopes for every squad delegation. Use this when the Conductor delegates to a specialist or when a specialist records a non-trivial decision.
development
Enforce the -warnaserror build + 95% coverage test gate on every squad [DONE]. Use this before any specialist (Coder, Tester, Reviewer, Infra) marks a phase complete.