Systematically identify and fix all failing tests using smart grouping strategies. Use when explicitly asks to fix tests ("fix these tests", "make tests pass"), reports test failures ("tests are failing", "test suite is broken"), or completes implementation and wants tests passing.
The canonical home for this skill is test-fixing in popey/claude-code-skills
Systematically identify and fix all failing tests using smart grouping strategies.
Run make test to identify all failing tests.
Analyze output for:
Group similar failures by:
Prioritize groups by:
For each group (starting with highest impact):
Identify root cause
git diffImplement fix
Verify fix
uv run pytest tests/path/to/test_file.py -v
uv run pytest -k "pattern" -vMove to next group
Infrastructure first:
Then API changes:
Finally, logic issues:
After all groups fixed:
make testgit diff to understand recent changesUser: "The tests are failing after my refactor"
make test → 15 failures identifieda5a6601
Canonical home
since Sep 26, 2026
Also appears in
since Sep 26, 2026
since Sep 26, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.