
debugging
by CaptainCrouton89
Claude Code plugins marketplace by Silas Rhyneer
SKILL.md
name: debugging description: Systematic debugging methodologies for hard bugs. Covers rubber ducking, code tracing, hypothesis testing, logging strategies. Use when stuck on bugs that resist quick fixes. user-invocable: false
Debugging Hard Bugs
Rubber Ducking
Quote code snippets and explain what each chunk should do vs actually does. Don't assume—verbalize the logic. Discrepancies reveal bugs.
Code Flow Tracing
Trace data from entry point to failure. At each transformation: what goes in, what comes out? Mark where expectations diverge.
Failure-prone boundaries: async, serialization, type coercion, null propagation, state mutations.
Hypothesis Testing
- List 3-5 possible causes
- List 3-5 assumptions you're making
- Test to eliminate possibilities
- Repeat until one remains
Don't change code hoping it helps—that creates noise.
Logging
Log at decision points and async boundaries, not everywhere.
Workflow:
- Add targeted logs
- Have user perform action and report output
- Diagnose and fix
- After user confirms fix works: remove all added logging
Agent Investigation
For complex/unfamiliar code sections acting as a blackbox:
- Spawn an Explore agent to trace a specific code path and report back
- Run agents in background while continuing other investigation
When stuck: Spawn 2-3 senior-advisor agents in parallel with different perspectives (pragmatist, architect, skeptic).
Avoid biasing agents: Pass them relevant file paths and the observed behavior, but not your hypotheses or assumptions. Let them form independent conclusions.
Before Fixing
- Identified exact failing line(s)?
- Understand why it fails?
If no, keep investigating.
Related
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon