Version prompt text like source code: keep a change log, diff versions side by side, pin a known-good version for production, and roll back when a change misbehaves. Use when a prompt is shared, reused, or changed over time and someone asks what changed, whether you can roll back, or which version is live.
./install.sh prompt-versioningname: "prompt_versioning" description: "Version prompt text like source code: keep a change log, diff versions side by side, pin a known-good version for production, and roll back when a change misbehaves. Use when a prompt is shared, reused, or changed over time and someone asks what changed, whether you can roll back, or which version is live." metadata: { "includeInPrompt": true }
Prompts change silently and behavior shifts with no record of why. One edit to a system instruction, one reworded line, and a product behaves differently for everyone who uses it. Treating prompt text like source code, versioned, diffable, and rollback-able, fixes that. This skill covers the file-level discipline: how to store prompts, how to log changes, how to pin the version that is live, and how to roll back.
prompts/support_triage.txt). No embedding prompt text inside scripts or scattered config files where nobody can find it.prompts/support_triage.log or a shared prompts/CHANGELOG.md). Each entry has three things: the date, what changed, and why. One or two lines is enough.2026-10-05 Added "Ask for the order number before anything else." Reason: the bot kept guessing which order the customer meant and got it wrong half the time.
2026-10-03 Softened the refund refusal to offer a callback instead. Reason: too many angry escalations in the support inbox this week.
diff works fine:diff prompts/support_triage.v3.txt prompts/support_triage.v4.txt
Read every line of the diff out loud to yourself if the change matters. Most silent breakage is a word that looked harmless.
LIVE: prompts/support_triage.v4.txt
Edit only draft copies. Update the pin only when a new version is deliberately shipped, and log that in the change log too.
2026-10-05 Rolled live pin back to v4 from v5. Reason: v5 dropped the order-number ask and the misfires returned within an hour.
A versioned prompt bundle looks like this:
A rollback looks like this: the pin now points at an older version, and the change log has a new entry recording the rollback, the date, and the reason. That is all. If any of those three artifacts is missing, the bundle is incomplete.
publisher key 2e43c913833850e6d80f939677e3de76e806d47785c0f1caaca90f9d18c98e1e
No ratings yet — be the first to rate it.