prompt-regression-testing
Installation
SKILL.md
Prompt Regression Testing
Core Workflow
- Identify the behavior that must not regress and the artifact it affects.
- Create compact prompts for normal, edge, and known-failure cases.
- Define expected invariants rather than brittle exact wording.
- Pair each prompt with acceptance criteria and expected routing.
- Add negative cases for over-triggering, unsafe actions, or missing context.
- Record when the prompt should be re-run: before release, after skill edits, after host behavior changes, or after incidents.
Safety Rules
- Do not include secrets, real customer data, or sensitive incidents in committed prompt tests.
- Do not make tests depend on exact prose unless exact language is the product.
- Do not rely only on happy-path prompts for high-risk skills.