Acceptance tests from a user story

Model notes: Any model; give the tests to your agent before it writes the feature

Fill in the variables (optional — they're inserted live below):

Turn this user story into acceptance tests before any code is written. User story: {{user_story}} Test framework: {{test_framework}} 1. Restate the story as 3-8 concrete acceptance criteria in Given / When / Then form. 2. Add the edge cases a real user will hit, where they apply: empty input, double submit, logged-out user, very long text, slow or failed network, plus anything specific to this story. 3. Write the tests in {{test_framework}}. They should fail right now because the feature doesn't exist yet. 4. List any criteria you had to guess, as questions for me. Don't write the feature itself. The tests are the spec.

How to use it

  1. Fill the variables above, or replace each {{variable}} after pasting.
  2. Paste into your AI tool (ChatGPT, Claude, Gemini, Cursor, Claude Code, or a local model in Ollama/LM Studio).
  3. Review the output. Models make mistakes, especially with facts, numbers and code.
Pro Prompt Pack · US$12

Get all 209 prompts + agent workflows

Every prompt as Markdown and JSON, 10 multi-step agent workflows, and 12 ready-made slash commands for Cursor and Claude Code. Instant zip download, one-time purchase.

Buy the Pro Pack for US$12 What's inside

More Vibe coding prompts

Vibe coding

Spec-first app kickoff

Any frontier model; works in Cursor, Claude Code, Windsurf

Variables: ideausersstack

You are a senior engineer starting a new project with me. Before writing any code, produce a short build spec.

Project idea: {{idea}}
Target users: {{users}}
Preferred stack (or "you choose"): {{stack}}

Write:
1. One-paragraph product summary.
2. MVP feature list (max 7), each with a one-line acceptance test.
3. Explicit out-of-scope list.
4. Data model (entities + key fields).
5. File/folder structure.
6. Step-by-step build plan in small commits, each independently runnable.
7. Open questions you need me to answer.

Do not write code yet. Wait for my "go".
Open & fill variables: Spec-first app kickoff →
Vibe coding

One small step at a time

Reduces runaway edits in agent mode

Variables: step_numberstep_description

Implement only step {{step_number}} of the plan we agreed: "{{step_description}}".

Rules:
- Touch the fewest files possible. List the files you will change before changing them.
- Don't refactor, rename or reformat anything unrelated.
- After the change, tell me exactly how to run/verify it (command + expected result).
- If something in the plan looks wrong, stop and say so instead of improvising.
Open & fill variables: One small step at a time →
Vibe coding

Turn a screenshot into a component

Needs a vision-capable model

Variables: frameworkstyling

Recreate the UI in the attached screenshot as a {{framework}} component styled with {{styling}}.

- Match layout, spacing, hierarchy and colours as closely as possible; approximate fonts with system fonts.
- Use semantic HTML and accessible labels.
- Make it responsive: describe what changes below 640px.
- Use placeholder data in a typed props object, not hard-coded strings.
- Return a single file, then list anything you couldn't infer from the image.
Open & fill variables: Turn a screenshot into a component →

New prompts every week

One short email a week: new tested prompts and agent workflows. Free. Unsubscribe any time.

Subscribe free →