skill-debug

Guide engineers through a four-phase systematic debugging process.

1|Updated Jun 12, 2026
One-click install
npx skills add https://github.com/mhdxbilal/Ai --skill skill-debug-mhdxbilal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-debug
Source: https://github.com/mhdxbilal/Ai/tree/main/.claude/skills/skill-debug
Command: npx skills add https://github.com/mhdxbilal/Ai --skill skill-debug-mhdxbilal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Systematic debugging provides a disciplined approach to diagnosing and fixing software issues, reducing time to resolution and avoiding ad-hoc patches.

Core Features & Use Cases

  • Four-phase process: Root Cause Investigation, Pattern Analysis, Hypothesis Testing, and Implementation, with mandatory gates.
  • Phase-by-phase guidance: Step-by-step instructions, evidence gathering, and risk checks to ensure fixes address root causes.
  • Multi-agent and integration-ready: Supports parallel analysis and integrates with debugging workflows to coordinate teams.

Quick Start

Start Phase 1 by listing the error messages and reproducing the bug with a minimal testcase

Frequently Asked Questions about skill-debug

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

FAQPage Schema
What is systematic debugging and how does it find root causes?

It guides engineers through a four-phase debugging process: Root Cause Investigation, Pattern Analysis, Hypothesis Testing, and Implementation. Mandatory quality gates enforce evidence gathering and risk checks to prevent premature fixes and ensure true root causes are addressed.

How do I start debugging a runtime error or test failure?

Begin Phase 1 root cause investigation by listing the error messages and reproducing the bug with a minimal testcase. This initial evidence gathering step is required before advancing to pattern analysis, hypothesis testing, and implementation.

Can I use systematic debugging for performance regressions and unexpected behavior?

Yes, systematic debugging applies to performance regressions, unexpected behavior, runtime errors, and test failures across codebases, teams, and debugging environments. The four-phase process scales to various software engineering issue types.

Does this debugging process support multi-agent and team coordination?

Yes, the systematic debugging process supports multi-agent parallel analysis and integrates with existing debugging workflows to coordinate teams. This allows distributed codebase investigation during the pattern analysis and hypothesis testing phases.

How do quality gates prevent premature fixes during troubleshooting?

Quality gates prevent premature fixes by enforcing phase-by-phase risk checks and evidence verification before advancing. Engineers must complete root cause investigation and hypothesis testing gates before implementation, ensuring fixes address actual root causes rather than symptoms.

What's the best way to debug software issues across multiple codebases?

The best way to debug across codebases is applying a four-phase systematic process: root cause investigation, pattern analysis, hypothesis testing, and controlled implementation. This disciplined approach reduces time to resolution and avoids ad-hoc patches across teams.