app-builder
Main application building orchestrator. Creates full-stack applications from natural language requests. Determines project type, selects tech stack, coordinates agents. Use for creating new applications, scaffolding projects, or building features from scratch.
$ Installer
git clone https://github.com/xenitV1/claude-code-maestro /tmp/claude-code-maestro && cp -r /tmp/claude-code-maestro/skills/app-builder ~/.claude/skills/claude-code-maestro// tip: Run this command in your terminal to install the skill
SKILL.md
name: app-builder description: Main application building orchestrator. Creates full-stack applications from natural language requests. Determines project type, selects tech stack, coordinates agents. Use for creating new applications, scaffolding projects, or building features from scratch.
App Builder - Application Building Orchestrator
Purpose
Analyzes user's natural language requests, determines the appropriate tech stack, plans project structure, and coordinates expert agents to create a working application.
1. Project Type Detection
1.1 Keyword Matrix
| Keywords | Project Type | Template |
|---|---|---|
| blog, post, article | Blog | astro-static |
| e-commerce, product, cart, payment | E-commerce | nextjs-saas |
| dashboard, panel, management | Admin Dashboard | nextjs-fullstack |
| api, backend, service, rest | API Service | express-api |
| python, fastapi, django | Python API | python-fastapi |
| mobile, android, ios, react native | Mobile App (RN) | react-native-app |
| flutter, dart | Mobile App (Flutter) | flutter-app |
| portfolio, personal, cv | Portfolio | nextjs-static |
| crm, customer, sales | CRM | nextjs-fullstack |
| saas, subscription, stripe, payment | SaaS | nextjs-saas |
| landing, promotional, marketing | Landing Page | nextjs-static |
| docs, documentation, content | Documentation | astro-static |
| extension, plugin, chrome, browser | Browser Extension | chrome-extension |
| desktop, electron, windows, mac | Desktop App | electron-desktop |
| cli, command line, terminal, tool | CLI Tool | cli-tool |
| monorepo, workspace, multi-package | Monorepo | monorepo-turborepo |
1.2 Detection Process
1. Tokenize user request
2. Extract keywords
3. Determine project type
4. Detect missing information โ forward to conversation-manager
5. Suggest tech stack
2. Tech Stack Selection
2.1 Default Stack (Web App - 2025)
Frontend:
framework: Next.js 15 (Stable)
language: TypeScript 5.7+
styling: Tailwind CSS v4 (Alpha/Stable)
state: React 19 Actions / Server Components
bundler: Turbopack (Stable for Dev)
Backend:
runtime: Node.js 23 (Native Test Runner)
framework: Next.js API Routes / Hono (for Edge)
validation: Zod / TypeBox
Database:
primary: PostgreSQL
orm: Prisma / Drizzle
hosting: Supabase / Neon
Auth:
provider: Auth.js (v5) / Clerk
Monorepo:
tool: Turborepo 2.0 (New Terminal UI)
2.2 Alternative Options
| Need | Default | Alternative |
|---|---|---|
| Real-time | - | Supabase Realtime, Socket.io |
| File storage | - | Cloudinary, S3 |
| Payment | Stripe | LemonSqueezy, Paddle |
| - | Resend, SendGrid | |
| Search | - | Algolia, Typesense |
3. Agent Coordination
3.1 Agent Pipeline
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ APP BUILDER (Orchestrator) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ PROJECT PLANNER โ
โ โข Task breakdown โ
โ โข Dependency graph โ
โ โข File structure planning โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโ
โผ โผ โผ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ 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 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
3.2 Execution Order
| Phase | Agent(s) | Parallel? | Prerequisite |
|---|---|---|---|
| 1 | Project Planner | โ | - |
| 2 | Database Architect | โ | Plan ready |
| 3 | Backend Specialist | โ | Schema ready |
| 4 | Frontend Specialist | โ | API ready (partial) |
| 5 | Security Auditor, Test Engineer | โ | Code ready |
| 6 | DevOps Engineer | โ | All code ready |
4. Project Scaffolding
4.1 Directory Structure (Next.js Full-Stack)
project-name/
โโโ prisma/
โ โโโ schema.prisma
โ โโโ migrations/
โ โโโ seed.ts
โโโ src/
โ โโโ app/
โ โ โโโ layout.tsx
โ โ โโโ page.tsx
โ โ โโโ globals.css
โ โ โโโ api/
โ โ โ โโโ [resource]/
โ โ โ โโโ route.ts
โ โ โโโ [feature]/
โ โ โโโ page.tsx
โ โโโ components/
โ โ โโโ ui/
โ โ โโโ [feature]/
โ โโโ lib/
โ โ โโโ db.ts
โ โ โโโ auth.ts
โ โ โโโ utils.ts
โ โโโ hooks/
โ โโโ types/
โโโ public/
โโโ .env.example
โโโ .env.local
โโโ package.json
โโโ tailwind.config.ts
โโโ tsconfig.json
โโโ README.md
4.2 Core Files
Files automatically created for every project:
package.json- Dependenciestsconfig.json- TypeScript configtailwind.config.ts- Tailwind config.env.example- Environment variables templateREADME.md- Project documentation.gitignore- Git ignore rulesprisma/schema.prisma- Database schema
5. Feature Building
5.1 Feature Analysis
Request: "add payment system"
Analysis:
โโโ Required Changes:
โ โโโ Database: orders, payments tables
โ โโโ Backend: /api/checkout, /api/webhooks/stripe
โ โโโ Frontend: CheckoutForm, PaymentSuccess
โ โโโ Config: Stripe API keys
โ
โโโ Dependencies:
โ โโโ stripe package
โ โโโ Existing user authentication
โ
โโโ Estimated Time: 15-20 minutes
5.2 Iterative Enhancement
1. Analyze existing project
2. Create change plan
3. Present plan to user
4. Get approval
5. Apply changes
6. Test
7. Show preview
6. Context Management
6.1 Project State
{
"projectPath": "/path/to/project",
"projectType": "nextjs-ecommerce",
"techStack": {
"frontend": "next.js",
"database": "postgresql",
"auth": "clerk"
},
"features": ["product-listing", "cart", "checkout"],
"pendingFeatures": ["admin-panel"],
"lastModified": "2025-12-30T08:00:00Z"
}
6.2 Context Loading
At session start:
1. Read current-project.json
2. Load project state
3. Restore conversation history
4. Present summary to user (optional)
7. Error Handling
7.1 Build Errors
Error Type โ Solution Strategy:
TypeScript Error โ Fix type, add missing import
Missing Dependency โ Run npm install
Port Conflict โ Suggest alternative port
Database Error โ Check migration, validate connection string
7.2 Recovery Strategy
1. Detect error
2. Try automatic fix
3. If failed, report to user
4. Suggest alternative
5. Rollback if necessary
8. Integration Points
This skill integrates with the following skills and agents:
| Component | Role |
|---|---|
conversation-manager | User communication, Q&A |
project-planner agent | Task breakdown, dependency graph |
frontend-specialist agent | UI components, pages |
backend-specialist agent | API, business logic |
database-architect agent | Schema, migrations |
devops-engineer agent | Deployment, preview |
progress-reporter script | Real-time status updates |
9. Usage Example
User: "Make an Instagram clone with photo sharing and likes"
App Builder Process:
1. Project type: Social Media App
2. Tech stack: Next.js + Prisma + Cloudinary + Clerk
3.
โโ Create plan
โโ Database schema (users, posts, likes, follows)
โโ API routes (12 endpoints)
โโ Pages (feed, profile, upload)
โโ Components (PostCard, Feed, LikeButton)
4. Coordinate agents
5. Report progress
6. Start preview
7. Notify user when complete
Repository

xenitV1
Author
xenitV1/claude-code-maestro/skills/app-builder
62
Stars
15
Forks
Updated6d ago
Added1w ago