Back to skills
SKILL.md
App Builder
ASecurityAnalyzes user's requests, determines tech stack, plans structure, and coordinates agents.
- 3 stars
- 0 votes
- 0 copies
- 2 views
- Added September 12, 2026
Works with
Security analysis
92/100- Installs packages at runtime which could introduce malicious dependencies
Pro scans all 20 files and shows the line behind each finding
npx -y skills add HaoNgo232/agent-bridge-kit --skill app-builder --agent claude-codeAre you the author of App Builder?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/haongo232-app-builder-agent-bridge-kit)---
name: app-builder
description: Analyzes user's requests, determines tech stack, plans structure, and coordinates agents.
---
# App Builder - Application Building Orchestrator
> Analyzes user's requests, determines tech stack, plans structure, and coordinates agents.
## šÆ Selective Reading Rule
**Read ONLY files relevant to the request!** Check the content map, find what you need.
| File | Description | When to Read |
|------|-------------|--------------|
| `project-detection.md` | Keyword matrix, project type detection | Starting new project |
| `tech-stack.md` | 2026 default stack, alternatives | Choosing technologies |
| `agent-coordination.md` | Agent pipeline, execution order | Coordinating multi-agent work |
| `scaffolding.md` | Directory structure, core files | Creating project structure |
| `feature-building.md` | Feature analysis, error handling | Adding features to existing project |
| `templates/SKILL.md` | **Project templates** | Scaffolding new project |
---
## š¦ Templates (13)
Quick-start scaffolding for new projects. **Read the matching template only!**
| Template | Tech Stack | When to Use |
|----------|------------|-------------|
| [nextjs-fullstack](templates/nextjs-fullstack/TEMPLATE.md) | Next.js + Prisma | Full-stack web app |
| [nextjs-saas](templates/nextjs-saas/TEMPLATE.md) | Next.js + Stripe | SaaS product |
| [nextjs-static](templates/nextjs-static/TEMPLATE.md) | Next.js + Framer | Landing page |
| [nuxt-app](templates/nuxt-app/TEMPLATE.md) | Nuxt 3 + Pinia | Vue full-stack app |
| [express-api](templates/express-api/TEMPLATE.md) | Express + JWT | REST API |
| [python-fastapi](templates/python-fastapi/TEMPLATE.md) | FastAPI | Python API |
| [react-native-app](templates/react-native-app/TEMPLATE.md) | Expo + Zustand | Mobile app |
| [flutter-app](templates/flutter-app/TEMPLATE.md) | Flutter + Riverpod | Cross-platform mobile |
| [electron-desktop](templates/electron-desktop/TEMPLATE.md) | Electron + React | Desktop app |
| [chrome-extension](templates/chrome-extension/TEMPLATE.md) | Chrome MV3 | Browser extension |
| [cli-tool](templates/cli-tool/TEMPLATE.md) | Node.js + Commander | CLI app |
| [monorepo-turborepo](templates/monorepo-turborepo/TEMPLATE.md) | Turborepo + pnpm | Monorepo |
---
## š Related Agents
| Agent | Role |
|-------|------|
| `project-planner` | Task breakdown, dependency graph |
| `frontend-specialist` | UI components, pages |
| `backend-specialist` | API, business logic |
| `database-architect` | Schema, migrations |
| `devops-engineer` | Deployment, preview |
---
## 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
```
---
# 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.
---
# Feature Building
> How to analyze and implement new features.
## 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
```
## Iterative Enhancement Process
```
1. Analyze existing project
2. Create change plan
3. Present plan to user
4. Get approval
5. Apply changes
6. Test
7. Show preview
```
## Error Handling
| 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 |
## Recovery Strategy
```
1. Detect error
2. Try automatic fix
3. If failed, report to user
4. Suggest alternative
5. Rollback if necessary
```
---
# Project Type Detection
> Analyze user requests to determine project type and template.
## 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 | SaaS | nextjs-saas |
| landing, promotional, marketing | Landing Page | nextjs-static |
| docs, documentation | Documentation | astro-static |
| extension, plugin, chrome | Browser Extension | chrome-extension |
| desktop, electron | Desktop App | electron-desktop |
| cli, command line, terminal | CLI Tool | cli-tool |
| monorepo, workspace | Monorepo | monorepo-turborepo |
## 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
```
---
# Project Scaffolding
> Directory structure and core files for new projects.
---
## Next.js Full-Stack Structure (2026+ Next.js 16 Optimized)
```
project-name/
āāā src/
ā āāā app/ # Routes only (thin layer)
ā ā āāā layout.tsx
ā ā āāā page.tsx
ā ā āāā globals.css
ā ā āāā (auth)/ # Route group - auth pages
ā ā ā āāā login/page.tsx
ā ā ā āāā register/page.tsx
ā ā āāā (dashboard)/ # Route group - dashboard layout
ā ā ā āāā layout.tsx
ā ā ā āāā page.tsx
ā ā āāā api/
ā ā āāā [resource]/route.ts
ā ā
ā āāā features/ # Feature-based modules
ā ā āāā auth/
ā ā ā āāā components/
ā ā ā āāā hooks/
ā ā ā āāā actions.ts # Server Actions
ā ā ā āāā queries.ts # Data fetching
ā ā ā āāā types.ts
ā ā āāā products/
ā ā ā āāā components/
ā ā ā āāā actions.ts
ā ā ā āāā queries.ts
ā ā āāā cart/
ā ā āāā ...
ā ā
ā āāā shared/ # Shared utilities
ā ā āāā components/ui/ # Reusable UI components
ā ā āāā lib/ # Utils, helpers
ā ā āāā hooks/ # Global hooks
ā ā
ā āāā server/ # Server-only code
ā āāā db/ # Database client (Prisma)
ā āāā auth/ # Auth config
ā āāā services/ # External API integrations
ā
āāā prisma/
ā āāā schema.prisma
ā āāā migrations/
ā āāā seed.ts
ā
āāā public/
āāā .env.example
āāā .env.local
āāā package.json
āāā tailwind.config.ts
āāā tsconfig.json
āāā README.md
```
---
## Structure Principles
| Principle | Implementation |
|-----------|----------------|
| **Feature isolation** | Each feature in `features/` with its own components, hooks, actions |
| **Server/Client separation** | Server-only code in `server/`, prevents accidental client imports |
| **Thin routes** | `app/` only for routing, logic lives in `features/` |
| **Route groups** | `(groupName)/` for layout sharing without URL impact |
| **Shared code** | `shared/` for truly reusable UI and utilities |
---
| File | Purpose |
|------|---------|
| `proxy.ts` | Next.js 16 Network boundary logic (auth, redirects) |
| `package.json` | Dependencies |
| `tsconfig.json` | TypeScript + path aliases (`@/features/*`) |
| `tailwind.config.ts` | Tailwind config |
| `.env.example` | Environment template |
| `README.md` | Project documentation |
| `.gitignore` | Git ignore rules |
| `prisma/schema.prisma` | Database schema |
| `src/server/cache-handler.ts` | Next.js 16 Cache Components Manager |
---
## Path Aliases (tsconfig.json)
```json
{
"compilerOptions": {
"paths": {
"@/*": ["./src/*"],
"@/features/*": ["./src/features/*"],
"@/shared/*": ["./src/shared/*"],
"@/server/*": ["./src/server/*"]
}
}
}
```
---
## When to Use What
| Need | Location |
|------|----------|
| New page/route | `app/(group)/page.tsx` |
| Feature component | `features/[name]/components/` |
| Server action | `features/[name]/actions.ts` |
| Data fetching | `features/[name]/queries.ts` |
| Reusable button/input | `shared/components/ui/` |
| Database query | `server/db/` |
| External API call | `server/services/` |
---
# Tech Stack Selection (2026)
> Default and alternative technology choices for web applications.
## Default Stack (Web App - 2026)
```yaml
Frontend:
framework: Next.js 16 (Stable)
language: TypeScript 5.7+
styling: Tailwind CSS v4
state: React 19 Actions / Server Components
caching: Next.js 16 Cache Components (Stable)
bundler: Turbopack (Stable for Dev & Build)
Backend:
runtime: Node.js 23
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
```
## Alternative Options
| Need | Default | Alternative |
|------|---------|-------------|
| Real-time | - | Supabase Realtime, Socket.io |
| File storage | - | Cloudinary, S3 |
| Payment | Stripe | LemonSqueezy, Paddle |
| Email | - | Resend, SendGrid |
| Search | - | Algolia, Typesense |
---
*Generated by [Agent Bridge](https://github.com/HaoNgo232/agent-bridge)*
Files in this skill
- SKILL.md
- agent-coordination.md
- feature-building.md
- project-detection.md
- scaffolding.md
- tech-stack.md
- templates/SKILL.md
- templates/astro-static/TEMPLATE.md
- templates/chrome-extension/TEMPLATE.md
- templates/cli-tool/TEMPLATE.md
- templates/electron-desktop/TEMPLATE.md
- templates/express-api/TEMPLATE.md
- templates/flutter-app/TEMPLATE.md
- templates/monorepo-turborepo/TEMPLATE.md
- templates/nextjs-fullstack/TEMPLATE.md
- templates/nextjs-saas/TEMPLATE.md
- templates/nextjs-static/TEMPLATE.md
- templates/nuxt-app/TEMPLATE.md
- templates/python-fastapi/TEMPLATE.md
- templates/react-native-app/TEMPLATE.md
Attribution
Comments
Loading commentsā¦