Multi-agent app builder with 7 modes - greenfield, iteration, bugfix, refactor, UI polish, migration, and audit. PM orchestrates specialized agents with feature branches...
First time in a new project? Two-step process:
/turkey-build
# Creates: .claude/settings.local.json, git init, branches
# Then tells you to restart
# Exit Claude Code (Ctrl+C or /exit)
claude
/turkey-build
# Now agents have permissions and will work!
Why restart? Permissions load when Claude Code starts, not mid-session.
If agents fail with "Permission denied" ā You skipped the restart. Exit and re-run claude.
Before writing ANY code, you MUST read these files in order:
1. references/ORCHESTRATION.md ā HOW to run the build (features, branches, flow)
2. references/PM-AGENT.md ā PM orchestrates everything
3. references/AIMEM-INTEGRATION.md ā HOW agents coordinate through memory
DO NOT use the summaries below as your guide. They are overviews only. DO read the full reference files - they contain the actual implementation details.
Say "build me X" ā Get production-ready, runtime-verified code.
Key Differentiators:
š¦ BOOTSTRAP (runs first!)
- Create .claude/settings.local.json with agent permissions
- Initialize git, set user config
- Create main + develop branches
- Initial commit if empty
ā
ā¼
PM Agent reads requirements (or existing code + request)
ā
ā¼
PM outputs scope.yaml with features:
- feature/core-daemon (backend)
- feature/api-server (backend, devops)
- feature/web-dashboard (designer, frontend)
- feature/documentation (docs)
ā
ā¼
For each feature (in dependency order):
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā Create feature/* branch ā
ā Dispatch assigned agents ā
ā Agents collaborate on same branch ā
ā Merge to develop when complete ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā
ā¼
Review Wave (parallel on develop):
QA, Security, CodeReview, Performance
ā
ā¼
Runtime Verification:
Start server ā Hit endpoints ā Verify responses
Failures ā BUGFIX-AGENT ā Trace ā Fix ā Re-verify
ā
ā¼
Data Flow Verification:
Schema sync ā Placeholder detection ā Data trace
Verify real data flows DB ā API ā UI (no "Unknown")
Failures ā BUGFIX-AGENT ā Trace ā Fix ā Re-verify
ā
ā¼
E2E Browser Testing:
Open browser ā Click through UI ā Verify user flows
Verify ACTUAL DATA displayed (not just elements exist)
Capture screenshots (3 viewports Ć all pages Ć states)
Failures ā BUGFIX-AGENT ā Trace ā Fix ā Re-test
ā
ā¼
Visual QA Analysis:
Demo Agent calls Visual QA Agent
Analyze screenshots using Claude vision
Detect CSS bugs, layout issues, responsive problems
Critical issues ā BUGFIX-AGENT ā Fix CSS ā Re-capture
ā
ā¼
Conductor Score:
< 98% ā BUGFIX-AGENT ā Trace ā Fix ā Re-score
ā„ 98% ā merge develop ā main ā tag release
| Prefix | Purpose | Example |
|---|---|---|
feature/* |
New functionality | feature/user-auth |
bugfix/* |
Runtime/Conductor failures | bugfix/empty-dashboard |
develop |
Integration branch | Always deployable |
main |
Production releases | Tagged versions only |
User: "Build a clipboard history manager"
PM: Scopes 5 features ā Builds each ā Review ā Ship v1.0.0
User: "Add date filtering and export to the clipboard manager"
PM: Reads existing code ā Scopes 2 new features ā Builds each ā Review ā Ship v1.1.0
User: "Cards not showing in battle view"
PM: Creates bugfix branch ā BUGFIX-AGENT traces ā Finds root cause ā Fixes ā Verifies
User: "Clean up the auth code" / "Split the god file"
PM: Analyzes structure ā Plans refactor ā Restructures ā Verifies behavior unchanged
User: "Make the UI look better" / "Fix the messy CSS"
PM: Visual QA scan ā Designer reviews ā CSS cleanup ā Component polish ā Responsive fixes
User: "Upgrade to React 19" / "Move from Express to Hono"
PM: Audit current ā Plan migration ā Update incrementally ā Test each step ā Verify
User: "Review security" / "Check performance" / "Analyze code quality"
PM: Runs relevant agents ā Produces report ā No code changes unless requested
Same workflow. PM routes to different agents based on task type.
PM reads all agent files. Other agents read their own file.
| Agent | File | Role |
|---|---|---|
| PM | PM-AGENT.md |
Orchestrator - Scopes features, assigns agents |
| Discovery | DISCOVERY-AGENT.md |
Requirements ā scope.yaml (called by PM) |
| Designer | DESIGNER-AGENT.md |
Design tokens, component specs |
| Backend | BACKEND-AGENT.md |
API, database, services |
| Frontend | FRONTEND-AGENT.md |
UI components |
| Docs | DOCS-AGENT.md |
README, API docs, CLAUDE.md |
| DevOps | DEVOPS-AGENT.md |
Docker, CI/CD |
| QA | QA-AGENT.md |
Unit/integration tests |
| Security | SECURITY-AGENT.md |
Vulnerability scanning |
| Code Review | CODE-REVIEW-AGENT.md |
Quality analysis |
| Performance | PERFORMANCE-AGENT.md |
Optimization |
| Demo | DEMO-AGENT.md |
User perspective critique (calls Visual QA) |
| E2E | E2E-AGENT.md |
Browser testing - Playwright, real user flows, screenshot capture |
| Visual QA | VISUAL-QA-AGENT.md |
Screenshot analysis - Claude vision, CSS bugs, layout issues |
| Data Flow | DATA-FLOW-VERIFICATION.md |
Schema sync, placeholder detection, data trace |
| Bugfix | BUGFIX-AGENT.md |
Systematic debugging - Reproduce, trace, isolate, fix, verify |
| Conductor | CONDUCTOR-AGENT.md |
Quality gate (98/100 with visual QA dimension) |
All files in references/ directory.
Each agent requires specific tools based on their responsibilities:
| Agent | Required Tools | Purpose |
|---|---|---|
| PM | Bash, Read, Write, Edit | Git operations, file management, orchestration |
| Discovery | Read | Analyze existing code for iteration mode |
| Designer | Write, Edit | Create design tokens, semantic registry |
| Backend | Bash, Read, Write, Edit | Run migrations, create APIs, database setup |
| Frontend | Read, Write, Edit | Read registry/contracts, build UI components |
| Docs | Read, Write, Edit | Create README, API docs, CLAUDE.md |
| DevOps | Bash, Write, Edit | Docker setup, CI/CD configuration |
| QA | Bash, Read, Write, Edit | Run tests, create test files |
| Security | Bash, Read | Run security scans, analyze code |
| Code Review | Read, Edit | Analyze and refactor code |
| Performance | Bash, Read, Edit | Profile code, optimize queries |
| Demo | Read | Analyze from user perspective |
| E2E | Bash, Read, Write, Edit | Playwright setup, browser tests, add data-testid |
| Bugfix | Bash, Read, Write, Edit | Trace data flow, diagnose root cause, apply fixes |
| Conductor | Read | Score quality, make ship decisions |
feature/user-auth not feature/backendauto-app-builder/
āāā SKILL.md # This file (entry point)
āāā README.md
āāā LICENSE
āāā references/
āāā ORCHESTRATION.md # ā READ FIRST
āāā PM-AGENT.md # ā PM orchestrates
āāā AIMEM-INTEGRATION.md # ā Agent coordination
āāā DISCOVERY-AGENT.md
āāā DESIGNER-AGENT.md
āāā BACKEND-AGENT.md
āāā FRONTEND-AGENT.md
āāā QA-AGENT.md # ā Includes schema sync checks
āāā DEVOPS-AGENT.md
āāā DEMO-AGENT.md # ā Calls Visual QA for screenshot analysis
āāā E2E-AGENT.md # ā Browser testing + screenshot capture
āāā VISUAL-QA-AGENT.md # ā NEW: Claude vision screenshot analysis
āāā DATA-FLOW-VERIFICATION.md # ā Schema sync, placeholder detection
āāā BUGFIX-AGENT.md # ā Systematic debugging methodology
āāā CONDUCTOR-AGENT.md # ā Quality gate with Visual QA dimension
āāā SECURITY-AGENT.md
āāā CODE-REVIEW-AGENT.md
āāā PERFORMANCE-AGENT.md
āāā DOCS-AGENT.md
āāā MEMORY-COORDINATION.md
āāā QA-SCORING.md
āāā RUNTIME-VERIFICATION.md
MIT ⢠TurkeyCode.ai