test-healer

Automate review, execution, and repair of Python test code in pytest.

2|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/onejaejae/skills --skill test-healer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-healer
Source: https://github.com/onejaejae/skills/tree/main/plugins/ai-registry/common/workflow-bundle/skills/test-healer
Command: npx skills add https://github.com/onejaejae/skills --skill test-healer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automatically reviews, executes, and repairs failing test code, ensuring software quality and reducing developer debugging time.

Core Features & Use Cases

  • Automated Test Execution: Runs tests within a specified environment (ENV=test).
  • Intelligent Analysis: Differentiates between test code issues and implementation bugs.
  • Targeted Repair: Fixes common test code errors like incorrect mocks, assertions, or fixture usage.
  • Use Case: When your CI pipeline fails due to a test error, this Skill can automatically identify and fix the test code, allowing development to proceed without manual intervention for common issues.

Quick Start

Use the test-healer skill to fix failing tests for the research_favorite feature.

Frequently Asked Questions about test-healer

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

FAQPage Schema
How do I automatically fix failing pytest scripts in my CI/CD pipeline?

To automatically fix failing pytest scripts, you need an automated tool that executes tests, analyzes failures to distinguish test script errors from implementation bugs, and applies targeted repairs to common issues like incorrect mocks, assertions, or fixture usage.

What is automated test code repair and how does it distinguish between test bugs and implementation bugs?

Automated test code repair analyzes test execution failures to identify whether the error stems from the test script itself, such as bad mocks, or from an underlying implementation bug, ensuring that only test code issues are targeted for automated fixing.

How do I run pytest with an automated test healing process for a specific feature?

You can run pytest with automated test healing by targeting specific feature paths, allowing the process to execute tests within a designated environment like ENV=test and automatically resolve failing test code for that feature.

Does automated test repair work with Python pytest frameworks and specific test file paths?

Yes, automated test repair supports the pytest framework for Python applications and allows you to target specific test file paths or features for automated execution, analysis, and repair of failing test code.

What are the limitations of automated test fixing for Python code quality?

Automated test fixing is limited to repairing common test code errors like incorrect assertions, mocks, and fixture usage; it identifies but does not automatically repair underlying implementation bugs within the application code itself.

Why does my automated test debugging fail to fix errors in my Python application code?

Automated test debugging fails to fix application code errors because it is designed to differentiate test script issues from implementation bugs, focusing its automated repair capabilities exclusively on the test code rather than the underlying application logic.