Use before opening a bug or change issue, changing behaviour or fixing a bug, to list who depends on it, what could break, and a test or reason for each.
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 Check?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/teamrig-regression-check)
---
name: regression-check
description: Use before opening a bug or change issue, changing behaviour or fixing a bug, to list who depends on it, what could break, and a test or reason for each.
---
# Ask what could break before you change it
A fix or a new behaviour is written for the case in front of you. What it breaks sits elsewhere: a caller that read
the old output, a second install on the same machine, an update path that runs the new code over old data, an OS or
an AI CLI the change was never run on. Each of those is found cheaply before the change and dearly after it ships.
This list is how you find them: who depends on the thing, what could break for each, and for each a test or a
one-line reason why none is needed.
## Steps
1. **Name the thing you change.** One line: the function, command, file, setting, hook or data it touches, and what
it does today. A change that touches several is one list per thing, or one list that names each.
2. **List who depends on it.** Walk every row below and write who or what, by name and path; a row with nothing
gets `none` and why, never a blank:
- **Callers**: the code that calls it or reads its output (search the repository for its name and its outputs).
- **Files and contracts**: files, formats, tables, APIs, messages or exit codes others read or write.
- **Other installs and instances**: a second copy on the same machine (another user, another project, another
version, a dev and a released one side by side), and the shared files they both touch.
- **Lifecycle paths**: install, update, uninstall, restore, migration and first run: each runs the new code
over what the old code left behind.
- **Each OS** the project supports: paths, shells, line endings, case, permissions, process handling.
- **Each AI CLI** the project supports: say per CLI whether it is needed, covered or not applicable.
- **Other teams and users**: who runs it with other settings, data or habits than yours.
- **Config defaults**: a user who never set the setting gets the default; a user who set it keeps their value.
3. **Say what could break for each.** Per row, the concrete failure: what the caller sees, which file is wrong,
which step fails. "Nothing" is an answer only with the reason (the caller ignores that field, the path is
unchanged).
4. **Give each a test or a reason.** Per item, the test that would fail if it broke (its file and name, new or
existing), or one line saying why no test is needed (the item cannot see the change, it is covered by a named
test, a test would cost more than the break). An item with neither is not done.
5. **Carry the list with the change.** It goes where the work is judged: in the issue (a `Regressions considered`
part, [write-issue](../write-issue/SKILL.md#3-its-sections)), in the change request
([ship-change](../ship-change/SKILL.md#3-a-description-the-reviewer-can-judge-alone)), and in the approval note
([approvals](../approvals/SKILL.md#2-check)). Keep it in the task's folder (`teamrig files T<n>`) as
`regressions.md` while you work, and update it when the change grows.
## Branches
- **A bug**: the list covers the fix, not only the symptom: the code the fix changes has callers the bug never
reached. Write it before the fix, beside the repro ([close-bug](../close-bug/SKILL.md)).
- **A list too long to test**: rank by how likely and how bad, test the top, and give the rest a reason. A long tail
with no reason is a sign the change is too wide; split it.
- **A break you choose to make** (a format change, a removed option): it is a contract change, not a regression.
Tell each caller you listed before it lands, and wait for its answer.
- **The reviewer finds an item you missed**: add it to the list with its test before the change lands, and add the
row it belonged to, so the next list asks it.
## Traps
- Searching only for the function's name misses callers that read its output: a file, a log line, an exit code.
- "It works here" covers one OS, one AI CLI, one install and the config you happen to have.
- An uninstall, restore or update that touches another install's files breaks a user who never ran your change.
- A changed default reaches every user who never set the setting, on their next update.