fix-tests

Diagnose and repair failing test suites across multiple language ecosystems.

5|1|Updated Oct 18, 2019
One-click install
npx skills add https://github.com/Marshall-Hallenbeck/dot_files --skill fix-tests-marshall-hallenbeck
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-tests
Source: https://github.com/Marshall-Hallenbeck/dot_files/tree/main/.claude/skills/fix-tests
Command: npx skills add https://github.com/Marshall-Hallenbeck/dot_files --skill fix-tests-marshall-hallenbeck

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the tedious cycle of running tests, diagnosing failures, and patching source code, ensuring your project remains stable without manual intervention.

Core Features & Use Cases

  • Automated Diagnosis: Automatically detects the test runner (pytest, Jest, Vitest, cargo, go) and parses stack traces to identify root causes.
  • Iterative Repair: Sequentially fixes failing tests, verifies them with targeted re-runs, and performs full suite regression testing.
  • Use Case: When a large refactor causes multiple test failures, use this Skill to systematically identify the broken logic and apply minimal, verified fixes until the entire suite passes.

Quick Start

Invoke the fix-tests skill to automatically diagnose and repair all failing tests in the current project directory.

Frequently Asked Questions about fix-tests

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

FAQPage Schema
How do I automate debugging and repair for failing software tests?

Automated test repair works by executing shell commands to run your test suite, parsing stack traces to identify root causes, and iteratively applying minimal source code modifications until all tests pass.

How do I fix multiple test failures caused by a large code refactor?

To fix regression failures after a refactor, sequentially diagnose broken logic from stack traces, apply targeted patches, and verify them with full suite regression testing until the project stabilizes.

Can I use automated test repair with pytest, Jest, and cargo test runners?

Yes, automated test repair automatically detects various test runners including pytest, Jest, Vitest, cargo, and go, parsing their specific output formats to diagnose and patch failing tests across ecosystems.

What is the best way to handle continuous integration test failures without manual intervention?

The best way to handle continuous integration failures is autonomous test-driven debugging, which detects the test runner, parses failures, patches source code, and runs regression tests automatically.

Why do I need to run shell commands for automated test debugging?

Automated test debugging requires shell command execution to invoke the test runner, capture output, and verify targeted re-runs after applying iterative source code modifications to fix failing tests.