Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Update tests when changing APIs — no exceptions
.claude/skills/fritzandfriends-test-discipline/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 51% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -34% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -27% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 11% | 0% |
When APIs or public interfaces change, tests must be updated in the same commit. When test assertions reference file counts or expected arrays, they must be kept in sync with disk reality. Stale tests block CI for other contributors.
EXPECTED_FEATURES, EXPECTED_SCENARIOS), they must match the actual files on disk✓ Correct:
distributed-mesh.md to features/ → added 'distributed-mesh' to EXPECTED_FEATURES array✗ Incorrect:
built-in-roles.md → left EXPECTED_FEATURES at old count (PR blocked)Other measured skills in the registry, with their headline benchmark lift.