Skip to main content

Command menu

Jump to a page or search the catalog

Testing Frameworks

Prompt Change Gate — An Agent Workflow That Catches Prompt Regressions Before You Ship

Give your agent a discipline: golden cases before and after every prompt change, and a regression-first report it must not ignore.

$12.00

What you get: 1 file · 56.98 KB · ZIP

See purchase options

Product description

The product here is a workflow for your agent, packaged as a skill — the small local tool underneath is just its engine.

SKILL.md teaches your agent a habit most teams never build: before any prompt, model, or extraction-schema change ships, run a set of golden cases (input text → the JSON that must come back) through the old prompt and the new one, and read a report that leads with regressions — cases that passed before and fail now. The skill states the rule plainly: never ship a prompt change with regressions nobody has reviewed. A regression you have read and accepted is a decision; a regression nobody saw is a bug you shipped.

What the engine does:

  • Golden cases, your format — one JSON file: input text, the fields and values that must come back, and forbidden substrings that must never appear

  • Provider-neutral — the gate runs any command that reads text on stdin and prints the model's raw output

  • Real-world output shapes — models wrap JSON in prose, so the gate extracts the embedded JSON object and checks it

  • Recursive value matching — expected values may nest; objects compare key-order-independently, lists element-wise

  • A gate that cannot pass vacuously — an empty case file or duplicate case IDs are setup errors (exit 2), never a green run

  • CI-ready exit codes — compare mode exits non-zero on any regression. A GitHub Actions workflow example is included.

Zero-install (standard-library Python only), extraction-focused and agent-native: it checks structured output — JSON validity, required fields, expected values, forbidden content.

It runs entirely on your machine: no account, no hosted service, nothing phones home.

Includes a full working demo with no API calls: a good fake model and a “broken” one simulating a prompt change that dropped a field and changed the date format — the gate catches all 8 bundled invoice cases as regressions.

What you get

1 file · 56.98 KB

  • prompt-change-gate.zipZIP · 56.98 KB
LicenseCommercial use allowed
Package checkPassed

Getly opened the uploaded files and found nothing that would stop them opening. It is not a virus scan or a quality rating.

PublishedNov 25, 2026
File size56.98 KB
File formatZIP
Versionv1.0

Tags

prompt engineeringprompt testingregression testingai agentpython
w
wyze0077

Frequently asked questions

Do I get access instantly?

Yes. This is a digital product - you can download it right after checkout, straight from your library.

Can I use it for commercial projects?

Yes. Commercial use is allowed: use it in your own business and in things you sell. You may not resell or redistribute the file itself.

What's your refund policy?

You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.

What file formats and sizes will I get?

You'll download 1 file - ZIP - 56.98 KB in total.

Do I get free updates?

Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.

Price

$12.00