A systematic methodology for building complex software with coordinated AI agents.
This repository demonstrates PRD-first development using Claude Code's multi-agent orchestration to build applications faster through parallel execution and contract-driven development.
This project teaches a reusable process for AI-assisted development:
- Start with a comprehensive PRD - Clear requirements enable everything else
- Configure CLAUDE.md - Point to your PRD and planning agent
- Define specialized agents - Each owns a specific domain with clear boundaries
- Execute in parallel - Multiple agents work simultaneously
- Integrate smoothly - Contracts ensure clean composition
multi-agent-coding/
├── agent-templates/ # Reusable templates for your projects
│ ├── CLAUDE.md.example # Configuration template
│ └── subagent-template.md # Domain agent template
│
└── blackjack-app/ # Complete working example
├── blackjack-prd.md # Starting point: comprehensive PRD
├── CLAUDE.md # Agent orchestration config
└── .claude/agents/ # Agent definitions
├── 01-foundation.md
├── 02-logic.md
├── 03-frontend.md
└── 04-integration.md
- Claude Code installed
- Claude Pro subscription
Build the blackjack app with Claude:
# Clone the repository
git clone https://github.com/bufothefrog/multi-agent-coding.git
cd multi-agent-coding/blackjack-app
cp .claude/settings.local.json.example .claude/settings.local.json
claude
# Tell Claude: "Please implement the blackjack-prd.md"Claude will read the PRD, discover the agent definitions in .claude/agents/, and orchestrate the build using specialized agents working in parallel.
Explore the methodology:
# 1. Read the PRD (the starting point)
cat blackjack-app/blackjack-prd.md
# 2. Review the configuration
cat blackjack-app/CLAUDE.md
# 3. Examine agent definitions
cat blackjack-app/.claude/agents/01-foundation.mdAdapt to your project:
cp agent-templates/CLAUDE.md.example your-project/CLAUDE.md
cp agent-templates/planning-agent.md your-project/.claude/agents/planning-agent.md
# Customize using subagent-template.md- PRD First - Comprehensive requirements enable parallel development
- Contracts Enable Parallelism - Define interfaces before implementation
- Clear Boundaries - Each agent owns a specific domain
- Context Management - Chunk work to respect token limits
- Easy Integration - Smooth composition validates the approach
Traditional Sequential:
- Build backend → Build frontend → Add features → Debug integration
- 3-4 weeks, tight coupling, painful integration
Multi-Agent Parallel:
- Define contracts → [Backend + Frontend + Features simultaneously] → Integration
- 1-2 weeks, loose coupling, smooth integration
- Advanced Context Engineering for Coding Agents - Comprehensive guide to context engineering techniques for AI coding agents