debug-investigate
CommunityFind root causes before attempting fixes.
System Documentation
What problem does it solve?
debug-investigate helps prevent premature changes by guiding you to reproduce, narrow scope, test hypotheses, and identify the true root cause of a bug or inconsistency.
Core Features & Use Cases
- Reproduction-first debugging: verifies whether the symptom is consistently reproducible or intermittent before making any assumptions.
- Hypothesis-driven narrowing: generates 3–5 targeted hypotheses and runs exactly one focused test per hypothesis to quickly confirm or eliminate causes.
- Guardrails for safe fixes: enforces “no fixes without investigation,” stops after 3 failed hypothesis tests, and then recommends or applies only the smallest patch once the cause is confirmed.
Use case: A production issue appears sporadically after a release; use this skill to reproduce the behavior, isolate the affected component or state, test race vs. logic vs. environment hypotheses, and only then implement a minimal corrective patch with verification.
Quick Start
Use the debug-investigate skill to investigate the reported production bug by reproducing it, generating hypotheses, testing them one at a time, stopping after three ruled-out hypotheses, and then applying the smallest fix only after the root cause is confirmed.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: debug-investigate Download link: https://github.com/PiercingXX/xx-stack/archive/main.zip#debug-investigate Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.