staff-systematic-debugging

Investigate bugs and test failures through root-cause analysis before proposing fixes.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/HexSleeves/skills --skill staff-systematic-debugging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: staff-systematic-debugging
Source: https://github.com/HexSleeves/skills/tree/main/skills/staff-systematic-debugging
Command: npx skills add https://github.com/HexSleeves/skills --skill staff-systematic-debugging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you debug technical issues by finding the real cause before making any fix, reducing thrashing, regressions, and guesswork.

Core Features & Use Cases

  • Root-cause investigation: Read errors carefully, reproduce the issue, check recent changes, and trace data flow to the source.
  • Pattern analysis and hypothesis testing: Compare against working examples, identify differences, and test one clear hypothesis at a time.
  • Safe implementation discipline: Create a failing test first, apply a single fix, and verify the result before moving on.
  • Use cases: Test failures, production bugs, build issues, flaky behavior, integration problems, and any situation where a “quick fix” feels tempting.

Quick Start

Use the staff-systematic-debugging skill to investigate this issue step by step, find the root cause, and only then apply one minimal verified fix.

Frequently Asked Questions about staff-systematic-debugging

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

FAQPage Schema
What is root-cause debugging and when should I use it for test failures?

Root-cause debugging investigates the actual source of test failures by reproducing the issue and tracing data flow before proposing any fix. Use it for production bugs, build issues, and flaky behavior to prevent regressions and guesswork.

How do I troubleshoot flaky tests without introducing regressions?

Troubleshoot flaky tests by enforcing single-hypothesis testing and one-change-at-a-time remediation. Create a failing test first, apply a minimal fix, and verify the result before moving on to avoid thrashing and new regressions.

What's the best way to investigate production incidents and build failures?

The best way to investigate production incidents and build failures is phased evidence gathering: read errors carefully, reproduce the issue, check recent changes, and compare against working examples to identify the root cause before fixing.

Does systematic debugging work for integration problems and unexpected behavior?

Systematic debugging works for integration problems and unexpected behavior by enforcing pattern analysis and root-cause investigation. It compares differences against working examples and tests one clear hypothesis at a time to isolate the fault.

Why should I create a failing test before applying a bug fix?

You should create a failing test before applying a bug fix to establish verified remediation. This safe implementation discipline ensures the fix resolves the exact root cause and prevents regressions by verifying one change at a time.

When should I avoid quick fixes for unexpected software behavior?

You should avoid quick fixes whenever unexpected behavior or test failures feel tempting to patch blindly. Instead, trace data flow to the source and test a single hypothesis to eliminate guesswork and repeated thrashing.