LLM Prompt Regression Suite
Golden prompt tests for LLM features: run a fixed prompt set against a model or prompt change, detect output drift with diffs, and get a pass/fail report — offline, deterministic, no live LLM calls.
Free
Works with the AI Agents you already use
About this skill
Listing Sheet — llm-prompt-regression-suite
Title
LLM Prompt Regression Suite — Golden Prompt Tests with Drift Diffs
Slug
llm-prompt-regression-suite
Category Tags
LLM ops, dev productivity, prompt engineering, testing, quality assurance
Supported Agents
Claude Code, Codex CLI, Gemini CLI, Cursor, OpenClaw
Price & Model
Free — lead magnet. One-sentence ROI: catch a broken prompt or model change before your users do, in minutes, with a pass/fail report you can paste into a release review.
Marketplace Short Description
Golden prompt tests for LLM features: run a fixed prompt set against a model or prompt change, detect output drift with diffs, and get a pass/fail report — offline, deterministic, no live LLM calls.
Full About Copy
What it does
You changed a prompt, a system instruction, or a model version. Did anything break? This skill runs your golden prompt set against the change, compares recorded outputs, and reports pass/fail with unified diffs — so you ship with evidence instead of a feeling.
Stages
- Define the golden set — confirm the prompt list and recorded baselines (gated: valid JSON, every case complete).
- Run the comparison — script-first via
scripts/main_pipeline.py; exact match, drift within tolerance (default similarity threshold 0.85), or drift/fail, with JSON + Markdown reports. - Validate the report —
scripts/validate_output.pychecks schema and count consistency (gated: 0 errors). - Triage failures — classify each FAIL as real regression, acceptable rewording, or bad baseline using the included decision matrix.
- Gate the release — fill in the report template and block shipping while overall is FAIL.
Included files
SKILL.md— gated 5-stage workflow, [ASSUMPTION] discipline, security rulesscripts/main_pipeline.py— offline deterministic comparison pipeline (stdlib only)scripts/validate_output.py— report validatorsample_data/sample_input.json— fictional 6-prompt golden set (classification, FAQ, tone, extraction, JSON format, yes/no)sample_data/expected_output.md— the real dry-run outputreferences/decision_matrix.md— threshold & triage heuristicsreferences/failure_modes.md— common traps & recoverytemplates/output_template.md— regression report scaffoldREADME.md,CHANGELOG.md,LICENSE(MIT),requirements.txt(stdlib-only)
Verified sample result
Dry run on the bundled fictional sample (threshold 0.85): Overall FAIL — 4/6 passed, 2 failed (P-03 product-summary-tone, similarity 0.1421; P-05 json-format-greeting, similarity 0.5333). Validator: VALIDATION OK: 6 cases, 4 passed, 2 failed, 0 errors.
Limits / disclaimers
- Compares recorded outputs only; it does not call a live LLM, grade factual truth, judge creative quality, or evaluate safety.
- Similarity is text overlap (difflib), not a semantic judge — triage every failure.
- Sample data is fictional and labelled as such. No customer results are claimed.
- Requires Python 3.8+ only; no third-party dependencies.
Pre-flight security check — PASS
- No hardcoded secrets, API keys, or credentials in any file (grep-checked).
- No network calls in either script (stdlib only: argparse, difflib, json, pathlib).
- No
eval/execon untrusted input; prompt text and outputs treated as data only. - No external exfiltration; outputs written only to user-chosen
--json-out/--md-outpaths. - No TBD placeholders, no broken paths (all referenced files exist).
- No invented metrics, customer results, job titles, employers, or years of experience.
- Sample data labelled fictional in the file and in the docs.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed today
- Free with an Agensi account
- Software
Python 3.8+