Install
openclaw skills install eric-app-builder-v2Full-stack application builder that creates web apps, APIs, mobile apps, and more from natural language requests. Use when the user wants to build a new application, add features to existing projects, scaffold a project structure, or plan an implementation.
openclaw skills install eric-app-builder-v2This skill provides structured knowledge for building full-stack applications from scratch or enhancing existing projects. It covers project detection, tech stack selection, scaffolding patterns, implementation planning, and feature building.
| Keywords | Project Type | Recommended Stack |
|---|---|---|
| blog, post, article | Blog | Next.js Static |
| e-commerce, product, cart, payment | E-commerce | Next.js + Stripe |
| dashboard, panel, management | Admin Dashboard | Next.js + Supabase |
| api, backend, service, rest | API Service | Express or FastAPI |
| python, fastapi, django | Python API | FastAPI |
| mobile, android, ios, react native | Mobile App | React Native (Expo) |
| portfolio, personal, cv | Portfolio | Next.js Static |
| crm, customer, sales | CRM | Next.js + Supabase |
| saas, subscription, stripe | SaaS | Next.js + Stripe + Auth |
| landing, promotional, marketing | Landing Page | Next.js Static |
| extension, plugin, chrome | Browser Extension | Chrome MV3 |
| cli, command line, terminal | CLI Tool | Node.js |
1. Tokenize user request
2. Extract keywords and match to project type
3. Identify missing information → ask clarifying questions
4. Suggest appropriate tech stack
5. Confirm with user before proceeding
Frontend:
framework: Next.js 16 (Stable)
language: TypeScript 5.7+
styling: Tailwind CSS v4
state: React 19 Actions / Server Components
bundler: Turbopack (Dev Mode)
Backend:
runtime: Node.js 23
framework: Next.js API Routes
validation: Zod
Database:
primary: PostgreSQL
provider: Supabase
orm: Prisma
Auth:
provider: Supabase Auth or Clerk
Deployment:
tool: Built-in deploy command
| Need | Default | Alternative |
|---|---|---|
| Real-time | Supabase Realtime | Socket.io |
| File storage | Supabase Storage | Cloudinary, S3 |
| Payment | Stripe | LemonSqueezy, Paddle |
| Resend | SendGrid | |
| Search | - | Algolia, Typesense |
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.tsx
│ │ │ └── page.tsx
│ │ └── api/
│ │ └── [resource]/route.ts
│ │
│ ├── features/ # Feature-based modules
│ │ ├── auth/
│ │ │ ├── components/
│ │ │ ├── hooks/
│ │ │ ├── actions.ts # Server Actions
│ │ │ ├── queries.ts # Data fetching
│ │ │ └── types.ts
│ │ └── [other-features]/
│ │
│ ├── shared/ # Shared utilities
│ │ ├── components/ui/ # Reusable UI components
│ │ ├── lib/ # Utils, helpers
│ │ └── hooks/ # Global hooks
│ │
│ └── server/ # Server-only code
│ ├── db/ # Database client
│ ├── auth/ # Auth config
│ └── services/ # External API integrations
│
├── prisma/
│ ├── schema.prisma
│ └── seed.ts
│
├── public/
├── .env.example
├── package.json
├── tailwind.config.ts
└── tsconfig.json
| 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 |
{
"compilerOptions": {
"paths": {
"@/*": ["./src/*"],
"@/features/*": ["./src/features/*"],
"@/shared/*": ["./src/shared/*"],
"@/server/*": ["./src/server/*"]
}
}
}
When planning a new project or feature, follow this structured approach before writing any code.
When presenting a plan to the user, use this structure:
# Implementation Plan: [Project Name]
## Overview
[Brief description of what will be built]
## Data Models
- Model1: [fields and relationships]
- Model2: [fields and relationships]
## API Routes / Server Actions
- POST /api/resource - [description]
- GET /api/resource - [description]
## Pages & Components
- /page-name
- ComponentA
- ComponentB
## Implementation Order
1. [ ] Database schema
2. [ ] API routes / server actions
3. [ ] UI components
4. [ ] Integration & wiring
5. [ ] Testing & error fixing
## Dependencies
- [package1]
- [package2]
Request: "[user feature request]"
Analysis:
├── Required Changes:
│ ├── Database: [tables/columns needed]
│ ├── Backend: [API routes/actions needed]
│ ├── Frontend: [components/pages needed]
│ └── Config: [environment variables needed]
│
├── Dependencies:
│ ├── [npm packages]
│ └── [existing features required]
│
└── Implementation Steps:
1. [Step 1]
2. [Step 2]
...
1. Analyze existing project structure
2. Create detailed change plan
3. Present plan to user for approval
4. Get confirmation
5. Apply changes incrementally
6. Test after each change
7. Deploy and show preview
| Error Type | Solution Strategy |
|---|---|
| TypeScript Error | Fix type, add missing import |
| Missing Dependency | Install with npm/pnpm |
| Build Error | Check syntax, verify imports |
| Database Error | Check schema, validate migrations |
| Runtime Error | Debug logic, check API responses |
1. Detect error from build/runtime output
2. Attempt automatic fix
3. If failed, report to user with context
4. Suggest alternative approach
5. Rollback if necessary (git)
1. ANALYZE → Understand user request, detect project type
2. PLAN → Create detailed implementation plan, get user approval
3. BUILD → Scaffold structure, implement features (database → backend → frontend)
4. TEST → Run build, verify functionality, fix errors
5. DEPLOY → Deploy application and provide URL
| Phase | Focus | Checkpoint |
|---|---|---|
| 1. Analysis | Understand requirements | Clear spec confirmed |
| 2. Planning | Create implementation plan | Plan approved by user |
| 3. Database | Schema design, migrations | Schema created |
| 4. Backend | API routes, server actions | Endpoints working |
| 5. Frontend | Components, pages, styling | UI complete |
| 6. Testing | Build check, error fixing | Build passes |
| 7. Deployment | Deploy to production | Live URL provided |