fix-bug — fix-bug install fix-bug, agentic-dev-os, community, fix-bug install, ide skills, root cause bug fixing, symptom-chasing prevention, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Code Review Agents needing root cause analysis and regression testing capabilities. fix-bug is a skill that enables developers to identify and fix the root causes of bugs, rather than just treating the symptoms, using techniques like regression testing.

Features

Identifies root causes of bugs, not just symptoms
Writes regression tests before fixing bugs
Ensures bugs never return by fixing the root cause
Follows a philosophy of fixing the root cause, not the symptom
Prevents symptom-chasing by focusing on root cause analysis
Supports deterministic bug fixing using regression tests

# Core Topics

yon yon
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The fix-bug skill by yon is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for fix-bug install, root cause bug fixing, symptom-chasing prevention.

Ideal Agent Persona

Perfect for Code Review Agents needing root cause analysis and regression testing capabilities.

Core Value

Empowers agents to identify and fix root causes of bugs, not just symptoms, by writing regression tests before fixing, ensuring bugs never return and improving code quality through rigorous testing protocols.

Capabilities Granted for fix-bug

Debugging complex issues with regression testing
Writing unit tests to prevent bug recurrence
Analyzing stack traces to identify root causes

! Prerequisites & Limits

  • Requires programming language support for regression testing
  • Needs access to codebase for analysis and modification
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

fix-bug

Install fix-bug, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

/fix-bug -- Root Cause Bug Fixing

Philosophy

Every bug has a root cause, and symptoms are not causes. A null pointer exception is a symptom -- the root cause is that invalid data wasn't caught at the boundary. Fix the root cause, not the symptom. Always write a regression test BEFORE fixing -- this proves the bug exists and ensures it never returns. A bug fix without a regression test is an invitation for the bug to come back.


Anti-Pattern: Symptom-Chasing

WRONG (symptom fix):                   RIGHT (root cause fix):
1. See NullPointerException            1. See NullPointerException
2. Add null check where it crashes     2. Write regression test
3. Ship it                             3. Trace: WHY is this null?
4. Bug returns in different form       4. Find: validation missing at API boundary
                                       5. Fix: add validation at boundary
                                       6. Verify: regression test passes

Symptom-chasing treats every crash site as the problem. But a null that shouldn't exist usually means it was allowed in somewhere upstream. Adding a null check at the crash site doesn't stop the null from propagating through other code paths. Fixing at the boundary stops it everywhere.


Workflow

Step 0: WORKTREE (mandatory)
  |__ EnterWorktree(name="fix-[issue]")

Step 0.5: READ CONTEXT
  |__ Read .context.md for the module where the bug manifests

Step 1: GATHER INFORMATION
  |__ Expected behavior?
  |__ Actual behavior?
  |__ Steps to reproduce?
  |__ When did it start? (recent change? always broken?)
  |__ Any error messages or logs?

Step 2: REPRODUCE WITH TEST
  |__ Write a test that demonstrates the failure
  |__ Test MUST fail before the fix
  |__ Name: test_[scenario]_should_[expected_behavior]
  |__ Checklist:
        [ ] Test fails
        [ ] Test fails for the RIGHT reason
        [ ] Test describes correct behavior (not buggy behavior)

Step 3: ROOT CAUSE ANALYSIS
  |__ Read relevant code
  |__ Trace execution path from input to failure
  |__ Identify WHERE behavior diverges from expectation
  |__ Ask: "Why does this happen?" then ask "Why?" again
  |     (Keep asking until you reach the actual cause)
  |__ Document the root cause (not the symptom)
  |__ Checklist:
        [ ] Root cause identified (not symptom)
        [ ] Can explain WHY the bug occurs
        [ ] Can explain why the fix prevents recurrence

Step 4: PLAN & FIX
  |__ For non-trivial bugs: save plan to working/plans/
  |__ Implement minimal fix at the root cause
  |__ Don't refactor unrelated code
  |__ Checklist:
        [ ] Fix addresses root cause
        [ ] Fix is minimal (no scope creep)
        [ ] No unrelated changes mixed in

Step 5: VERIFY
  |__ Regression test now PASSES
  |__ make check -- all green, no regressions
  |__ Checklist:
        [ ] Regression test passes
        [ ] Full suite passes
        [ ] No new warnings introduced

Step 6: UPDATE CONTEXT
  |__ Update .context.md with bug root cause and fix description

Step 7: REVIEW
  |__ Spawn review subagents:
        - code-reviewer (fix quality)
        - test-reviewer (regression test quality)

Step 8: DELIVER
  |__ Present summary:
  |     - Root cause explanation
  |     - What was changed (minimal diff)
  |     - Regression test added
  |     - Full suite results
  |__ Commit message format:
        fix(scope): short description

        Root cause: [explanation]
        Regression test: [test name]

        Closes #[issue]

Rules

  • ALWAYS write regression test BEFORE fixing -- the test proves the bug exists
  • Test must FAIL before fix and PASS after -- this is non-negotiable
  • Fix the root cause, not the symptom -- ask "why?" until you find the real cause
  • Minimal change -- fix the bug, don't refactor surrounding code
  • Commit test WITH fix -- they travel together, always

Options

  • /fix-bug [issue number or description] -- start with context
  • /fix-bug -- interactive, asks for bug description

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is fix-bug?

Perfect for Code Review Agents needing root cause analysis and regression testing capabilities. fix-bug is a skill that enables developers to identify and fix the root causes of bugs, rather than just treating the symptoms, using techniques like regression testing.

How do I install fix-bug?

Run the command: npx killer-skills add yon/agentic-dev-os/fix-bug. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for fix-bug?

Key use cases include: Debugging complex issues with regression testing, Writing unit tests to prevent bug recurrence, Analyzing stack traces to identify root causes.

Which IDEs are compatible with fix-bug?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for fix-bug?

Requires programming language support for regression testing. Needs access to codebase for analysis and modification.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add yon/agentic-dev-os/fix-bug. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use fix-bug immediately in the current project.

Related Skills

Looking for an alternative to fix-bug or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI