Iterating on Prompts Like a Pro
Diagnose why an output missed, change one thing at a time, and compare prompt versions fairly with a small test set and a simple rubric.
Welcome back!
Step 1 of 13Learn
The first prompt is a draft
Experienced prompt writers rarely get it right on the first try. What sets them apart is how they react when an output disappoints.
Beginners usually do one of two things. They regenerate and hope for a better roll of the dice, or they pile on vague demands: "No, better. More professional. Try again." Each attempt is a guess, and when something finally works, they don't know why.
Experienced writers diagnose first. They read the output and ask: what exactly is wrong, and which missing ingredient caused it?
- Too generic? Missing context: audience, facts, purpose.
- Wrong shape or length? Missing format instructions.
- Included something forbidden? Missing or buried constraint.
- Style is off? Missing example.
- Logic errors in a multi-step task? Missing reasoning steps, or the task needs chaining.
- Invented facts? Missing source material or no permission to say "I don't know."
Then they make a targeted change and look again. This turns prompting from luck into a skill you can improve. It also produces prompts you can explain and reuse, because you know what each sentence is for.
A practical tip: when an output is close but not right, it's often faster to give specific feedback in the same chat ("Good structure. Cut the intro, and replace the second example with one about retail."). When it's far off, rewrite the original prompt and start fresh, because the bad attempt stays in the context.
Step 2 of 13Practice · Diagram
The diagnose-and-fix loop
Which step do beginners skip when they just hit "regenerate"?
Tap the shape that answers the question, then press Check.
- Run the prompt
- Read the output closely
- Name the missing ingredient
Generic → context. Wrong shape → format. Off style → example.
- Make one targeted change
Step 3 of 13Practice · Match the pairs
Match each output problem with the most likely missing ingredient.
Tap an answer, then tap the place where it belongs (or drag it there).
- The answer is aimed at experts but your readers are beginners
- You wanted a table but got five paragraphs
- The model mentions a discount you can't offer
- The content is right but doesn't sound like your brand
- The budget calculation has errors in its middle steps
Step 4 of 13Learn
Change one thing at a time
Suppose your prompt produces summaries that are too long and miss the key number. You rewrite it: new role, new length target, two examples, a different order and a reasoning step. The next output is great. Which change fixed it? You don't know, and if a later output fails, you won't know which part to adjust.
Scientists solve this by changing one variable at a time, and prompt writers can borrow the habit. Make one meaningful change, test, keep it if it helped, then make the next change. It sounds slow, but it's faster than repeatedly rewriting everything and getting confused.
It also helps to keep versions. A simple document with "v1, v2, v3," each with a note on what changed and what happened, prevents the common experience of making a prompt worse and being unable to get back to the version that worked.
Remember the lesson on randomness: one great output can be luck. Before deciding a change helped, run the prompt several times, or better, on several different inputs. A prompt that summarizes one article brilliantly might mangle the next one, which is shorter, more technical or written in a different style. That's where a test set comes in.
Step 5 of 13Practice · True or false
If a revised prompt produces one excellent output, you can be confident the revision is an improvement.
Step 6 of 13Learn
Build a tiny test set and a rubric
If you'll use a prompt more than a handful of times (to sort support emails, summarize reports, or draft product descriptions), it's worth testing like a professional. You need two things.
A test set: about 5 to 20 realistic inputs, deliberately varied. Include easy cases, typical cases and awkward ones: a very short email, a very long one, one in poor English, one that's sarcastic, one that has nothing to do with your categories. Keep this set fixed so you can compare versions fairly.
A rubric: three to five yes/no checks that define "good." For a meeting summary, perhaps:
- Lists every decision made.
- Every action item has an owner.
- Under 150 words.
- Contains nothing that wasn't in the transcript.
Run each prompt version on the whole test set and score each output against the rubric. Now "v3 is better" means something concrete: maybe v2 passes 31 of 40 checks and v3 passes 37.
Yes/no checks beat 1–10 ratings because they're easier to apply consistently. You can even ask a model to apply the rubric to outputs, but spot-check its judgments, because models grading model outputs can be lenient.
Step 7 of 13Try the calculator
Prompt version scorecard
Enter how many rubric checks each version passed across your test set. Total checks = test inputs × rubric items.
- Total checks per version
- 40
- Version A pass rate
- 72.5 %
- Version B pass rate
- 87.5 %
- Improvement (percentage points)
- 15 pts
Step 8 of 13Practice · Chart
Rubric checks passed, out of 40
Which version would you keep as your working prompt?
Tap the bar that answers the question, then press Check.
Step 9 of 13Practice · Work it out
A test set has 8 inputs and a rubric with 5 checks. Version 2 of a prompt passes 34 checks in total. What is its pass rate as a percentage?
Step 10 of 13Note
Step 11 of 13Practice · Put in order
Put these steps for improving a prompt you use every week in the best order.
Drag the items, or use the arrow buttons, to put them in order.
- Rerun the full test set and keep the change only if the score improves
- Change one thing based on the most common failure
- Write 3–5 yes/no checks that define a good output
- Run the current prompt on every input and score it
- Collect 10 varied, realistic inputs as a test set
Step 12 of 13Practice · What would you do?
What would you do?
Elena's prompt sorts customer emails into five categories. It works on the three emails she tried, but colleagues say it mislabels about a third of real emails. What should she do first?
Step 13 of 13Practice · Choose one
Which rubric item is the most useful for consistently judging product descriptions?
Lesson complete!