systematic-debugging

Enforce root-cause investigation across UI, gRPC, server, and data access systems before applying fixes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a disciplined, four-phase approach to debugging that emphasizes root-cause analysis over symptomatic fixes, helping teams avoid rushed patches and chronic regressions.

Core Features & Use Cases

  • Phase-driven process: Phase 1: Root Cause Investigation, Phase 2: Pattern Analysis, Phase 3: Hypothesis & Testing, Phase 4: Implementation, with explicit gating to prevent skipping.
  • Defense-in-depth concepts: Validate data at UI, client, service, and logging layers to make bugs structurally impossible.
  • Diagnostic templates: Root-cause tracing, evidence gathering, and test-driven validation patterns for complex systems.
  • Use cases: Debugging flaky tests, race conditions, multi-component stacks (UI → gRPC → server → data).

Quick Start

Load the skill and begin with Phase 1: Root Cause Investigation, then iteratively proceed through the remaining phases, validating hypotheses with minimal changes and documenting outcomes.

Frequently Asked Questions about systematic-debugging

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

FAQPage Schema
How do I debug complex multi-component software bugs across UI and gRPC stacks?▼

Debug complex software bugs using a four-phase root-cause analysis approach: investigate root causes, analyze patterns, test hypotheses, and implement fixes. This enforces evidence-based tracing and documented steps to prevent rushed patches and chronic regressions.

What is the best way to fix flaky tests and race conditions without causing regressions?▼

Fix flaky tests and race conditions by applying a phase-based debugging process that requires documented evidence and failing tests before implementation. This prevents rushed patches and validates hypotheses with minimal changes to avoid regressions.

How does a phase-based debugging process work for tracing root causes?▼

A phase-based debugging process works by gating four stages: Root Cause Investigation, Pattern Analysis, Hypothesis & Testing, and Implementation. Explicit gating prevents skipping investigation, forcing evidence gathering and test-driven validation before any code changes occur.

How do I apply defense-in-depth validation when debugging data access layers?▼

Apply defense-in-depth validation by enforcing data checks at UI, client, service, and logging layers. This multi-layer validation strategy makes bugs structurally impossible across the entire stack rather than relying on a single defensive boundary.

Does this root-cause debugging approach work with EF Core and gRPC architectures?▼

Yes, this root-cause debugging approach explicitly supports multi-component systems including EF Core data access and gRPC server architectures. It provides diagnostic templates for tracing evidence and validating hypotheses across these specific technology layers.

Why should I not rush to apply fixes when debugging complex software bugs?▼

Rushing to apply fixes bypasses root-cause investigation, leading to symptomatic patches that cause chronic regressions. Enforcing documented steps and failing tests before implementation ensures minimal changes validate the actual defect rather than masking it.