systematic-debugging

Enforce a four-phase root-cause debugging process before proposing fixes.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/tyk-lab/my-ai-skill --skill systematic-debugging-tyk-lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/tyk-lab/my-ai-skill/tree/main/skills/systematic-debugging
Command: npx skills add https://github.com/tyk-lab/my-ai-skill --skill systematic-debugging-tyk-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you identify root causes and resist time-pressure shortcuts by enforcing a four-phase debugging process before proposing fixes.

Core Features & Use Cases

  • Phase-based guidance for Root Cause Investigation, Pattern Analysis, Hypothesis and Testing, and Implementation.
  • Built-in defense-in-depth mindset to add multiple validation layers and prevent regression.
  • Real-world workflows for debugging bugs, test failures, production incidents, and flaky behavior.

Quick Start

Follow the four phases to identify the root cause before proposing any fixes.

Frequently Asked Questions about systematic-debugging

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

FAQPage Schema
What is root-cause debugging and why is it necessary before fixing bugs?

Root-cause debugging is the structured process of identifying the fundamental cause of a failure before applying a fix. It is necessary to resist time-pressure shortcuts and ensure the issue is truly resolved rather than merely masking the symptoms.

How do I debug production incidents systematically without taking shortcuts?

To debug production incidents systematically, follow a four-phase process: Root Cause Investigation, Pattern Analysis, Hypothesis and Testing, and Implementation. This enforces explicit stop rules to complete each phase before proposing any fixes.

What's the best way to investigate flaky behavior and test failures?

The best way to investigate flaky behavior and test failures is using phase-based guidance that requires completing Root Cause Investigation and Pattern Analysis first, ensuring you validate hypotheses before moving to the Implementation phase.

Does this debugging process work for complex bug investigations across different systems?

Yes, this debugging process applies to complex bug investigations across different systems. It provides phase-by-phase guidance and enforces a defense-in-depth mindset to add multiple validation layers and prevent regression regardless of the specific environment.

How do I prevent regression when applying a bug fix?

To prevent regression when applying a bug fix, use a defense-in-depth mindset that adds multiple validation layers. The structured debugging process ensures hypotheses are tested and explicit stop rules are satisfied during the Implementation phase.