PRD for AI App Builders
Turn an app idea into a build spec (pages, data model, edge states, scope cuts) then compress it into one paste-ready prompt for builders like v0, Lovable, and Bolt.
Turn my app idea into a spec for an AI app builder ([v0 / Lovable / Bolt / Replit]). Vague ideas produce demo-ware: plausible screens wrapped around a core loop that doesn't work. This spec's whole job is to prevent that.
The idea: [2-3 SENTENCES]
Who it's for: [THE USER, and the moment they'd reach for it]
The one thing that must work: [THE CORE ACTION, e.g. "log a workout in under 10 seconds"]
Build the spec in this order:
1. SCOPE CUT. Define v1 as the core loop only. Then the explicit OUT-OF-SCOPE list (auth tiers, billing, settings, social, admin): builders happily generate all of it, badly, at the expense of the loop. For data: local/mock-first unless persistence IS the product; if it is, name one provider and stop there.
2. PAGES AND FLOWS. Every screen: name, route, its one job, its primary action. Then the golden path, click by click, from first load to the core action completed. If this path needs more than a sentence per step, the design is already too complicated for v1.
3. DATA MODEL. Each entity in plain language: fields with types, relationships, one example record. This is the section builders most reward: screens regenerate cheaply, but a wrong data model poisons everything downstream.
4. THE STATES BUILDERS FORGET. For each key screen: empty (first run, zero data; what invites the first action?), loading, error, and overflowing (100 items, a 40-character name). This is the difference between a demo and something usable, and no builder generates these unprompted.
5. DESIGN DIRECTION. 3-5 specific adjectives plus one reference app ("calm like Things, dense like Linear") and any hard choices: font vibe, spacing density, corner radius, dark/light. Never "modern and clean": that's the default that makes every AI-built app identical.
6. THE PASTE-READY PROMPT. Compress 1-5 into a single prompt under 500 words, ordered: what and who → pages → data model → states → out of scope → design. End it with: "Build the golden path completely before touching anything else."
Flag it honestly: if my idea has a hard dependency (payments, realtime sync, an external API), name it as the v1 risk and propose the fake-it version (hardcoded data, manual step) that lets the loop ship first.How to use
The single biggest failure mode of AI app builders is under-specified input. They fill silence with generic SaaS. Run this spec phase in a reasoning-strong chat model, then paste the final prompt into the builder. When the builder drifts mid-project, re-anchor by pasting the spec section it's violating rather than describing the problem conversationally. Regenerating a screen is cheap; renegotiating a data model is not: spend your care on section 3.
More coding prompts
Write the commit message for this change. Diff: """ [PASTE THE STAGED DIFF] """ Why I made this change: [THE REASON, THE TICKET, THE BUG REPORT, or "you infer it"] Convention: [Conventional Commits / this repo's existing style, pasted below / plain] Recent commits from this repo, to match style: """ [PASTE 5-10 RECENT COMMIT SUBJECT LIN
Commit Message
Write a commit message that explains why the change was made, in Conventional Commits format, split into separate commits when needed.
Help me recover from a git mistake without making it worse. What I was trying to do: [THE GOAL] What I ran: [THE EXACT COMMANDS, IN ORDER] What happened instead: [THE OUTPUT OR THE STATE NOW] Has this been pushed or shared: [YES/NO, and to which branch and whether anyone else has pulled] Uncommitted work I cannot lose: [WHAT AND WHERE, o
Undo a Git Mistake
Recover from a bad commit, force push, wrong branch, or lost work with a reversible plan and the exact commands, explained before you run them.
Handler code, routes, and models: """ [PASTE THE ROUTE DEFINITIONS, HANDLERS, REQUEST AND RESPONSE TYPES, VALIDATION SCHEMAS, AND MIDDLEWARE] """ Generate an OpenAPI 3.1 specification from the code above. API name, version, and base URL: [DETAILS] Auth scheme: [BEARER JWT / API KEY / OAUTH / SESSION COOKIE, and where it is enforced] Con
OpenAPI Spec From Code
Generate an accurate OpenAPI 3.1 spec from handler code, including error responses and auth, with gaps flagged instead of invented.