test-fixing▌
sickn33/antigravity-awesome-skills · updated Apr 8, 2026
Systematically identify and fix all failing tests using smart error grouping.
- ›Groups failures by error type, affected module, and root cause, then prioritizes fixes by impact and dependency order
- ›Fixes infrastructure issues first (imports, dependencies, configuration), followed by API changes, then logic bugs
- ›Runs focused test subsets after each fix using pytest markers and file patterns to verify progress before moving to the next group
- ›Follows a structured workflow: initial test
Test Fixing
Systematically identify and fix all failing tests using smart grouping strategies.
When to Use
- Explicitly asks to fix tests ("fix these tests", "make tests pass")
- Reports test failures ("tests are failing", "test suite is broken")
- Completes implementation and wants tests passing
- Mentions CI/CD failures due to tests
Systematic Approach
1. Initial Test Run
Run make test to identify all failing tests.
Analyze output for:
- Total number of failures
- Error types and patterns
- Affected modules/files
2. Smart Error Grouping
Group similar failures by:
- Error type: ImportError, AttributeError, AssertionError, etc.
- Module/file: Same file causing multiple test failure
- Root cause: Missing dependencies, API changes, refactoring impacts
Prioritize groups by:
- Number of affected tests (highest impact first)
- Dependency order (fix infrastructure before functionality)
3. Systematic Fixing Process
For each group (starting with highest impact):
-
Identify root cause
- Read relevant code
- Check recent changes with
git diff - Understand the error pattern
-
Implement fix
- Use Edit tool for code changes
- Follow project conventions (see CLAUDE.md)
- Make minimal, focused changes
-
Verify fix
- Run subset of tests for this group
- Use pytest markers or file patterns:
uv run pytest tests/path/to/test_file.py -v uv run pytest -k "pattern" -v - Ensure group passes before moving on
-
Move to next group
4. Fix Order Strategy
Infrastructure first:
- Import errors
- Missing dependencies
- Configuration issues
Then API changes:
- Function signature changes
- Module reorganization
- Renamed variables/functions
Finally, logic issues:
- Assertion failures
- Business logic bugs
- Edge case handling
5. Final Verification
After all groups fixed:
- Run complete test suite:
make test - Verify no regressions
- Check test coverage remains intact
Best Practices
- Fix one group at a time
- Run focused tests after each fix
- Use
git diffto understand recent changes - Look for patterns in failures
- Don't move to next group until current passes
- Keep changes minimal and focused
Example Workflow
User: "The tests are failing after my refactor"
- Run
make test→ 15 failures identified - Group errors:
- 8 ImportErrors (module renamed)
- 5 AttributeErrors (function signature changed)
- 2 AssertionErrors (logic bugs)
- Fix ImportErrors first → Run subset → Verify
- Fix AttributeErrors → Run subset → Verify
- Fix AssertionErrors → Run subset → Verify
- Run full suite → All pass ✓
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.7★★★★★60 reviews- ★★★★★Mia Liu· Dec 16, 2024
I recommend test-fixing for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★William Reddy· Dec 16, 2024
test-fixing is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Zaid Harris· Dec 16, 2024
We added test-fixing from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Noah Khanna· Dec 12, 2024
test-fixing has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Lucas Patel· Dec 8, 2024
Keeps context tight: test-fixing is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Zaid Kim· Dec 4, 2024
Solid pick for teams standardizing on skills: test-fixing is focused, and the summary matches what you get after install.
- ★★★★★Kwame Yang· Nov 27, 2024
I recommend test-fixing for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Noor Shah· Nov 7, 2024
Keeps context tight: test-fixing is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Aanya Bansal· Nov 7, 2024
Useful defaults in test-fixing — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Zaid Huang· Nov 7, 2024
test-fixing reduced setup friction for our internal harness; good balance of opinion and flexibility.
showing 1-10 of 60