Build App From Idea
Build a complete application from scratch, autonomously.
Input
$ARGUMENTS
If no arguments provided, ask for:
- •Project idea — description of what to build
- •Tech stack — preferred technologies (or "auto" to let the agent decide)
- •Repository name — name for the GitHub repo
Full Pipeline
Stage 1: Plan
- •Generate
plan.mdwith phases, features, and file structure - •Generate
issues.jsonwith 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:
- •Create GitHub issue with formatted body
- •Create feature branch from staging:
feature/issue-{N}-{slug} - •Implement the code (delegate to implementer agent)
- •Commit, push, create PR targeting staging
- •Review PR (delegate to reviewer agent)
- •Execute test plan with fix-retry loop (delegate to tester agent)
- •Squash-merge PR into staging
- •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