Skip to content
AI Skill Index
Prompt engineeringIntermediate

Why your prompt works today and not tomorrow

Prompts that depend on luck look identical to prompts that depend on structure — until the model changes underneath them.

Editorial·2 min read·
Sign in to save

A prompt that worked for months starts producing something subtly different. Nothing in your code changed. This is normal, and it is usually diagnosable.

Three causes, in order of likelihood

The model changed. Hosted models are updated. A prompt tuned by trial and error against one version is partly fitted to that version's quirks, and quirks do not survive updates. The more your prompt relies on a specific phrasing that "just works", the more it was fitted rather than specified.

Your input changed. Prompts are usually written against a handful of examples. The first genuinely different input — an empty field, a much longer document, a different language — exercises a path nobody tested.

It never worked reliably. You saw three good outputs and concluded it worked. At a 20% failure rate, three good outputs in a row happens half the time. This is the most common answer and the least popular one.

Making a prompt robust

Specify the output, not the vibe. "Return a JSON object with keys x, y, z; use null for anything absent" survives a model update. "Be thorough" does not, because it never meant anything specific to begin with.

Say what to do when the input is wrong. Most prompts describe the happy path only, so the model improvises when it hits something else — and improvisation is exactly what you did not want. One sentence fixes it: "If the text does not contain an address, return null rather than inferring one."

Remove the incantations. Phrases like "you are a world-class expert" and "take a deep breath" get copied around because someone measured a gain on some benchmark once. They are not load-bearing, and they crowd out instructions that are.

Watch for conflicts. Prompts accrete. "Be concise" added in March fights "explain your reasoning fully" added in June, and the model picks one per run. Reread the whole thing occasionally as if you had not written it.

Test like it is code

Keep ten to twenty real inputs, including the ugly ones, and run them when you change the prompt or the model changes under you. This is not sophisticated and it catches almost everything.

The reason to bother: prompt regressions are silent. Code that breaks throws. A prompt that degrades returns a well-formatted, confident, slightly worse answer, and nobody notices for weeks.

ShareXLinkedIn

Cookies

We use only the cookies this site needs to work. Optional analytics helps us see which content is worth writing more of — nothing loads until you say yes.

Read the privacy policy