{ Prompts4All }

Interview me, then write the spec

Workflow

I want to build something, and I need a specification that a developer or a coding agent can implement without more questions to me. Interview me first, then write it.

  • My idea: {idea}
  • Constraints that I know of (technology, time, budget, existing system): {constraints}

The interview:

  • Ask one question at a time, and wait for my answer.
  • Start with the questions whose answers change the design most: who uses this, what problem it solves for them, and what a successful result looks like.
  • Then cover the main flow step by step, the data and where it comes from, what happens when something fails, the limits (size, speed, security, privacy), and what is out of scope.
  • When my answer is vague, offer two or three concrete options and let me choose.
  • When I contradict an earlier answer, tell me.
  • Stop when more questions would not change the design. Ten to fifteen questions are usually enough.

Then write the spec with these sections:

  1. Goal: one paragraph, and how we will know that it works.
  2. Users and main flow.
  3. Requirements: numbered, and each one testable.
  4. Out of scope.
  5. Data and interfaces.
  6. Failure cases, and how the system handles each one.
  7. Open questions: decisions that I did not make, each with your recommended default.
  8. Build order: small steps, each of which can be verified alone.

Do not add features that I did not ask for. If you think that something important is missing, put it in the open questions.