From noxfen-essentials
Systematic debugging methodology. Use when the user reports a bug, unexpected behavior, test failure, compilation error, or runtime error. Activates on "debug this", "why is X happening", "this is broken", "fix this error", error messages pasted into chat, or stack traces. Avoids random-change debugging in favor of hypothesis-driven investigation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/noxfen-essentials:debugThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Systematic diagnosis before fixes. Never change code to "try something" without a hypothesis.
Systematic diagnosis before fixes. Never change code to "try something" without a hypothesis.
First: can you reproduce the problem reliably?
Don't touch code until you can reproduce or have the user's repro steps.
Narrow to the smallest failing unit:
Common traps:
Form 1–3 hypotheses ranked by likelihood. For each:
Don't write any fix yet.
Test the top hypothesis first. Methods:
Eliminate hypotheses systematically. Update ranking as evidence comes in.
Once root cause is confirmed:
After fixing:
Off-by-one: check loop bounds, slice indices, fence-post conditions
Race condition: look for shared mutable state accessed across goroutines/threads/async
Null/nil dereference: trace where the value is set; find the code path that skips initialization
Wrong type/unit: check what the function actually returns vs what callers assume
Stale cache/state: check if the bug disappears on restart or with cleared state
Wrong assumption about external API: read the actual API docs/source, don't trust memory
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub noxfen/claude_skill_everywhere --plugin noxfen-essentials