AI Team Orchestration
When to Use
- Starting a new project that needs planning, development, testing, and deployment
- Setting up parallel AI agent teams (dev, QA, DevOps)
- Writing brainstorm prompts that produce real debate (not generic output)
- Creating sprint plans with cross-chat context survival
- Recovering from context overflow mid-sprint
Team Roles
| Agent |
Name |
Role |
Focus |
| Producer |
Remy |
Sprint planning, coordination, merging PRs |
Scope control, handoffs, issue triage |
| Product Designer |
Kira |
UX, mechanics, user experience |
Fun factor, user flows, feature design |
| Visual/Art Director |
Milo |
CSS, animations, visual identity |
Design system, polish, accessibility |
| Frontend Engineer |
Nova |
UI framework, state management, components |
React/Vue/Svelte, client-side logic |
| Backend Engineer |
Sage |
API, database, auth, security |
Server-side logic, infrastructure |
| DevOps Engineer |
Dash |
CI/CD, cloud deployment, pipelines |
GitHub Actions, Azure/AWS/GCP |
| QA Engineer |
Ivy |
E2E tests, automation, playtesting |
Playwright/Cypress, bug filing, sign-off |
Customize names and roles for your project. Not every project needs all roles.
Chat Architecture
The human (CEO) is the message bus between parallel chats:
┌────────────────────────────────────────┐
│ @ai-team-producer — Plans, merges │
│ NEVER writes code │
└────────────────┬───────────────────────┘
│ Human carries messages
┌──────────┼──────────┐
▼ ▼ ▼
┌──────────┐ ┌────────┐ ┌────────┐
│@ai-team │ │@ai-team│ │DevOps │
│-dev │ │-qa │ │(on │
│ │ │ │ │demand) │
│ Nova │ │ Ivy │ │ │
│ Sage │ │ │ │ │
│ Milo │ │ │ │ │
│ │ │feature/│ │feature/│
│ feature/ │ │qa-N │ │devops-N│
│ sprint-N │ └────────┘ └────────┘
└──────────┘
Each team works in a separate VS Code window with its own clone:
git clone <repo> project-dev # Dev team
git clone <repo> project-qa # QA
git clone <repo> project-devops # DevOps (only when needed)
Project Bootstrap
1. Create PROJECT_BRIEF.md
The single source of truth across all chats. See the project brief template.
Required sections (do not abbreviate):
- Project Overview
- Concept / Product Description
- Tech Stack
- Architecture (ASCII diagram)
- Key Files Map
- Team Roles
- Sprint Status (updated every sprint)
- Current State (rewritten every sprint)
- Security Rules
- How to Run Locally
- How to Deploy
- Cross-Chat Handoff Protocol — how context survives between chats
- Bug & Fix Tracking — GitHub Issues as single source of truth
- Multi-Repo Setup — separate clones, branch strategy, merge rules
2. Run a Brainstorm
See the brainstorm format. Key: name each agent explicitly with distinct personality and perspective. Require at least 2 genuine disagreements to prevent groupthink.
3. Create Sprint Plans
See the sprint plan template. Every sprint gets:
docs/sprint-N/plan.md — prioritized tasks, success criteria
docs/sprint-N/progress.md — live tracker, enables recovery
docs/sprint-N/done.md — handoff doc written at sprint end
4. Execute Sprints
Read PROJECT_BRIEF.md, then read docs/sprint-N/plan.md. Execute Sprint N.
First: git pull origin main && git checkout -b feature/sprint-N
Close GitHub Issues in commits: "fix: description (Fixes #NN)"
Update docs/sprint-N/progress.md after each phase.
When done, push and create PR: git push origin feature/sprint-N
Follow Sections 12-14 of PROJECT_BRIEF.md.
5. QA Sign-off
After dev merges, QA does a full playthrough:
Read PROJECT_BRIEF.md. You are Ivy (QA).
Sprint N is merged to main. Do full playthrough.
File bugs as GitHub Issues. Write docs/qa/sprint-N-signoff.md.
Context Recovery
When a chat gets long (>100 messages), save state and start fresh:
Before closing:
- Update
docs/sprint-N/progress.md with current status
- Update
PROJECT_BRIEF.md sections 7+8
- Write
docs/sprint-N/done.md
Cold start prompt:
Read PROJECT_BRIEF.md and docs/sprint-N/progress.md.
Continue from where it left off.
Anti-Patterns
See anti-patterns reference for the full list. Top 5:
| Don't |
Do Instead |
| Rebase feature branches |
Merge (rebase loses commits) |
| Producer writes code |
Producer only plans, merges, files issues |
| Batch "fix everything" commits |
One commit per fix with issue reference |
| Vague brainstorm prompts |
Name each agent with distinct perspective |
| Keep bugs only in chat |
File GitHub Issues (chat context dies) |
Tips for Better Results
- "Take your time, do it right" in prompts produces better output than rushing
- Test before merge — you playtest, file issues, dev fixes, then merge
- Run team consiliums before major sprints — each agent reviews the plan from their perspective
- Save lessons to memory after every milestone
1---2name: ai-team-orchestration3description: Bootstrap and run a multi-agent AI development team. Use when: starting a new software project with AI agents, setting up parallel dev/QA teams, creating sprint plans, writing brainstorm prompts with distinct agent voices, recovering a project workflow, or planning sprints.4---5# AI Team Orchestration67## When to Use89- Starting a new project that needs planning, development, testing, and deployment10- Setting up parallel AI agent teams (dev, QA, DevOps)11- Writing brainstorm prompts that produce real debate (not generic output)12- Creating sprint plans with cross-chat context survival13- Recovering from context overflow mid-sprint1415## Team Roles1617| Agent | Name | Role | Focus |18| ------- | ------ | ------ | ------- |19| Producer | **Remy** | Sprint planning, coordination, merging PRs | Scope control, handoffs, issue triage |20| Product Designer | **Kira** | UX, mechanics, user experience | Fun factor, user flows, feature design |21| Visual/Art Director | **Milo** | CSS, animations, visual identity | Design system, polish, accessibility |22| Frontend Engineer | **Nova** | UI framework, state management, components | React/Vue/Svelte, client-side logic |23| Backend Engineer | **Sage** | API, database, auth, security | Server-side logic, infrastructure |24| DevOps Engineer | **Dash** | CI/CD, cloud deployment, pipelines | GitHub Actions, Azure/AWS/GCP |25| QA Engineer | **Ivy** | E2E tests, automation, playtesting | Playwright/Cypress, bug filing, sign-off |2627Customize names and roles for your project. Not every project needs all roles.2829## Chat Architecture3031The human (CEO) is the message bus between parallel chats:3233```34┌────────────────────────────────────────┐35│ @ai-team-producer — Plans, merges │36│ NEVER writes code │37└────────────────┬───────────────────────┘38 │ Human carries messages39 ┌──────────┼──────────┐40 ▼ ▼ ▼41┌──────────┐ ┌────────┐ ┌────────┐42│@ai-team │ │@ai-team│ │DevOps │43│-dev │ │-qa │ │(on │44│ │ │ │ │demand) │45│ Nova │ │ Ivy │ │ │46│ Sage │ │ │ │ │47│ Milo │ │ │ │ │48│ │ │feature/│ │feature/│49│ feature/ │ │qa-N │ │devops-N│50│ sprint-N │ └────────┘ └────────┘51└──────────┘52```5354Each team works in a **separate VS Code window** with its own clone:5556```bash57git clone <repo> project-dev # Dev team58git clone <repo> project-qa # QA59git clone <repo> project-devops # DevOps (only when needed)60```6162## Project Bootstrap6364### 1. Create PROJECT_BRIEF.md6566The single source of truth across all chats. See the [project brief template](./references/project-brief-template.md).6768**Required sections (do not abbreviate):**69701. Project Overview711. Concept / Product Description721. Tech Stack731. Architecture (ASCII diagram)741. Key Files Map751. Team Roles761. Sprint Status (updated every sprint)771. Current State (rewritten every sprint)781. Security Rules791. How to Run Locally801. How to Deploy811. **Cross-Chat Handoff Protocol** — how context survives between chats821. **Bug & Fix Tracking** — GitHub Issues as single source of truth831. **Multi-Repo Setup** — separate clones, branch strategy, merge rules8485### 2. Run a Brainstorm8687See the [brainstorm format](./references/brainstorm-format.md). Key: name each agent explicitly with distinct personality and perspective. Require at least 2 genuine disagreements to prevent groupthink.8889### 3. Create Sprint Plans9091See the [sprint plan template](./references/sprint-plan-template.md). Every sprint gets:9293- `docs/sprint-N/plan.md` — prioritized tasks, success criteria94- `docs/sprint-N/progress.md` — live tracker, enables recovery95- `docs/sprint-N/done.md` — handoff doc written at sprint end9697### 4. Execute Sprints9899```100Read PROJECT_BRIEF.md, then read docs/sprint-N/plan.md. Execute Sprint N.101102First: git pull origin main && git checkout -b feature/sprint-N103104Close GitHub Issues in commits: "fix: description (Fixes #NN)"105Update docs/sprint-N/progress.md after each phase.106When done, push and create PR: git push origin feature/sprint-N107Follow Sections 12-14 of PROJECT_BRIEF.md.108```109110### 5. QA Sign-off111112After dev merges, QA does a full playthrough:113114```115Read PROJECT_BRIEF.md. You are Ivy (QA).116Sprint N is merged to main. Do full playthrough.117File bugs as GitHub Issues. Write docs/qa/sprint-N-signoff.md.118```119120## Context Recovery121122When a chat gets long (>100 messages), save state and start fresh:123124**Before closing:**1251261. Update `docs/sprint-N/progress.md` with current status1271. Update `PROJECT_BRIEF.md` sections 7+81281. Write `docs/sprint-N/done.md`129130**Cold start prompt:**131132```133Read PROJECT_BRIEF.md and docs/sprint-N/progress.md.134Continue from where it left off.135```136137## Anti-Patterns138139See [anti-patterns reference](./references/anti-patterns.md) for the full list. Top 5:140141| Don't | Do Instead |142| ------- | ------------ |143| Rebase feature branches | Merge (rebase loses commits) |144| Producer writes code | Producer only plans, merges, files issues |145| Batch "fix everything" commits | One commit per fix with issue reference |146| Vague brainstorm prompts | Name each agent with distinct perspective |147| Keep bugs only in chat | File GitHub Issues (chat context dies) |148149## Tips for Better Results150151- **"Take your time, do it right"** in prompts produces better output than rushing152- **Test before merge** — you playtest, file issues, dev fixes, then merge153- **Run team consiliums** before major sprints — each agent reviews the plan from their perspective154- **Save lessons to memory** after every milestone