
Test Fixing
This takes a methodical approach to fixing broken test suites by grouping failures intelligently before diving in. Instead of fixing tests one by one, it categorizes them by error type, affected modules, and root cause, then tackles the highest impact groups first. Infrastructure issues like imports get fixed before API changes, which get fixed before logic bugs. After each group, it runs a focused subset of tests to verify the fix before moving on. The systematic grouping is the smart part here. When you've got 15 failures after a refactor and they're all tangled up, having a process that says "these 8 are all the same import issue" prevents you from thrashing around fixing symptoms instead of causes.
- skills.sh installs
- 386
- GitHub stars
- 693
- last updated
- Aug 21, 2026
Install
$ npx -y skills add mhattingpete/claude-skills-marketplace --skill test-fixing --agent claude-codeInstalls into .claude/skills of the current project.
Files
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 failures
- 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
Sponsors
Details
- Repository
- github.com/mhattingpete/claude-skills-marketplace
- Categories
- Testing & QA, Debugging
- License
- Apache-2.0
- First seen
- Jun 3, 2026
More from mhattingpete/claude-skills-marketplace
All 18- Code Auditor341
- Timeline Creator335
- Dashboard Creator332
- Code Refactor301
- Feature Planning295
- Code Execution293
- Review Implementing256
- Conversation Analyzer248
- Technical Doc Creator221
- Ensemble Solving218
- Project Bootstrapper211
- Code Transfer173
- Flowchart Creator749
- Codebase Documenter594
- Architecture Diagram Creator500
- File Operations417
- Git Pushing411