Skip to content

Swipe right for a newer agent, Build Order Planner. Swipe left for an older agent, Thread to Posts.

Issue 13 · 17 Sep 2026 · Medium · Free

Test Plan from the Prompt

AI test plan generator from a feature prompt

The feature works on the happy path you described to the model, and the cases you never mentioned are still untested.

Category
Coding & Vibe Coding

Sample you can paste

Prompt I gave Cursor:
"Add a refund button on the order page. If the order is paid and less than 7 days old, call POST /api/refunds with the order id. Show a toast on success."
What shipped: the button, the fetch, a toast that says Refunded.
I did not mention: failed requests, double clicks, orders that are already refunded, or who is allowed to see the button.
Stack: Next.js, the button is a client component.

Steps

  1. Step 1

    Paste the original prompt

    Use the prompt you gave the coding agent, not a cleaned-up spec you wrote afterward. The gaps in that prompt are the point.

  2. Step 2

    Add what actually shipped

    Two or three lines: what exists now, and the stack. If a case is already tested, say so and the plan will skip it.

  3. Step 3

    Paste this agent's prompt first

    You get a short list of checks. Each one says the setup, the action, and the result you should see.

  4. Step 4

    Run the first three

    Do not try to automate the whole list in one sitting. Run the three the agent marks as before-merge. File the rest.

What you get

What you put in and what you get out

When to use it

Use it right after you vibe-code a feature, when the happy path works and the cases you never mentioned are untested.

When to skip it

It writes the checks, not the test code. Ask your coding agent to implement the cases once you agree with the list.

Sample run

0:00

The original prompt

A refund button for paid orders under 7 days, a POST, and a success toast. No failure, no double click, no permissions.

Full prompt

test-plan-from-prompt.prompt.txt

You write a test plan from the prompt a person used to vibe-code a feature. You look for the cases that prompt forgot.

INPUTS
- Original prompt: the text they gave the coding agent.
- What shipped: a short description.
- Already tested: optional.

RULES
- Derive cases from missing words in the original prompt: failure, repeat, permission, empty, boundary, and the opposite of the happy path.
- Do not invent product rules they did not state. A boundary they did state (like 7 days) is in scope. A rule they did not state is a question, not a test.
- Mark exactly 3 checks as before-merge. The rest are later.
- Each check: setup, action, result you can see. No exploit steps. No production secrets.
- Skip anything they listed as already tested.
- Cap the whole plan at 8 checks.

OUTPUT
## Forgot
The cases the original prompt never mentioned.

## Before merge
3 checks. Numbered.

## Later
The rest.

## Questions
Rules you refused to invent, as questions.

Copied it? Get the Friday roundup. Seven agents and one tip, once a week.

How it works

The prompt you used to generate the feature is a spec with holes. This agent reads that prompt and names the cases it never mentioned, then turns the dangerous ones into checks you can run before merge.

It does not write a novel of tests, and it does not claim a case passes. Each check has a setup, an action, and a visible result. Cases you already said were tested are left off the before-merge list.

Run the three. If one fails, that is the plan working. Do not paste a production token into the chat to try the call.

Questions about Test Plan from the Prompt

Why paste the prompt instead of the code?

The prompt shows what you asked for and, more usefully, what you forgot to ask for. The missing cases usually live in the gap between the two.

Can it write the tests too?

Paste the plan back into Cursor or Claude Code and ask for tests for the cases you approve. Keeping the plan separate stops the model from testing only what it built.

Is Test Plan from the Prompt free?

Yes. The prompt is free to copy, download, and reuse under CC-BY-4.0. There is no sign-up on One Agent a Day. You only need access to a chat model such as Cursor, Claude and ChatGPT.

Which AI tools does Test Plan from the Prompt work in?

It was written for Cursor, Claude and ChatGPT. It is a plain-text prompt, so any capable chat model can run it. Paste the prompt first, then your input.

What do I paste into Test Plan from the Prompt?

Paste the original prompt. Use the prompt you gave the coding agent, not a cleaned-up spec you wrote afterward. The gaps in that prompt are the point.

Compare and find more

Share this agent

Test Plan from the Prompt — You put in Prompt I gave Cursor:. You get out Later. Free from One Agent a Day.

Share on XShare on LinkedIn
Was this useful?

A yes or no is enough. The note stays on this server's log.

Friday email

The week’s 7 agents, in one email

Every Friday. Seven free prompts, one tip, one “paste this first.” Unsubscribe anytime.

One email, every Friday. Confirm on the next page. Unsubscribe anytime.

The daily agent stays free. Pro waitlist is a separate list, and it is not open yet.

Friday email

The week’s 7 agents, in one email

Every Friday. Seven free prompts, one tip, one “paste this first.” Unsubscribe anytime.

One email, every Friday. Confirm on the next page. Unsubscribe anytime.