systematic-debugging

Enforce root-cause investigation before fixing failing tests or runtime behavior.

1|Updated May 16, 2026
One-click install
npx skills add https://github.com/enigmaicon-eng/AI-Enterprise-OS --skill systematic-debugging-enigmaicon-eng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/enigmaicon-eng/AI-Enterprise-OS/tree/main/examples/superpowers/skills/systematic-debugging
Command: npx skills add https://github.com/enigmaicon-eng/AI-Enterprise-OS --skill systematic-debugging-enigmaicon-eng

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

It prevents wasted time and new bugs by forcing a disciplined root-cause investigation before any changes are proposed.

Core Features & Use Cases

  • Root-cause first rule: Enforces the Iron Law that there are no fixes without Phase 1 root-cause investigation.
  • Four-phase workflow: Provides a structured sequence: Root Cause Investigation → Pattern Analysis → Hypothesis and Testing → Implementation.
  • Pressure-resistant debugging: Calls out what to do when the situation feels urgent or when “just one quick fix” is tempting.
  • Anti-shortcut defenses: Explicitly describes red flags and rationalizations that mean “STOP and Return to Phase 1.”
  • Support for complex systems: Includes guidance for evidence gathering across component boundaries and tracing data flow backward through the call stack.

Quick Start

Use the systematic-debugging skill when you hit a test failure or unexpected behavior, then complete all four phases in order before proposing any fixes.

Frequently Asked Questions about systematic-debugging

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

FAQPage Schema
How do I find the root cause of unexpected runtime behavior or test failures?

Finding the root cause of test failures requires enforcing a structured investigation before applying any fixes. You must complete four phases: root cause investigation, pattern analysis, hypothesis testing, and implementation, ensuring no changes are made without full understanding.

What is the best way to stop applying quick fixes that introduce new bugs?

To stop applying quick fixes that introduce new bugs, follow an anti-shortcut defense mechanism that halts development when understanding is incomplete. You must recognize rationalizations as red flags, stop immediately, and return to initial root cause investigation before proceeding.

How do I debug failures across multi-layer systems and component boundaries?

Debugging failures across multi-layer systems involves gathering evidence across component boundaries and tracing data flow backward through the call stack. This systematic approach ensures you accurately identify the exact point of failure before forming any hypotheses.

How to debug code under time pressure without breaking the process?

Debugging code under time pressure requires resisting the temptation of a quick fix and adhering to a pressure-resistant workflow. You must still complete all four investigation phases sequentially, stopping to re-analyze whenever a proposed fix fails or your understanding remains incomplete.

When should I write a failing test during the debugging workflow?

You should write a failing test during the hypothesis and testing phase, specifically before beginning the implementation phase. This ensures your proposed fix is validated against the actual failure condition, confirming the root cause is resolved before the code is changed.