Topic 4 of 5 · 4 min read
Re-testing saved prompts after updates
Goal: Keep a small test set for a saved template and use it to detect that a model update broke the output.
A saved prompt can stop working without you changing a word, because the model behind it changes. Keep three to five test inputs for each template and re-run them after an update.
Check yourself · 1 of 3
Why can a saved prompt stop working when you have not changed it?
Why it matters
Providers update their models and apps. A new model version may follow instructions differently, write longer, add headings you did not ask for, or ignore a limit it used to respect. Sometimes the tool quietly switches the default model. Your template is the same, but the answers are not. If you notice only when a client complains, you have lost time and trust. Anthropic's guidance on test cases makes the same point: you cannot judge a prompt without a set of inputs to run it on.
How to do it
- Pick three to five test inputs. Use real, anonymised examples. Include one typical case, one short or messy case, and one awkward case, such as missing information.
- Write down what good looks like. For each input, or for the template as a whole, list simple checks: under 120 words, has a subject line, names the owner of each action, does not invent facts.
- Save a known-good output. Keep one answer you were happy with, with the date and the model or app it came from.
- Re-run after a change. Run the tests when the provider announces a new model, when your tool changes its default, or when answers suddenly feel different. Also re-run on a schedule, such as monthly.
- Compare against the checks. Mark each test pass or fail. Do not rely on "it feels fine."
- Act on a break. Note it in the change log. Then adjust the template one change at a time, or pin the older model if your tool allows it.
Before and after
Before: "The meeting notes prompt worked in spring. I assume it still works." It now returns seven actions instead of five and drops the owners.
After: The template has four test inputs and five checks. After a model update the team runs them: tests 1 and 3 fail "owner named for each action." They add one sentence about owners, re-run, and all four pass. The change goes in the log as v5.
What goes wrong
- Testing only the easy case. The break shows on the messy input, not the clean one.
- No checks written down. Without them, a reviewer can say "looks okay" and miss a dropped requirement.
- Real private data in tests. Anonymise first. See the sharing topic.
- Fixing the test instead of the prompt. If a check fails, decide whether the prompt or the check is wrong. Do not just delete the check.
- Never re-running. A test set that sits unused catches nothing.
Examples
A small test table
| Test | Input | Checks | Result |
|---|---|---|---|
| 1 | Clean one-page notes | 5 actions, owner on each, under 120 words | Pass |
| 2 | Messy bullet fragments | Same checks | Pass |
| 3 | Notes with no owners | Asks who owns each action, invents none | Fail after update |
When to re-run
Re-run when the provider announces a new model, when your app changes its default model, when answers suddenly look different, and once a month even if nothing seems wrong.
Key points
- Model and app updates can change a prompt's output even when the prompt text is untouched.
- Keep three to five anonymised test inputs per template, including one messy or awkward case.
- Write simple pass or fail checks, such as a word limit or a named owner, so review is not just a feeling.
- Re-run the tests after a provider update, a default model change, or on a monthly schedule.
- Record any break in the change log and fix it one change at a time.
Common mistakes
- Assuming a prompt that worked once will keep working.
- Testing only clean inputs and missing the awkward case.
- Judging by feel instead of written pass or fail checks.
- Putting real customer data into the test set.
Check yourself · 2 of 3
Which set of test inputs for a meeting-notes template is best?
Check yourself · 3 of 3
After a model update, test 3 fails the check "names an owner for each action." What should you do first?
Practice items, not counted towards your mastery.
Start here
- Gemini for Google Workspace prompting guide (opens in a new tab)ArticleFree
Google's guide to writing and reusing prompts for everyday work in Workspace, with examples by role.
- Projects in ChatGPT (OpenAI Help) (opens in a new tab)DocsFree
Shows how ChatGPT keeps reusable instructions and files together in one place for repeated work.
- Prompt management (Langfuse docs) (opens in a new tab)DocsFree
Explains why prompts get versions, labels and rollbacks, the same ideas a change log applies by hand.