auto-fix

Fix bugs by writing reproduction tests first and applying minimal code changes.

111|73|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/autopus-ai/autopus-adk --skill auto-fix-autopus-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: auto-fix
Source: https://github.com/autopus-ai/autopus-adk/tree/main/.omp/skills/auto-fix
Command: npx skills add https://github.com/autopus-ai/autopus-adk --skill auto-fix-autopus-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Bug fixes often patch symptoms instead of root causes and lack regression coverage, leading to recurring issues. This Skill enforces a disciplined workflow: reproduce the bug with a failing test first, trace the root cause through callers, then apply the smallest possible fix. ## Core Features & Use Cases - Reproduction-First Workflow: Writes a failing reproduction test before any code change, confirming the bug exists and verifying the fix afterward. - Root-Cause Analysis: Requires evidence of the symptom location, owning function, and caller list before deciding where to patch, preventing symptom-only fixes. - Scoped Fixing: Supports narrowing the fix scope to a specific file with the --file flag and skipping confirmation steps with --auto. - Use Case: A regression appears in your authentication module. Run the fix command with a bug description, and the Skill writes a failing test, traces the root cause through callers, applies a minimal patch, and runs the full test suite to confirm. ## Quick Start Ask the agent to run /auto fix with a description of the bug, optionally adding --file to scope the fix or --auto to skip confirmations.

Frequently Asked Questions about auto-fix

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

FAQPage Schema
How do I fix a bug with a reproduction test first?▼

Run /auto fix with a bug description, and the workflow writes a failing reproduction test before any code change. It then confirms the test fails, applies a minimal patch, and verifies the test passes along with the full suite.

How to scope a bug fix to a specific file?▼

Use the --file flag followed by the target path, for example /auto fix --file path/to/file. This narrows the investigation and patch scope to that file while keeping the reproduction-test-first workflow intact.

Can I skip confirmation steps during an automated bug fix?▼

Yes, the --auto flag runs the fix flow without intermediate confirmation steps. The reproduction test, root-cause check, minimal patch, and full test suite verification still execute automatically.

Why does the fix workflow reject symptom-only patches?▼

Symptom-only patches are flagged as revise-target when there is no caller or shared root-cause evidence. A focused patch is allowed only when the symptom location is the root cause or exactly one caller is affected.

What happens if the auto fix command fails?▼

On failure, the Skill shows an error recovery block suggesting you retry /auto fix with the same arguments or run /auto doctor to diagnose system state. After success, it recommends next steps such as /auto sync or /auto review.