Run tests and systematically fix all failing tests using smart error grouping. Use when user asks to fix failing tests, mentions test failures, runs test suite and failures occur, or requests to make tests pass.
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" -v
Move 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 identifiedCopy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/test-fixing · pinned to the source commit
# Run from your project root
git clone https://github.com/davila7/claude-code-templates.git .skillboard-tmp
git -C .skillboard-tmp checkout 5cc17cf267132cc690dee82239b80a99ec82e4f8
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/cli-tool/components/skills/development/test-fixing" ".claude/skills/"
rm -rf .skillboard-tmpReview the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
sudo apt update && sudo apt install -y gitnpm install -g @anthropic-ai/claude-code# Run from your project root
git clone https://github.com/davila7/claude-code-templates.git .skillboard-tmp
git -C .skillboard-tmp checkout 5cc17cf267132cc690dee82239b80a99ec82e4f8
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/cli-tool/components/skills/development/test-fixing" ".claude/skills/"
rm -rf .skillboard-tmpDestination: .claude/skills/test-fixing
Scanner static-checks@0.1.0 · commit 5cc17cf26713. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
No static rules matched. This is not a safety guarantee.