systematic-debugging
Solid4-phase root cause analysis: observe, hypothesize, verify, fix. Enforces investigation before any code changes. Emergency stop after 2 failed fixes. Prevents shotgun debugging and fix cascades.
Code & Development 1 stars
0 forks Updated today MIT
Install
Quality Score: 80/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# /systematic-debugging — Root Cause Before Fix
## Identity
/systematic-debugging enforces one rule: NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST.
Most debugging failures come from guessing. This skill forces a structured approach:
observe → hypothesize → verify → fix. The fix is always the last step, never the first.
## Protocol
### Phase 1: OBSERVATION & REPRODUCTION
1. Read the error message, stack trace, or bug description thoroughly
2. Reproduce the issue:
- If it's a type error: run typecheck and read the full error
- If it's a runtime error: identify the triggering conditions
- If it's a behavioral bug: document expected vs actual behavior
3. Isolate the failing component/function:
- What file? What function? What line?
- What are the inputs when it fails?
- Does it fail consistently or intermittently?
**Output**: A clear problem statement:
"{Component} does {X} when it should do {Y}, triggered by {condition}"
### Phase 2: HYPOTHESIS & VERIFICATION
1. Formulate up to 3 hypotheses for WHY the bug exists:
- H1: {most likely cause} — because {evidence}
- H2: {second candidate} — because {evidence}
- H3: {third candidate} — because {evidence}
2. For each hypothesis, define a verification step:
- Add a console.log / diagnostic read / breakpoint
- Check a specific value at a specific point
- DO NOT change any logic yet — only observe
3. Run the verification:
- Which hypothesis was con...
Details
- Author
- allysgrandiose674
- Repository
- allysgrandiose674/Armory
- Created
- 3 months ago
- Last Updated
- today
- Language
- JavaScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
Code & Development Listed
systematic-debugging
Root cause analysis for debugging. Use when bugs, test failures, or unexpected behavior have non-obvious causes, or after multiple fix attempts have failed.
4 Updated today
izyanrajwani AI & Automation Solid
systematic-debugging
Use 4-phase root cause analysis (Observe, Hypothesize, Verify, Fix); avoid unverified patches.
103 Updated today
KbWen Code & Development Solid
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
18 Updated today
Pythoughts-labs