SKILL

test-fixing

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.

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Test Fixing
  • When to Use
  • Systematic Approach
  • 1. Initial Test Run
  • 2. Smart Error Grouping
  • 3. Systematic Fixing Process
  • 4. Fix Order Strategy
  • 5. Final Verification

Systematically identify and fix all failing tests using smart grouping strategies. 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 Run make test to identify all failing tests. Analyze output for: Total number of failures Error types and patterns Affected modules/files 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) For each group (starting with highest impact): 1. Identify root cause Read relevant code Check recent changes with git diff Understand the error pattern 2. Implement fix Use Edit tool for code changes Follow project conventions (see CLAUDE.md) Make minimal, focused changes 3. Verify fix Run subset of tests for this group Use pytest markers or file patterns: Ensure group passes before moving on 4. Move to next group

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
davila7/claude-code-templates
Source file
cli-tool/components/skills/development/test-fixing/SKILL.md
Fixed revision
21be197f100a12b8d0dd9a211cc244c8179f84d3
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:44.841Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.