
Description
testing-changes is an agent skill from the riekelt/principal-engineer collection, listed on skills.sh. It is used when deciding what tests a change needs, whether it is a feature, a bug fix, a refactor or any behavior change, or when reviewing whether a diff's tests are sufficient. Test craft lives in a separate writing-unit-tests skill, and this one governs which tests a change owes. Its premise is that a test is the executable form of a claim about behavior, and a change that alters behavior without touching tests is a claim nobody wrote down. Tests change with behavior in the same change, and an empty test diff on a behavior change is a review finding. A pure refactor owes the opposite proof: existing tests pass unmodified. A bug fix ships its regression test, named after the failure mode, and the author shows it red against the unfixed code and green against the fix. Scenarios include the edge cases that grounding and review turned up. Each task carries a targeted verify command that the reviewer can run alone. Assertions must discriminate, so the author breaks the code once to confirm the test goes red. Anything on a critical path that sums or mirrors other data needs invariant tests that check the reconciliation. The listing shows the skill as free, and its audits all show Pass results.…
Highlights
- Tests a change owes, by change type
- Red-then-green regression tests for bug fixes
- Targeted verify command per task
- Assertions must be able to fail
Ratings & Reviews
No ratings yet
Be the first to rate testing-changes.
People also visit

fix-tests
Systematically fix all failing tests after business logic changes or refactoring
testing-changes FAQ
What does the testing-changes skill do?
It helps an AI agent decide which tests a change needs and check whether a diff's tests are enough.
How do I install it?
Run: npx skills add https://github.com/riekelt/principal-engineer --skill testing-changes
What does a bug fix need?
A regression test that is shown red against the unfixed code and green against the fix.
What does a refactor need?
The skill says existing tests should pass unmodified, which is what makes it a refactor.
How is a test proved to work?
By breaking the code once to confirm the test goes red, then restoring it.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best testing-changes alternatives?
Popular alternatives to testing-changes include test, principle-test-behavior-not-implementation and testing-craft. See all testing-changes alternatives














