- Added: api-patterns, app-builder, architecture, bash-linux, behavioral-modes, clean-code, code-review-checklist, database-design, deployment-procedures, docker-expert, documentation-templates, game-development, geo-fundamentals, i18n-localization, lint-and-validate, mobile-design, nestjs-expert, nextjs-best-practices, nodejs-best-practices, parallel-agents, performance-profiling, plan-writing, powershell-windows, prisma-expert, python-patterns, react-patterns, red-team-tactics, seo-fundamentals, server-management, tailwind-patterns, tdd-workflow, typescript-expert, vulnerability-scanner - Updated README: skill count 179 → 223 - Added credit for vudovn/antigravity-kit (MIT License) Source: https://github.com/vudovn/antigravity-kit
72 lines
5.4 KiB
Markdown
72 lines
5.4 KiB
Markdown
# Agent Coordination
|
|
|
|
> How App Builder orchestrates specialist agents.
|
|
|
|
## Agent Pipeline
|
|
|
|
```
|
|
┌─────────────────────────────────────────────────────────────┐
|
|
│ APP BUILDER (Orchestrator) │
|
|
└─────────────────────────────────────────────────────────────┘
|
|
│
|
|
▼
|
|
┌─────────────────────────────────────────────────────────────┐
|
|
│ PROJECT PLANNER │
|
|
│ • Task breakdown │
|
|
│ • Dependency graph │
|
|
│ • File structure planning │
|
|
│ • Create {task-slug}.md in project root (MANDATORY) │
|
|
└─────────────────────────────────────────────────────────────┘
|
|
│
|
|
▼
|
|
┌─────────────────────────────────────────────────────────────┐
|
|
│ CHECKPOINT: PLAN VERIFICATION │
|
|
│ 🔴 VERIFY: Does {task-slug}.md exist in project root? │
|
|
│ 🔴 If NO → STOP → Create plan file first │
|
|
│ 🔴 If YES → Proceed to specialist agents │
|
|
└─────────────────────────────────────────────────────────────┘
|
|
│
|
|
┌───────────────────┼───────────────────┐
|
|
▼ ▼ ▼
|
|
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
|
|
│ DATABASE │ │ BACKEND │ │ FRONTEND │
|
|
│ ARCHITECT │ │ SPECIALIST │ │ SPECIALIST │
|
|
│ │ │ │ │ │
|
|
│ • Schema design │ │ • API routes │ │ • Components │
|
|
│ • Migrations │ │ • Controllers │ │ • Pages │
|
|
│ • Seed data │ │ • Middleware │ │ • Styling │
|
|
└─────────────────┘ └─────────────────┘ └─────────────────┘
|
|
│ │ │
|
|
└───────────────────┼───────────────────┘
|
|
▼
|
|
┌─────────────────────────────────────────────────────────────┐
|
|
│ PARALLEL PHASE (Optional) │
|
|
│ • Security Auditor → Vulnerability check │
|
|
│ • Test Engineer → Unit tests │
|
|
│ • Performance Optimizer → Bundle analysis │
|
|
└─────────────────────────────────────────────────────────────┘
|
|
│
|
|
▼
|
|
┌─────────────────────────────────────────────────────────────┐
|
|
│ DEVOPS ENGINEER │
|
|
│ • Environment setup │
|
|
│ • Preview deployment │
|
|
│ • Health check │
|
|
└─────────────────────────────────────────────────────────────┘
|
|
```
|
|
|
|
## Execution Order
|
|
|
|
| Phase | Agent(s) | Parallel? | Prerequisite | CHECKPOINT |
|
|
|-------|----------|-----------|--------------|------------|
|
|
| 0 | Socratic Gate | ❌ | - | ✅ Ask 3 questions |
|
|
| 1 | Project Planner | ❌ | Questions answered | ✅ **PLAN.md created** |
|
|
| 1.5 | **PLAN VERIFICATION** | ❌ | PLAN.md exists | ✅ **File exists in root** |
|
|
| 2 | Database Architect | ❌ | Plan ready | Schema defined |
|
|
| 3 | Backend Specialist | ❌ | Schema ready | API routes created |
|
|
| 4 | Frontend Specialist | ✅ | API ready (partial) | UI components ready |
|
|
| 5 | Security Auditor, Test Engineer | ✅ | Code ready | Tests & audit pass |
|
|
| 6 | DevOps Engineer | ❌ | All code ready | Deployment ready |
|
|
|
|
> 🔴 **CRITICAL:** Phase 1.5 is MANDATORY. No specialist agents proceed without PLAN.md verification.
|