debug

Solid

Hypothesis-driven debugging. Use when a test fails, a crash or exception occurs, output is wrong, or an intermittent flake has no obvious cause.

AI & Automation 33 stars 0 forks Updated yesterday Apache-2.0

Install

View on GitHub

Quality Score: 83/100

Stars 20%
51
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

A bug is a falsified assumption. Find the assumption, falsify it deliberately, observe the divergence, narrow until one line owns the lie. ## When to Apply / NOT Apply: test fails and cause unclear; production stack trace; intermittent / flaky behavior; wrong output without crash; regression after known commit window; heisenbug. NOT apply: performance regression with correct outputs; security defect; symptom obvious from one-line read; architectural confusion. ## Anti-patterns - **Shotgun debugging**: editing several files hoping one fixes it. - **Print-and-rerun**: adding logs without a target observation. - **Premature fix**: patching symptom before isolating root cause. - **Ignoring the trace**: stack frames are evidence. - **Changing two variables at once**: defeats falsification. - **Deleting the failing test**: capturing the bug is the asset. - **Confirmation bias**: interpreting ambiguous evidence as supporting the current hypothesis. Before declaring confirmed, ask: "What would disprove this?" - **"It works now, move on"**: if the WHY cannot be explained -- the full causal chain -- the root cause is not confirmed. A coincidental fix is not a fix. - **Weak prediction**: a prediction that restates the hypothesis adds no information. A good prediction names something not yet observed in a different code path or scenario. Read `references/anti-patterns.md` before forming hypotheses. Stop and re-examine if the internal monologue contains "quick fix for now," "this sh...

Details

Author
OutlineDriven
Repository
OutlineDriven/odin-claude-plugin
Created
8 months ago
Last Updated
yesterday
Language
Python
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category