/ai-product-managers-pack:aipm-prompt-regression-testfrom ai-product-managers-pack
Runs a Prompt Regression Test on prompt, context, or setting changes, comparing before/after results per failure type with a ship or hold recommendation.
Ships in ai-product-managers-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A prompt edit fixed one case and quietly broke another. Run it before any change to the system prompt, a context source, a tool description or a setting goes live. It answers: did this change fix what it targeted without breaking what already worked, failure type by failure type?
If the change is a new model, with a deadline and a cost difference, run Model Migration Plan. If there is no golden dataset yet, build one with Golden Dataset first; without a test set, every prompt edit is a guess.
[not yet run].Anthropic Engineering's "Demystifying evals for AI agents" separates capability evals (hard tasks that start low) from regression evals (tasks the feature already handles, which should stay near 100%), and runs the regression set before every change. A change is judged per failure type, because an average can rise while a blocker gets worse. The failure it prevents: a shorter-answers edit that lifted the average and stopped the assistant from ever saying "I don't know".
# Prompt Regression Test
**Feature:** [name] | **Change:** [old version] to [new version] | **Decider:** [name]
## Change note
| What changed | Why | Targeted failure type |
|---|---|---|
| [prompt / context / tool / setting] | [reason] | [type] |
## Results by failure type
| Failure type | Blocker | Cases x trials | Before | After | Change |
|---|---|---|---|---|---|
| [type] | [yes / no] | [n x k] | [from run / not yet run] | [from run / not yet run] | [difference] |
| Synthetic (separate) | no | [n x k] | [from run] | [from run] | [difference] |
## Flipped cases
| Case | Before | After | Re-run result | Real or noise |
|---|---|---|---|---|
| [id] | [pass / fail] | [pass / fail] | [result] | [verdict] |
## Recommendation
[Ship / hold / ship with known regression]: [one-line reason]
## Decision
[Named person] decides to ship or hold by [date]; any known regression gets an owner and a fix date.
[not yet run]Run aipm-model-migration (Model Migration Plan) for when the change is the model itself.
This pack is made by 90n (90n.ai): AI-native ways of working and tools for Product, Marketing and HR teams, built by ex-McKinsey founders. We map where time and money leak, redesign the work around AI and stay until your people run it themselves, and we run our own company on Claude. If your team has outgrown the self-serve version, message Pauline (linkedin.com/in/paulinebertry).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub polar-bear-org/claude-skills --plugin ai-product-managers-pack36 skills in this plugin
/aipm-agent-specWrites an Agent Spec with the goal and done-state, allowed tools and permissions, stop conditions and a spend budget per session, the approval points carried over from the human-in-the-loop design, and the list of actions the agent must never take alone. Use for "run aipm-agent-spec", "agent spec", "write the limits for our agent", "agent permissions", "where should the agent stop", "agent guardrails", "excessive agency", "spend cap for the agent", part of the Claude for AI Product Managers Pack by 90n./aipm-ai-failure-modesBuilds an AI Failure Modes Map with the failure list per output type, the cost of a false yes and a false no to the user, severity and detection ratings, a graceful failure per mode and a tolerable error rate left blank for a named person. Use for "run aipm-ai-failure-modes", "AI FMEA", "which AI mistakes matter", "leaders expect it to be right every time", "false positives vs false negatives", "graceful failure", "what happens when the AI is wrong", "AI error budget", part of the Claude for AI Product Managers Pack by 90n./aipm-ai-impact-assessmentDrafts an AI Impact Assessment covering who is affected and how, intended use and foreseeable misuse, data used, human oversight, mitigations and residual risk with a named owner, with every legal point marked as a question for an adviser. Use for "run aipm-ai-impact-assessment", "AI impact assessment", "algorithmic impact assessment", "the customer wants an impact assessment", "foreseeable misuse of our AI feature", "who does this feature affect", "residual risk sign-off", part of the Claude for AI Product Managers Pack by 90n./aipm-ai-incident-responseWrites an AI Incident Response Plan for a wrong answer or action that reached customers, with severity levels for AI errors, containment (fallback, switch off, human takeover), a customer correction, an evidence timeline, the fix into the golden dataset and a blameless review. Use for "run aipm-ai-incident-response", "our AI told a customer something wrong", "AI incident playbook", "the chatbot made a promise we cannot keep", "switch off the AI feature", "AI postmortem", "contain an AI failure", part of the Claude for AI Product Managers Pack by 90n./aipm-ai-launch-checklistBuilds an AI Launch Checklist with an owner, a status and an evidence link per line, covering evals passed as run, guardrails on, fallback tested, monitoring and alerts, feedback capture live, support briefed, disclosure in place and rollback rehearsed. Use for "run aipm-ai-launch-checklist", "AI launch checklist", "go-live checklist for an AI feature", "are we ready to launch", "launch readiness review", "what did we forget before launch", "pre-launch checks for our assistant", part of the Claude for AI Product Managers Pack by 90n./aipm-ai-model-selectionBuilds an AI Model Selection Plan with a side-by-side test plan on 20 to 50 real inputs, a quality, latency and cost table per model tier, a pick per task with the evidence row behind it and a re-check date. Use for "run aipm-ai-model-selection", "which model tier should we use", "justify the model choice", "compare models side by side", "cheaper model or stronger model", "model bake-off", "model cost per task", "pick a model for each step", part of the Claude for AI Product Managers Pack by 90n.Other plugins' skills for the same job