systematic-debugging

Apply a four-phase root-cause process to debug technical issues before fixes.

4|Updated Oct 3, 2025
One-click install
npx skills add https://github.com/apexbusiness-systems/APEX-OmniHub --skill systematic-debugging-apexbusiness-systems
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/apexbusiness-systems/APEX-OmniHub/tree/main/.cursor/superpowers/skills/systematic-debugging
Command: npx skills add https://github.com/apexbusiness-systems/APEX-OmniHub --skill systematic-debugging-apexbusiness-systems

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a disciplined four-phase framework to uncover the true root cause of bugs before attempting fixes, reducing wasted effort and rework.

Core Features & Use Cases

  • Four-phase process: Root Cause Investigation, Pattern Analysis, Hypothesis Testing, and Implementation.
  • Prevent symptom fixes: Ensures changes address the real issue, not just the symptom.
  • Applicable scenarios: Production outages, flaky tests, performance problems, and integration failures across any stack.

Quick Start

Load the systematic-debugging skill and follow Phase 1 through Phase 4 in order, documenting findings and decisions at each phase before proposing any changes.

Frequently Asked Questions about systematic-debugging

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

FAQPage Schema
What is systematic root-cause debugging and when should I use it?

Systematic root-cause debugging is a four-phase framework to uncover the true cause of technical issues before fixing them. Use it for production outages, test failures, performance problems, and integration issues to prevent wasted effort on symptom fixes.

How do I debug a production outage systematically without patching symptoms?

Debug a production outage by following four phases in order: Root Cause Investigation, Pattern Analysis, Hypothesis Testing, and Implementation. Document findings at each phase and complete Phase 1 before proposing any fixes to ensure you address the actual root cause.

Can I use this systematic debugging process for flaky tests and integration failures?

Yes, this systematic debugging process applies to flaky tests, integration failures, performance problems, and production outages across any technology stack. It adapts to various scenarios by enforcing root-cause investigation before any code changes are implemented.

What's the best way to create failing tests after finding a bug's root cause?

The best way to create failing tests after root-cause analysis is leveraging Phase 4 of the process, which uses test-driven development to implement fixes. This ensures your changes are validated by a failing test that confirms the root cause before the fix is applied.

Does systematic debugging rely on identifying anti-patterns during investigation?

Yes, systematic debugging relies on identifying anti-patterns during the Pattern Analysis phase to recognize recurring bad practices. This step ensures you understand the underlying patterns causing the issue before moving to hypothesis testing and implementation.

Why should I complete root-cause investigation before attempting any fixes under time pressure?

You must complete root-cause investigation first because skipping it leads to symptom fixes and rework, especially under time pressure. This disciplined approach reduces wasted effort by ensuring all changes target the true underlying issue.