AgentSkillsCN

build-app

将一个创意转化为完整的应用程序。从项目构想出发,制定详细计划,创建GitHub议题,搭建项目框架,并以合理的分支管理、Pull Request、代码评审、测试与分阶段合并,端到端地实现每一个功能。

SKILL.md
--- frontmatter
name: build-app
description: Build a complete application from an idea. Takes a project idea, generates a plan, creates GitHub issues, scaffolds the project, and implements every feature end-to-end with proper branching, PRs, code reviews, testing, and phase-based merges.
disable-model-invocation: true
context: fork
agent: orchestrator

Build App From Idea

Build a complete application from scratch, autonomously.

Input

$ARGUMENTS

If no arguments provided, ask for:

  1. Project idea — description of what to build
  2. Tech stack — preferred technologies (or "auto" to let the agent decide)
  3. Repository name — name for the GitHub repo

Full Pipeline

Stage 1: Plan

  • Generate plan.md with phases, features, and file structure
  • Generate issues.json with all issues ordered by dependency

Stage 2: Repository Setup

  • Create GitHub repo (private)
  • Generate project scaffolding
  • Create staging branch from main

Stage 3: Implement (per phase)

For each phase, for each issue:

  1. Create GitHub issue with formatted body
  2. Create feature branch from staging: feature/issue-{N}-{slug}
  3. Implement the code (delegate to implementer agent)
  4. Commit, push, create PR targeting staging
  5. Review PR (delegate to reviewer agent)
  6. Execute test plan with fix-retry loop (delegate to tester agent)
  7. Squash-merge PR into staging
  8. Close the issue

Stage 4: Phase Merge

After each phase completes:

  • Create PR from staging to main
  • Merge (non-squash, preserves history)
  • Sync staging with main

Stage 5: Completion

Report the final GitHub repository URL.

Branching Strategy

code
main ← staging ← feature/issue-{N}-{slug}

Resumability

Before each step, check if it's already done (via git/GitHub state). Skip completed work. Resume from the exact point of interruption.

Example Usage

code
/build-app "A drag-and-drop kanban board with React, Node.js, and PostgreSQL"
/build-app "A CLI tool for managing dotfiles" Python
/build-app "Real-time collaborative whiteboard" auto