Regression — change impact analysis, risk-based regression selection, regression packs, permanent tests for fixed bugs, git bisect for root commit, flaky vs real regressions. Use to plan regression for a release or locate a regression (regression testing, impact analysis, bisect).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Regression Testing?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vectora-os-regression-testing)
---
name: regression-testing
description: Regression — change impact analysis, risk-based regression selection, regression packs, permanent tests for fixed bugs, git bisect for root commit, flaky vs real regressions. Use to plan regression for a release or locate a regression (regression testing, impact analysis, bisect).
metadata:
category: quality
---
# Regression testing
## Purpose
Keep fixed behaviour fixed and find what broke it fast.
**Use when:** before releases and when behaviour regresses.
**Not for:** new feature testing.
## Inputs
- Diff since baseline, defect history.
## Outputs
- Regression plan and results, bisect report.
## Read first
- [Project Brain](../../../project-brain/README.md) — `npm run brain -- query "regression testing"` for prior decisions, patterns and anti-patterns.
- [Testing standard](../../../standards/testing.md)
## Steps
1. **Impact.** Map changed modules to features and tests.
Done when impacted areas listed.
2. **Select.** Run impacted tests plus core pack.
Done when selection justified.
3. **Bisect.** For a regression, bisect with an automated check.
Done when culprit commit named.
4. **Lock.** Add a permanent test for each regression.
Done when test fails before fix.
## Best practices
- Every bug fix ships with a regression test.
- Track reopened bugs.
## Common mistakes
- Running everything always (slow) or nothing (risky).
- Fixing without a test.
## Example
Rounding regression bisected over 41 commits to `a1b2c3`; test added.
## Reusable prompt
```text
Apply the Regression testing skill (.agents/skills/regression-testing/SKILL.md).
Context: {{task card or question; links to PRD, ADRs, code paths}}
Constraints: {{approved thresholds, deadlines, allowed files}}
Analyse change impact, select regression tests, and bisect any regression to its commit.
Return: Regression plan and results, bisect report..
Cite evidence (file:line, command output, source) for every claim; list open questions separately.
```