← 返回 Skills 市场
ericn26-star

App Builder

作者 ericn26-star · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
35
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install eric-app-builder-v2
功能描述
Full-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 appl...
使用说明 (SKILL.md)

App Builder Skill

This 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.

Contents

  1. Project Detection - Keyword matrix for identifying project types
  2. Tech Stack - 2025 default technologies and alternatives
  3. Scaffolding - Directory structures and core files
  4. Implementation Planning - Requirement analysis, task breakdown, and plan format
  5. Feature Building - Analysis and implementation patterns
  6. Coordination - Multi-phase development workflow

1. Project Detection

Keyword Matrix

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

Detection Process

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

2. Tech Stack Selection (2025)

Default Web App Stack

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

Alternative Options

Need Default Alternative
Real-time Supabase Realtime Socket.io
File storage Supabase Storage Cloudinary, S3
Payment Stripe LemonSqueezy, Paddle
Email Resend SendGrid
Search - Algolia, Typesense

3. Project Scaffolding

Next.js Full-Stack Structure

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

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

Path Aliases (tsconfig.json)

{
  "compilerOptions": {
    "paths": {
      "@/*": ["./src/*"],
      "@/features/*": ["./src/features/*"],
      "@/shared/*": ["./src/shared/*"],
      "@/server/*": ["./src/server/*"]
    }
  }
}

4. Implementation Planning

When planning a new project or feature, follow this structured approach before writing any code.

Requirement Analysis

  1. Break down user requests into concrete features
  2. Identify data models and their relationships
  3. Determine API endpoints or server actions needed
  4. List UI components required
  5. Identify potential blockers early

Task Breakdown

  • Create an ordered task list with dependencies
  • Estimate complexity for each task (simple / medium / complex)
  • Flag tasks that require user decisions or external services

Plan Output Format

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]

Planning Guidelines

  • Be specific and actionable in each task
  • Consider edge cases and error states
  • Plan for input validation and error handling
  • Keep security in mind (auth, authorization, input sanitization)
  • Present the plan to the user and get approval before proceeding

5. Feature Building

Feature Analysis Template

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]
    ...

Iterative Enhancement Process

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 Handling

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

Recovery Strategy

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)

6. Development Coordination

Core Workflow

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

Execution Phases

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

Quality Gates

  • Before Phase 3: User must approve the plan
  • Before Phase 7: Build must pass without errors
  • After Deployment: Verify the live site works

Usage Guidelines

  1. Always start with project type detection - Match keywords to determine the best approach
  2. Present plans before implementing - Get user confirmation on significant decisions
  3. Build incrementally - Test after each major change
  4. Deploy early - Get a working version deployed quickly, then iterate
  5. Handle errors gracefully - Fix issues and continue, don't give up
  6. Type safety throughout - Full TypeScript coverage with Zod validation for inputs
  7. Progressive enhancement - Start simple, add complexity as needed
安全使用建议
This appears safe to install as an instruction-only development helper. If you use it to generate apps involving payments, authentication, or external services, review the generated code and configuration before connecting real credentials or processing real user data.
功能分析
Type: OpenClaw Skill Name: eric-app-builder-v2 Version: 1.0.0 The skill bundle provides a structured framework and set of instructions for an AI agent to act as a full-stack application builder. It includes project detection matrices, recommended 2025 tech stacks (e.g., Next.js, Supabase), and standardized scaffolding patterns in SKILL.md. There is no evidence of malicious intent, data exfiltration, or unauthorized execution; the content is entirely focused on guiding the agent through a legitimate software development lifecycle.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
The visible SKILL.md content describes project detection, stack selection, scaffolding, implementation planning, and feature-building guidance, which matches the stated app-builder purpose.
Instruction Scope
The visible instructions are scoped to planning and building applications and include user confirmation before proceeding; no prompt override, forced tool use, or goal hijacking is shown.
Install Mechanism
There is no install spec, no code files, no required binaries, and no required environment variables; this is an instruction-only skill.
Credentials
The skill suggests common app-development services such as Supabase, Clerk, and Stripe, but the artifacts do not request credentials or show any direct API use, transaction execution, or local system access.
Persistence & Privilege
No background workers, persistent memory, privilege escalation, credential storage, or autonomous post-install behavior is present in the supplied artifacts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install eric-app-builder-v2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /eric-app-builder-v2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
eric-app-builder-v2 v1.0.0 Changelog - Initial release of the full-stack application builder skill. - Supports detection of common app types, tech stack selection, and scaffolding for modern 2025 web projects. - Provides detailed implementation planning and task breakdown templates. - Includes patterns for modular project structure, feature isolation, and shared code management. - Offers structured guidance on error handling, stepwise development, and user coordination throughout the build process.
元数据
Slug eric-app-builder-v2
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

App Builder 是什么?

Full-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 appl... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 35 次。

如何安装 App Builder?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install eric-app-builder-v2」即可一键安装,无需额外配置。

App Builder 是免费的吗?

是的,App Builder 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

App Builder 支持哪些平台?

App Builder 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 App Builder?

由 ericn26-star(@ericn26-star)开发并维护,当前版本 v1.0.0。

💬 留言讨论