systematic-debugging

Identify root causes of bugs through a four-phase investigation workflow.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/jmduea/emotiv-cortex-rs --skill systematic-debugging-jmduea
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/jmduea/emotiv-cortex-rs/tree/main/.github/skills/systematic-debugging
Command: npx skills add https://github.com/jmduea/emotiv-cortex-rs --skill systematic-debugging-jmduea

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill prevents wasted time and new bugs caused by fixing symptoms without understanding the root cause, ensuring systematic investigation before any change.

Core Features & Use Cases

  • Four‑phase process: Root Cause Investigation, Pattern Analysis, Hypothesis Testing, Implementation.
  • Pressure resistance: Rules and language that stop shortcuts under time pressure.
  • Integration: Works with related skills like test‑driven development and verification before completion.
  • Use cases: Debugging test failures, production incidents, build errors, or performance regressions.

Quick Start

Ask the skill to guide you through systematic debugging for the current issue.

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 do I need it for production incidents?

Systematic debugging is a structured investigation process to identify the root cause of technical issues before applying fixes. You need it for production incidents, test failures, build errors, and performance regressions to prevent new bugs from fixing symptoms.

How do I find the root cause of test failures before applying a fix?

To find the root cause of test failures, follow a four-phase workflow: Root Cause Investigation, Pattern Analysis, Hypothesis Testing, and Implementation. Mandatory checks enforce investigation before any code changes, preventing shortcuts under time pressure.

What's the best way to debug build errors without causing new bugs?

The best way to debug build errors without creating new bugs is to enforce systematic investigation through pattern analysis and hypothesis testing before implementation. This prevents wasted time and avoids introducing regressions from symptom patching.

Can I use systematic debugging alongside test-driven development?

Yes, systematic debugging integrates with test-driven development through built-in hooks. The workflow complements TDD by ensuring root cause analysis and hypothesis testing precede implementation, working alongside verification practices for reliable fixes.

How does systematic debugging prevent shortcuts during time-sensitive production incidents?

Systematic debugging prevents shortcuts during production incidents through pressure-resistant rules and mandatory checks. The workflow enforces a four-phase process—investigation, pattern analysis, hypothesis testing, and implementation—with anti-pattern warnings that stop symptom-only fixes.

Why does fixing symptoms without root cause analysis create more bugs?

Fixing symptoms without root cause analysis creates more bugs because underlying issues remain unresolved, leading to regressions and wasted time. Systematic debugging enforces hypothesis testing and pattern analysis before implementation to ensure fixes address actual causes.