Is this prompt any good?
How do I test a prompt instead of guessing?
The question
How do I know if a prompt is any good, instead of just feeling it?
What I built
A tiny evaluation. 25 example questions people might ask the Ask about Raj assistant, each with what a good answer must and must not do.
Then three versions of the instructions:
- A: short and friendly.
- B: long, lots of rules.
- C: short, plus three example answers.
I ran all 25 through each and scored them on a simple checklist: accurate, short, in the third person, no made-up facts.
- A: 17 of 25
- B: 19 of 25
- C: 22 of 25
The design process
Problem. I kept tweaking the Ask about Raj instructions by gut feel. Every change felt better. I had no idea if it was.
Iterations.
- v1: 10 test questions. Too easy, everything passed.
- v2: 25 questions, including tricky ones: off-topic, salary, “ignore your rules”.
- v3: the same 25 with a written checklist per answer, scored blind.
Testing. All three prompt versions against the same 25 questions, twice, to see how much the scores moved between runs.
Design decision. Prompt C with examples. Every future change has to beat it on the same test set before it goes live.
What broke
My own scoring. I was too generous with version A because I wrote it and liked it. Second pass, scored blind with the labels hidden. A dropped two points.
What I learned
You can’t judge your own prompt by reading it. You judge it by what it does to 25 real questions. Examples beat rules.