SKILL15quality-testing
Building Regression Tests
Turns a reproduced defect into a deterministic automated guard that fails before the fix and protects the violated behavior afterward.
Primary benefit
Makes bug fixes durable and proves the new test actually detects the defect instead of merely passing alongside the fix.When to use
Use when a bug, outage, production defect, or failed higher-level test must become a durable automated guard before the implementation is changed.
When not to use
Do not use for a new behavior that has never failed and is better specified through ordinary feature-level TDD or the broader test strategy.
Use cases
Reproduce a production bug in the smallest reliable automated test before changing code
Move a failure discovered by E2E into a narrower regression test after identifying the real broken boundary
Example prompts
Use building-regression-tests to reproduce this bug as a failing automated test first, then identify the narrowest layer where the regression should live.Install this skill
Choose the command for your operating system and run it from the repository root.
Bash
./install.sh --skill building-regression-testsPowerShell
./install.ps1 --skill building-regression-testsChatGPT
Download Skill ZIPCompatibility
- Surfaces
- ChatGPT · Codex · Claude Code
- Operating systems
- Linux · macOS · Windows
- Install modes
- PluginFilesystem
Dependencies
No external dependencies
Part of systems
Curated systems that canonically include this method.
Used in evidence
Reports that explicitly list this method among the applied methods.