How to Version Your Prompts
Guide · about 6 min · refs checked 2026-11-03 (reference links and dates only)
If you can't say which change moved your live numbers, it's usually because prompts live inside code and get edited on the fly. The minimal way to treat prompts like code.
Example and interpretation
A teaching scenario, not a measured or executed site test.
Keep v1 and v2, recording one change: mark missing information unknown. Compare the same inputs and model settings, checking invented details and regressions. Do not change the model simultaneously and attribute every difference to the prompt.
How to check your practice
Explain the example in your own words, inspect input constraints, then verify against the source. Revisit concepts if you cannot explain why; supply missing dates, fields or permissions; withdraw unsupported conclusions.
For this topic, start with missing input · See all six scenarios and their reasoning
Prompt Version Control Evaluation, Evals Model Family, Version, Variant
How to Ask AI · How to Structure a Prompt · How to Pick Few-Shot Examples · How to Get AI to Output in Your Format