systematic-debugging

Diagnose software defects through a four-phase debugging process.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/101mare/skill-library --skill systematic-debugging-101mare
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/101mare/skill-library/tree/main/skills/patterns/systematic-debugging
Command: npx skills add https://github.com/101mare/skill-library --skill systematic-debugging-101mare

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured, four-phase methodology to reliably find and fix bugs, eliminating guesswork and preventing recurrence.

Core Features & Use Cases

  • Reproduce: Reliably make the bug appear on demand.
  • Isolate: Narrow down the problem to the smallest possible code section.
  • Root-Cause: Understand the fundamental "why" behind the bug using techniques like the "5 Whys".
  • Fix + Defend: Implement a robust fix and add regression tests to prevent future issues.
  • Use Case: When a critical bug is reported in production, use this Skill to systematically track it down, understand its origin, and ensure it's permanently resolved.

Quick Start

Use the systematic-debugging skill to find the root cause of the intermittent test failure.

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 a bug instead of just guessing?

To find the root cause of a bug systematically, use a four-phase process: reproduce the issue reliably, isolate the problem to the smallest code section, apply techniques like the 5 Whys for root cause analysis, and implement a fix with regression tests.

What is the best way to debug intermittent test failures?

Debugging intermittent test failures requires a systematic approach to reliably reproduce the behavior on demand, isolate the failing code section using binary search, and implement targeted logging to verify the root cause before applying a permanent fix.

How do I isolate a software defect in a large codebase?

You can isolate a software defect in a large codebase by using binary search techniques to systematically narrow down the problem to the smallest possible code section, ensuring the behavior is reproducible before attempting a fix.

How does the 5 Whys technique work for troubleshooting code?

The 5 Whys technique for troubleshooting code involves repeatedly asking 'why' to move past surface-level symptoms and understand the fundamental reason behind the unexpected behavior, ensuring your bug fix addresses the actual defect origin.

Can I use systematic debugging for diagnosing production failures?

Yes, systematic debugging is applicable for diagnosing production failures, allowing you to track down unexpected behavior, identify the root cause, and add regression tests to prevent future recurrence of the software defect.

Do I need any specific testing frameworks to use this debugging process?

No specific testing frameworks are required for this debugging process, as it focuses on general troubleshooting methodologies like binary search, targeted logging, and the 5 Whys that can be applied across any codebase to resolve bugs.