test-fixing

Group failing tests by error type and module, then fix and validate each group.

657|94|Updated Oct 17, 2025
One-click install
npx skills add https://github.com/mhattingpete/claude-skills-marketplace --skill test-fixing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-fixing
Source: https://github.com/mhattingpete/claude-skills-marketplace/tree/main/engineering-workflow-plugin/skills/test-fixing
Command: npx skills add https://github.com/mhattingpete/claude-skills-marketplace --skill test-fixing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dealing with a suite of failing tests can be overwhelming and time-consuming, especially after refactoring or new feature development. This Skill systematically identifies, groups, and fixes failing tests, restoring your test suite to a passing state.

Core Features & Use Cases

  • Smart Error Grouping: Organizes failures by type, module, or root cause for efficient debugging.
  • Systematic Fixing Process: Guides through fixing one group at a time, verifying each fix before proceeding.
  • Focused Test Runs: Allows running subsets of tests to quickly confirm fixes without running the entire suite.
  • Use Case: After a major refactor, your tests are failing. This Skill will run your test suite, group the errors, and guide you through fixing them one by one until everything is green.

Quick Start

Run initial test suite to identify failures

bash make test

Run focused tests for a specific file

bash uv run pytest tests/path/to/test_file.py -v

Frequently Asked Questions about test-fixing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix failing tests in my CI/CD pipeline?

Fixing failing tests involves running your test suite, grouping errors by type and module, then applying targeted fixes one group at a time. This Skill automates that process—it identifies root causes, prioritizes failures, and guides you through validation before moving to the next group, getting your pipeline back to green.

What's the best way to organize and debug multiple test failures?

Smart error grouping organizes failures by root cause, module, and error type rather than treating each failure independently. This systematic approach isolates issues efficiently, letting you fix related failures together and confirm each fix with focused test runs before proceeding to the next group.

Can I run a subset of tests to validate fixes without the full suite?

Yes. Focused test runs let you execute specific test files or modules to quickly confirm a fix works before running the entire suite. This speeds up iteration during debugging, especially valuable when dealing with large test suites after refactoring.

How do I handle test failures after a major refactor?

After refactoring, a suite of failing tests can be overwhelming. This Skill runs your full test suite, groups the errors intelligently, then walks you through fixing one group at a time with verification steps, restoring your suite to passing systematically.

Do I need special setup to diagnose test failures across modules?

No special setup is required. The Skill works with standard test frameworks and CI/CD environments. It groups failures by module and error type automatically, so you can diagnose cross-module issues without additional configuration.