Skip to content
Back to skills

Build

ASecurity

Full-stack app builder — takes a competitor app, idea, or spec and executes an 8-phase pipeline to produce a working application. Supports any tech stack. Trigger: build an app, clone this app, build a competitor, build from scratch, build me a [thing].

  • 25 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 27, 2026
developmenttypescriptpythongosqlreactvuenextjsnodeexpressfastapi

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add tinh2/skills-hub-registry --skill build --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Build?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Build
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tinh2-build/badge)](https://www.skillsdirectory.com/skills/tinh2-build)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: build
description: "Full-stack app builder — takes a competitor app, idea, or spec and executes an 8-phase pipeline to produce a working application. Supports any tech stack. Trigger: build an app, clone this app, build a competitor, build from scratch, build me a [thing]."
version: "2.0.1"
category: build
platforms:
  - CLAUDE_CODE
---

Take a competitor app, product idea, or spec and run the full pipeline below to produce a working application. Run end-to-end; pause only for a blocking ambiguity that defaults cannot resolve.

## INPUT

Any combination of: an App Store / Google Play URL, a video or screenshots of a competitor app, a text description (what, how, how it makes money), or a spec/PRD/feature list.

For a store URL, fetch the listing and extract name, description, screenshots, features, pricing model, rating, review highlights, category, and last update date; use it alongside other inputs.

## TECH STACK SELECTION

Before Phase 1, pick the stack. If the user specified one, use it exactly. Otherwise ask once, then proceed with their pick (or the default on "go"):

> What tech stack? Default: **Node.js (Fastify) + React (Next.js)**
> Other options: Python (FastAPI), Go, Rails, NestJS, Express | Flutter, Vue (Nuxt), React Native
> Or tell me your preference. Reply "go" to use defaults.

### Stack Conventions

Same architecture everywhere (layers, validation, error handling, tests), idiomatic tooling per stack. Flutter follows the `/flutter` skill.

**Backend — Shared Principles (all stacks):**
- API versioning via URL prefix: /api/v1/
- Standard response envelope: `{ success, data?, error?: { code, message } }`
- Auth: Bearer token in Authorization header
- Pagination: Cursor-based for lists (`?cursor=X&limit=20`)
- All config/env validated at startup — fail fast if missing
- Graceful shutdown: handle SIGTERM, drain connections, close pools
- Health check endpoint: `GET /api/v1/health`
- Layered architecture: controller/handler -> service -> repository/data-access
- No service should call another service's repository directly

**Per-framework backend conventions** (Fastify, Express, NestJS, FastAPI, Django, Go, Rails): read `references/stack-conventions.md` when scaffolding (fallback: https://raw.githubusercontent.com/tinh2/skills-hub-registry/main/build/build/references/stack-conventions.md).

**Frontend — Shared Principles (all stacks):**
- Component-based architecture with clear separation
- Centralized state management
- Type-safe API client with error handling
- Design tokens / theme system from Day 1
- Loading, error, and empty states for every data-driven view
- Accessibility built in from the start (not retrofitted)

**Per-framework frontend conventions** (Next.js, Nuxt, React Native; Flutter follows `/flutter`): read `references/stack-conventions-frontend.md` (fallback: https://raw.githubusercontent.com/tinh2/skills-hub-registry/main/build/build/references/stack-conventions-frontend.md).

**Database:** Default to PostgreSQL. Use SQLite for simple/local apps, MongoDB if
document-oriented, Firebase/Firestore if the user specifies or the app is mobile-first
with real-time needs.

## EXECUTION MODEL

8 phases, mostly sequential; some run independent work in parallel via the Task tool. Do not pause between phases. If a phase yields NEEDS WORK or SIGNIFICANT GAPS, fix inline and continue. Print a header before each phase:

```
=== PHASE 1: COMPETITIVE ANALYSIS ===
=== PHASE 2: ARCHITECTURE & PLANNING ===
=== PHASE 3: REVIEW (parallel story reviews) ===
=== PHASE 4: IMPLEMENTATION (parallel feature streams) ===
=== PHASE 5: VALIDATION GATE ===
=== PHASE 6: PARALLEL VERIFICATION (UX || test-plan) ===
=== PHASE 7: FINAL QA ===
=== PHASE 8: BUILD REPORT ===
```

---

## PHASE 1: COMPETITIVE ANALYSIS

### Step 1.1 — MVP Analysis

Follow the instructions defined in the `/mvp` skill exactly. Produce all 9 sections
of the `/mvp` output (Application Overview through Summary).

If building from scratch (no competitor), produce an equivalent analysis:
- Target users and core problem
- Feature breakdown with priority tiers
- Revenue model
- Technical requirements

### Step 1.2 — Competitive Teardown

After the analysis, add:

#### 10. Competitive Teardown

Read `references/competitive-teardown.md` (fallback: https://raw.githubusercontent.com/tinh2/skills-hub-registry/main/build/build/references/competitive-teardown.md) and produce: Pricing Analysis, Technical Debt Indicators, Our Advantages, and a Feature Triage assigning every MVP feature CLONE / IMPROVE / CUT / ADD (with reasons). The triage is the master feature list for all later phases. From scratch: skip the teardown but still triage, with MUST-HAVE instead of CLONE.

---

## PHASE 2: ARCHITECTURE & PLANNING

### Step 2.1 — Define Project Structure

Monorepo: `backend/`, `frontend/` (or `mobile/` for Flutter/RN), `docs/` (specs and stories), `docker-compose.yml` (full dev environment), `README.md`. Inside each, apply the stack's directory conventions (Flutter: `/flutter` structure exactly).

### Step 2.2 — Generate Story Backlog

From the master feature list, write stories following the `/spec` skill, in this order:
1. BE: Project Setup & Configuration (auth, error handling, health check, base setup)
2. BE: Database Schema & Migrations (all MVP models)
3. BE: Core feature stories, one per module, ordered by dependency
4. FE: one per screen/flow, ordered by user journey

Use `/spec` format exactly: BE:/FE: title prefix, 2-4 sentence description, acceptance criteria with categorized bold headers, Routes (BE, full `METHOD /path`), Dev Notes (schema, tables, guidance). Number STORY-001, STORY-002, ... FE stories state "Consumes endpoints from STORY-XXX."

### Step 2.3 — Identify Parallel Feature Streams

Group stories into independent streams that share no data-model dependencies, mark hard dependencies and order-free stories, and produce a dependency graph with the critical path and parallel tracks. It drives Phase 4.

---

## PHASE 3: REVIEW

### Step 3.1 — Architecture Review of Each Story (PARALLEL)

Review every story with the `/arch-review` skill in DESIGN REVIEW mode. Reviews are read-only, so run them as parallel Task subagents in batches of 3-4 and collect all results before continuing. Greenfield focus: cross-story consistency (naming, patterns, shared types), dependency ordering, schema completeness (foreign keys, indexes, constraints, naming), and API consistency (same conventions and envelope). On NEEDS CLARIFICATION or SIGNIFICANT GAPS, fix the story inline (criteria, dev notes, schema) and continue.

### Step 3.2 — Consolidated Review Output

Produce: the reviewed backlog (every story READY TO IMPLEMENT), the dependency graph with parallel tracks, and the exact numbered implementation order noting what can run in parallel.

---

## PHASE 4: IMPLEMENTATION

### Step 4.0 — Project Scaffolding

Before any story:
1. Create the monorepo structure from Step 2.1.
2. Backend: package manifest with all dependencies; language config (tsconfig, pyproject.toml, go.mod, Gemfile, ...); `.env.example` with every variable; multi-stage Dockerfile; docker-compose for local deps (database, cache); test config; entry point with graceful shutdown; app setup (plugins/middleware/routes/error handler); config files (env, database, auth, logger); shared middleware/utils/types; database schema, models, migrations.
3. Frontend: project in its directory with the stack's structure; theme / design tokens; routing; constants (API base URL); API client for the backend; standard dependencies.
4. Firebase: write firestore.rules together with the data models (never rules-after-the-fact), storage.rules alongside any upload service, and firestore.indexes.json for compound queries in the stories.
5. Top-level docker-compose.yml and README.md.
6. Commit: `feat: scaffold project structure`

### Step 4.0.1 — Scaffold Validation Gate

Immediately after scaffolding, before any story (prevents cascading issues):
1. Run the type checker / static analysis: TypeScript `tsc --noEmit`; Python `mypy` or `pyright` if configured; Go `go build ./...`; Flutter `flutter analyze`; React/Vue/Next/Nuxt `tsc --noEmit` or the framework lint.
2. Install dependencies to verify they resolve.
3. Run auto-fixers (`dart fix --apply`, `eslint --fix`).
4. Firebase: cross-check firestore.rules paths against model collection paths.

Fix everything. Commit: `chore: scaffold validation fixes`

### Step 4.1 — Implement Stories by Feature Stream (PARALLEL WHERE POSSIBLE)

Foundational stories (setup, schema, auth) complete first. Then stories in the same stream run sequentially, and independent streams run in parallel as Task subagents, each touching a distinct set of files. Example: streams A (STORY-003 -> 006 -> 009, profiles), B (004 -> 007, notifications), C (005 -> 008, search) = 3 parallel subagents.

For each story:
a. Implement it following the `/story-implementer` skill; "existing patterns" means the Step 4.0 scaffold. Every module follows the stack's layered architecture.
b. Validate with `/arch-review` in IMPLEMENTATION REVIEW mode.
c. On NEEDS WORK, fix every flagged item and re-review until READY.
d. Commit: `feat(STORY-XXX): [description]`. Split stories touching 20+ files into logical sub-commits; never one commit over 50 files.

### Step 4.1.1 — Parallel Stream Merge Verification

After all streams: run full static analysis / type checking and all tests; fix regressions. Commit: `fix: parallel stream merge verification`

### Step 4.2 — Implement Remaining Sequential Stories

Cross-cutting FE stories that depend on several BE streams come after the streams finish:
a. `/story-implementer` plus the frontend stack conventions (Flutter: also `/flutter`).
b. Call the endpoints from the matching BE stories, parse the standard envelope, and create typed models for every response.
c. Firebase: update firestore.rules with any new collection access, never deferred.
d. `/arch-review` IMPLEMENTATION REVIEW; fix and re-review until READY.
e. Commit per story with the same size limits.

### Step 4.3 — Integration Verification

Verify the backend starts cleanly, migrations apply, the frontend builds, and all backend and frontend tests pass. Fix failures. Commit: `fix: integration verification`

---

## PHASE 5: VALIDATION GATE

Mandatory before QA and UX; it prevents downstream rework.

### Step 5.1 — Full Static Analysis

Run every linter, type checker and static analyzer for the stack. Fix every error and warning.

### Step 5.2 — Platform Compatibility Check

Mobile/cross-platform: find platform-specific code needing guards, verify platform initialization handles every target, guard platform features (push notifications, etc.), fix all issues. Web: check SSR/CSR compatibility (Next.js/Nuxt) and server vs client env var handling.

### Step 5.3 — Domain Consistency Analysis

Run the `/analyze` skill on the full project: cross-layer consistency per feature, database rules vs data model, state management completeness, navigation/routing integrity, business logic consistency. Fix all Critical and Warning issues and re-validate. Commit: `fix: validation gate — resolve analysis issues`

---

## PHASE 6: PARALLEL VERIFICATION (UX || test-plan)

Run two Task subagents in parallel (no conflict: `/ux` edits frontend code, `/manual-test-plan` only reads the diff):

**Track A — `/ux` in UX AUDIT mode** (DESIGN VALIDATION mode instead if mockups were provided): inventory every screen, theme token and shared component; evaluate each screen against Nielsen's 10 heuristics; audit WCAG 2.1 AA; review interaction and motion; check design-system consistency (tokens, patterns, spacing); fix everything and commit.

**Track B — `/manual-test-plan`** against the full branch diff, with the story backlog as context so every story's acceptance criteria are traceable. Read-only: it produces a document.

---

## PHASE 7: FINAL QA

After Phase 6 (so it catches anything the UX fixes broke), follow the `/qa` skill: start the backend and verify every endpoint; walk every frontend screen for functionality, state handling and design; fix broken endpoints, missing loading/error/empty states, design violations and integration mismatches; commit fixes. Then write the report.

---

## PHASE 8: BUILD REPORT

### Build Completion Report

Fill the template in `references/build-report.md` (fallback: https://raw.githubusercontent.com/tinh2/skills-hub-registry/main/build/build/references/build-report.md): project, competitor, branch, what was built (stories, files, tests), tech stack, how to run, improvements over competitor, what was cut, cost advantage, validation gate results, QA results (endpoints, screens, a11y, design consistency), remaining work.

---

## STRICT RULES

- Run the whole pipeline without stopping; fix sub-phase issues and continue.
- Use the tech stack selected at the start. Do not substitute components mid-build.
- Every backend module MUST follow layered architecture (controller -> service -> repository).
  No service should call another service's repository directly.
- Every API endpoint MUST use the standard response envelope.
- Validation schemas MUST validate both request input and generate API documentation.
- Do not generate placeholder implementations. Every file must be production-ready.
- Do not skip tests. Every service must have unit tests.
- Do not add features beyond what was identified in Phase 1. No scope creep.
- If the app requires third-party APIs you cannot access (payments, maps, SMS),
  implement the integration layer with a clear interface and mock implementation.
  Note it in the final report.
- Commit after every logical unit of work; split anything over 50 files.
- Use conventional commits: feat:, fix:, docs:, test:, chore:
- FIREBASE RULES: If using Firebase, write rules alongside models, not after.
  Every model change that adds/changes collection access must update rules in the same commit.
- VALIDATION GATE (Phase 5) is NOT optional. It must pass before QA and UX phases.


============================================================
SELF-HEALING VALIDATION (max 3 iterations)
============================================================

After completing the main phases, validate your work:

1. Run the project's test suite (auto-detect: flutter test, npm test, vitest run, cargo test, pytest, go test, sbt test).
2. Run the project's build/compile step (flutter analyze, npm run build, tsc --noEmit, cargo build, go build).
3. If either fails, diagnose the failure from error output.
4. Apply a minimal targeted fix — do NOT refactor unrelated code.
5. Re-run the failing validation.
6. Repeat up to 3 iterations total.

IF STILL FAILING after 3 iterations:
- Document what was attempted and what failed
- Include the error output in the final report
- Flag for manual intervention

## NEXT STEPS

After the build is complete:
- Run `/ux` to re-audit UX after manual changes.
- Run `/qa` again to re-verify after manual changes.
- Run `/aws` to generate infrastructure for deploying this project.
- Run `/manual-test-plan` on a specific feature branch for targeted QA.
- To add a new feature, run `/spec` to create the story, then `/story-implementer` to implement it.


============================================================
SELF-EVOLUTION TELEMETRY
============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:
- Look for the project path in `~/.claude/projects/`
- If found, append to `skill-telemetry.md` in that memory directory

Entry format:
```
### /build — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}
```

Only log if the memory directory exists; skip silently otherwise. Keep entries concise.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.