systematic-debugging

Guide software debugging through four phases to identify root causes before fixes.

Updated Aug 21, 2021
One-click install
npx skills add https://github.com/saint2706/Coding-For-MBA --skill systematic-debugging-saint2706
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/saint2706/Coding-For-MBA/tree/main/.agents/skills/systematic-debugging
Command: npx skills add https://github.com/saint2706/Coding-For-MBA --skill systematic-debugging-saint2706

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill prevents wasted time and new bugs by ensuring that the root cause of any issue is identified and addressed before any fixes are implemented. It combats the tendency to apply quick patches that 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 language and rules to prevent shortcuts under time pressure or when a quick fix seems obvious.
  • Use Case: When a critical API endpoint starts returning errors, instead of immediately trying to add a retry mechanism, this Skill ensures you first investigate why the errors are occurring, preventing future, more severe failures.

Quick Start

Use the systematic-debugging skill to investigate any bug you encounter before attempting a fix.

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 software bug instead of just fixing symptoms?

A systematic debugging process prevents new bugs by identifying the root cause before implementing fixes. It combats the tendency to apply quick patches under time pressure that only mask underlying software issues instead of resolving them.

What are the steps to investigate a software error before attempting a bug fix?

The investigation steps involve four distinct phases: Investigation, Pattern Analysis, Hypothesis, and Implementation. You gather information, analyze patterns, test hypotheses about the root cause, and only then implement the actual fix.

How do I debug an API endpoint returning errors without breaking things further?

To debug an API endpoint returning errors, investigate why the errors occur before adding mechanisms like retries. Applying systematic debugging prevents future severe failures by ensuring the root cause is addressed rather than masked by quick patches.

How do I avoid rationalization and shortcuts during troubleshooting under time pressure?

To avoid rationalization during troubleshooting under time pressure, use specific debugging rules and anti-patterns designed to resist shortcuts. This ensures you complete the investigation and hypothesis phases before implementing fixes.

When should I use a systematic troubleshooting approach for bug fixing?

You should use a systematic troubleshooting approach for bug fixing whenever you encounter any software issue. It is specifically designed to prevent wasted time and new bugs by ensuring the root cause is identified before any fixes are implemented.