systematic-debugging

Diagnose and fix software issues using a 4-phase debugging workflow.

Updated Dec 10, 2024
One-click install
npx skills add https://github.com/melikhanmutlu/web_ar --skill systematic-debugging-melikhanmutlu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/melikhanmutlu/web_ar/tree/main/skills/systematic-debugging
Command: npx skills add https://github.com/melikhanmutlu/web_ar --skill systematic-debugging-melikhanmutlu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnose and fix complex software issues with a structured debugging methodology.

Core Features & Use Cases

  • 4-Phase Debugging Process: Reproduce, Isolate, Understand, and Fix & Verify with guided questions and checklists.
  • Hypothesis-Driven Debugging: For each hypothesis, include probability, evidence, falsification criteria, testing approach, and expected symptoms.
  • Observability & Production-Safe Techniques: Instrumentation, safe read-only endpoints, and guided data collection for production incidents.

Quick Start

Follow the 4-phase process starting with reproducing the issue, gathering logs, and validating a fix in a controlled environment.

Frequently Asked Questions about systematic-debugging

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

FAQPage Schema
What is hypothesis-driven debugging and when should I use it for production incidents?

Hypothesis-driven debugging is a structured methodology where you define probability, evidence, falsification criteria, and expected symptoms for each potential root-cause. Use it for production incidents, performance problems, and distributed systems where reproducible troubleshooting is essential.

How do I systematically debug a complex software issue step by step?

Systematic debugging follows a 4-phase workflow: reproduce the issue, isolate the failing component, understand the root-cause, and fix & verify in a controlled environment. Each phase uses guided questions and checklists to ensure reliable, fast fixes.

Can I use safe read-only endpoints and observability tools for production debugging?

Yes, production debugging uses observability techniques like instrumentation, safe read-only endpoints, and guided data collection. These production-safe practices allow you to diagnose distributed systems without risking further incidents or modifying live data.

What's the best way to isolate and understand a root-cause in distributed systems?

The best way to isolate a root-cause is applying hypothesis-driven analysis within the 4-phase workflow. You test hypotheses against gathered logs and observability data, using falsification criteria to eliminate variables until the actual cause is understood.

Why do I need a systematic troubleshooting methodology for fixing software issues?

You need systematic troubleshooting because complex software issues require reproducible steps and structured analysis to avoid trial-and-error. A methodology with guided checklists ensures you validate fixes in controlled environments, preventing recurring production incidents.

Are there limitations to systematic debugging for performance problems?

Systematic debugging requires the ability to reproduce the performance problem and gather sufficient observability data. If an issue cannot be reproduced in a controlled environment or lacks instrumentation logs, the hypothesis-driven workflow may struggle to isolate the root-cause.