Claude Code Prompts for Building an App: 15 to Copy
Copyable Claude Code prompts for each stage of an indie app: niche check, spec, plan, build, test, store page and review notes. Works with Codex too.
On this page · 10 sections
The short answer#
The best Claude Code prompts for building an app are short, staged and tied to files: read spec.md and plan before coding, do one step at a time, run and report, then stop for review. Start earlier with a prompt that checks the niche against real data. These 15 prompts cover idea to launch and work in Codex too.
Why do staged Claude Code prompts work better?#
One giant prompt makes the agent guess. Short prompts tied to files (spec.md, CLAUDE.md) keep context stable and
let you review each step. The pattern: read → plan → do one step → run → report → stop.
Stage 1 — Before you build: check the niche#
With ShotMatic's MCP server connected:
"List the niches I researched in ShotMatic. For each, give the health score and the top complaint. Cite sources."
"Which keywords in my last Explore have crowdedness under 0.4 and high popularity? Show the top 10."
"For the best niche, list features the top 5 apps lack and match each to a complaint."
Stage 2 — Spec#
"Read brief.md. Draft spec.md with: for whom, problem with 2 quoted reviews, why switch, MVP screens (max 5), data model, out of scope, done-when checks. Ask me 3 questions first if anything is unclear."
"Cut the spec to the smallest MVP that fixes only the top complaint. Move everything else to 'Later'."
Stage 3 — Plan#
"Read spec.md and CLAUDE.md. Propose a numbered build plan. Don't write code yet."
"Which step in this plan is riskiest? Move it earlier and explain why."
Stage 4 — Build#
"Do step 1 of the plan only. Run it, tell me exactly what you ran and what I should see, then stop."
"The app does X instead of Y. Find the cause, fix it with the smallest change, and show the diff."
"Before the next step: does anything we built contradict spec.md? List it."
Stage 5 — Test#
"Write tests for the done-when checks in spec.md. Run them and report failures."
"Simulate the top complaint from the spec (e.g. offline + app update). Does our app survive it? Show how you checked."
Stage 6 — Launch#
"Draft the App Store subtitle and keyword field from the target keyword in brief.md. Don't repeat words from the app name."
"Write 5 screenshot captions. Caption 1 states our difference in the words users used in reviews."
"Draft App Review notes: who it's for, what's different from existing apps, and how to test the key feature."
Tips#
- Keep rules in
CLAUDE.mdso you don't repeat them. - Commit after every step that works.
- If the agent drifts, point it back to the spec, not to a longer prompt.
Get the data for Stage 1 — unlimited free lookups.
Related: Claude Code tutorial: build your first app from a spec · App Store and Google Play data in Claude Code via MCP
Frequently asked questions
Should I write one long prompt or many short ones?
Many short ones tied to files. A spec file holds the long context; each prompt asks for one step and a report.
Do these prompts work with Codex or Gemini CLI?
Yes. They're plain instructions about files and steps; rename CLAUDE.md to AGENTS.md for Codex if you prefer.
How do I give Claude Code market data?
Export brief.md and spec.md from ShotMatic, or connect ShotMatic's read-only MCP server so Claude Code can query your research directly.