auto-fix

Diagnose and resolve build, test, and tool execution failures with automated fix loops.

3|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/marcmunoz-uno/jailbreak --skill auto-fix-marcmunoz-uno
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auto-fix
Source: https://github.com/marcmunoz-uno/jailbreak/tree/main/skills/auto-fix
Command: npx skills add https://github.com/marcmunoz-uno/jailbreak --skill auto-fix-marcmunoz-uno

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents time-wasting manual debugging by automatically diagnosing the root cause of an error, applying a minimal targeted fix, and verifying the result.

Core Features & Use Cases

  • Automated error diagnosis and fix loop: captures complete failure context, proposes a diff, applies it with minimal change, and re-runs the failing command.
  • Circuit breaker with escalation: after three failed attempts, it reverts changes and escalates to structural diagnosis rather than looping indefinitely.
  • Focused safety controls: stashes before first fix attempt and fully reverts if the loop exhausts without success.

Quick Start

Run the failing build or test command, then ask your agent harness to trigger auto-fix to diagnose the error, apply a minimal fix, and verify the original command passes.

Frequently Asked Questions about auto-fix

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

FAQPage Schema
How do I automatically fix build and test failures without manual debugging?

Automated error diagnosis captures the failure context, proposes a minimal diff, applies it, and re-runs the original command to verify success. It targets build, test, and tool execution failures by iterating targeted fixes until verification succeeds or the circuit breaker triggers.

What types of execution errors can an autonomous repair loop resolve?

An autonomous repair loop resolves import and module resolution failures, type errors, syntax errors, runtime exceptions, configuration mistakes, and permission issues. It uses a debugger to generate root-cause hypotheses and applies minimal edits to fix these execution pipeline errors.

How do I safely apply automated fixes to my codebase during CI failures?

To safely apply automated fixes, the system stashes your current changes with git before the first attempt and fully reverts if the loop exhausts. This ensures your original working state is preserved if the targeted repair fails after three attempts.

What happens when automated error diagnosis fails to fix the issue after multiple attempts?

When automated error diagnosis fails after three attempts, a circuit breaker triggers to revert changes and escalate to structural diagnosis. This prevents indefinite looping by stopping the repair process and indicating that the error requires deeper structural analysis.

Does autonomous repair work with existing git workflows and CI pipelines?

Autonomous repair integrates with git workflows by using stash and revert safeguards to protect your branch state. It executes within CI pipelines by capturing error context from failing commands and re-running them to confirm success across up to three targeted fix attempts.

When should I avoid using an automated fix loop for error diagnosis?

You should avoid an automated fix loop when errors require structural diagnosis beyond targeted edits, or when minimal changes cannot resolve the root cause. The circuit breaker limits attempts to three, making it unsuitable for complex architectural failures needing manual intervention.