tool-systematic-debugging

Guide users through a four-phase debugging process to identify root causes.

1|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/mshaheerz/hive-mind --skill tool-systematic-debugging-mshaheerz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tool-systematic-debugging
Source: https://github.com/mshaheerz/hive-mind/tree/main/agent-skills/tool-systematic-debugging
Command: npx skills add https://github.com/mshaheerz/hive-mind --skill tool-systematic-debugging-mshaheerz

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill prevents wasted time and new bugs by ensuring that the root cause of any technical issue is identified and addressed before any fixes are implemented. It combats the tendency to apply quick patches that only mask underlying problems.

Core Features & Use Cases

  • Structured Debugging Process: Guides users through four distinct phases: Investigation, Pattern Analysis, Hypothesis, and Implementation.
  • Root Cause Mandate: Emphasizes finding the fundamental reason for a bug, not just fixing the immediate symptom.
  • Pressure Resistance: Includes specific rules and language designed to prevent shortcuts, especially under time pressure or when a quick fix seems obvious.
  • Use Case: When a test fails unexpectedly, instead of immediately trying to change the test or the code, use this Skill to systematically investigate why the failure is occurring, ensuring a robust and permanent solution.

Quick Start

When encountering any bug, use the tool-systematic-debugging skill to follow the four-phase process before proposing any fixes.

Frequently Asked Questions about tool-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 fixing symptoms?

Systematic debugging identifies root causes before fixes through a four-phase process: Investigation, Pattern Analysis, Hypothesis testing, and evidence-based Implementation. This structured approach prevents applying quick patches that only mask underlying problems and cause recurring bugs.

What is the best way to investigate unexpected test failures?

The best way to investigate unexpected test failures is to follow a structured error investigation process. Instead of immediately changing the test or code, analyze patterns and test hypotheses to systematically identify why the failure is occurring, ensuring a robust and permanent solution.

How do I stop applying quick patches when troubleshooting under time pressure?

To stop applying quick patches under time pressure, use a debugging process with built-in pressure resistance rules. These rules enforce thorough investigation and hypothesis testing, preventing shortcuts and ensuring that any implemented fix addresses the actual root cause.

What steps are involved in a systematic debugging process?

A systematic debugging process involves four distinct phases: Investigation to gather evidence, Pattern Analysis to identify trends, Hypothesis formulation to theorize the root cause, and Implementation to apply an evidence-based fix. This structured workflow ensures long-term system stability.

When should I use root cause analysis for bug fixing?

You should use root cause analysis for bug fixing whenever a technical issue arises to prevent wasted time and new bugs. It is essential when a quick fix seems obvious, ensuring that the fundamental reason for the error is addressed rather than just the immediate symptom.