Debug root cause

From onfire7777/universal-ai-skills-library · View interactive version

Debug root cause is an AI agent skill from the GitHub repository onfire7777/universal-ai-skills-library. Investigate a failing test, test failure, crash, exception, or software bug. Reproduce the failure, isolate the failing code, test hypotheses, and verify the fix with a regression test. Use to find the root cause of unexpected software behavior.

How to use this skill

Skill file

Debug — Root Cause Analysis

Thinking Protocol

Before touching code, answer silently:

  1. What exactly is the symptom? (Be precise)
  2. When did it last work? What changed since then?
  3. Am I fixing a symptom or the root cause?

Execution

Phase 1: Reproduce

Phase 2: Isolate

Phase 3: Hypothesize & Test

Phase 4: Fix Root Cause

Phase 5: Prevent Recurrence

Rules

🚨 Fix-it-never-work-around-it. Band-aid fixes ARE band-aid fixes.

🚨 Don't guess. Hypothesize, then test. Can't test? Gather more data.

🚨 The bug is in your code until proven otherwise.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.