Write a Developer-Ready Spec from a Rough Feature Idea
Convert a loose feature idea into a clear technical spec with scope, data model, API shape and acceptance criteria.
Customize this prompt
Fill in the fields below — the prompt text updates automatically. [BRACKETED] words are placeholders you replace.
The prompt
Act as a staff engineer who turns vague product ideas into specs developers can build from. Write a technical specification for this feature idea: [FEATURE_IDEA]. The product is [PRODUCT_NAME], built with [TECH_STACK], and the feature must serve [TARGET_USERS]. First, restate the idea as a one-paragraph problem statement that names the user, their pain, and the outcome they want. Then define the scope with an in-scope list of 5 to 7 items and an explicit out-of-scope list of 3 to 5 items, so nobody builds extra work by accident. Next, describe the data model: the entities involved, their key fields, and how they relate, in a simple table. Then sketch the API surface: the endpoints or functions needed, their inputs and outputs, and the error cases. After that, list the edge cases and failure modes, including what happens when [RISKY_SCENARIO] occurs. Then write 8 acceptance criteria in plain Given-When-Then form that a tester could verify without reading the rest of the spec. Finally, add a risks and open questions section with the 3 decisions that still need a human to make. Keep the whole spec under 1,500 words and use tables and lists instead of long paragraphs.
How to use it
- Fill in [FEATURE_IDEA], [PRODUCT_NAME], [TECH_STACK] and [TARGET_USERS].
- Read the problem statement and check it describes the real pain, not the solution.
- Review the in-scope and out-of-scope lists with your team before any coding starts.
- Check the data model and API sketch against your existing codebase for conflicts.
- Resolve the 3 open questions, then hand the spec to the developer with the acceptance criteria as the definition of done.
Customization tips
Add a [RISKY_SCENARIO] that worries you most, such as a payment failure or a data migration, so the spec covers it explicitly.
Example use case
Product managers and engineers who need a buildable spec from a loose idea before sprint planning.
Frequently asked questions
What if the feature idea is only one sentence?
That is fine. The prompt will ask clarifying questions in the open questions section; answer those first, then re-run it with the answers filled in.
Can this work for a non-technical feature?
Yes. Replace the API section with the user-facing flow and the data model with the content or settings the feature needs.
Share
Tags: technical specification software design product development api design planning engineering
Reviewed by the PromptVault editorial team on November 24, 2026.
Source notes: Daily pipeline 20261124 batch 11