systematic-debugging

Diagnose software bugs through a four-phase root-cause investigation process.

Updated Sep 1, 2021
One-click install
npx skills add https://github.com/unclehowell/unclehowell --skill systematic-debugging-unclehowell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/unclehowell/unclehowell/tree/main/skills/software-development/systematic-debugging
Command: npx skills add https://github.com/unclehowell/unclehowell --skill systematic-debugging-unclehowell

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a disciplined, four‑phase method for diagnosing and fixing software bugs, test failures, and unexpected behavior, ensuring developers identify the true root cause before applying any fix.

Core Features & Use Cases

  • Phase‑by‑Phase Workflow: Structured steps for error analysis, pattern identification, hypothesis testing, and safe implementation.
  • Tool Integration: Guides use of file reading, searching, terminal commands, and delegate sub‑agents for complex investigations.
  • Risk Mitigation: Enforces checkpoints and stop‑rules to prevent premature fixes and architectural blind spots.
  • Use Cases: Debugging failing unit tests, production outages, performance regressions, CI build failures, and multi‑component integration issues.

Quick Start

Ask the agent to troubleshoot the failing test “test_module.py::test_name” using the systematic-debugging skill.

Frequently Asked Questions about systematic-debugging

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

FAQPage Schema
What is systematic debugging and when should I use it for troubleshooting software bugs?

Systematic debugging is a four-phase root-cause investigation process used to diagnose software bugs, test failures, and unexpected behavior before applying fixes. You should use it when troubleshooting failing unit tests, production outages, performance regressions, or multi-component integration issues to ensure reliable, validated resolutions.

How do I find the root cause of a failing unit test or CI build failure?

To find the root cause of a failing unit test or CI build failure, apply a structured debugging process that analyzes errors, compares patterns, and tests hypotheses. This method uses file search, terminal execution, and sub-agent delegation to gather evidence and enforce checkpoints, preventing premature fixes.

What's the best way to debug a production outage or performance regression?

The best way to debug a production outage or performance regression is following a four-phase systematic approach: analyze the error, identify patterns, test hypotheses, and implement a validated fix. It guides tool usage like file reading and terminal commands to ensure safe, reproducible resolutions without architectural blind spots.

Can I use this systematic debugging method for multi-component integration issues?

Yes, you can use this systematic debugging method for multi-component integration issues. It supports complex investigations by delegating sub-agents to gather evidence across components, enforcing stop-rules and checkpoints to mitigate risks and prevent premature fixes in interconnected systems.

Why does troubleshooting unexpected behavior often lead to recurring software bugs?

Troubleshooting unexpected behavior often leads to recurring software bugs when developers apply premature fixes before identifying the true root cause. Systematic debugging enforces risk mitigation checkpoints and hypothesis testing to ensure the original error pattern is fully analyzed and the fix is validated.