skills/debugging/SKILL.md
Systematic debugging that identifies root causes rather than treating symptoms. Uses sequential thinking for complex analysis, web search for research, and structured investigation to avoid circular reasoning and whack-a-mole fixes.
npx skillsauth add ratacat/claude-skills debuggingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use debugging when:
Skip this skill for:
Based on documented failures in AI debugging, explicitly avoid:
Use TodoWrite to track debugging progress through the UNDERSTAND checklist:
At start: Create todos for each applicable step:
☐ U - Capture exact repro and scope
☐ N - Isolate failing component
☐ D - Research error message
☐ E - Compare with working patterns
☐ R - Root cause analysis (5 Whys)
☐ S - Write falsifiable hypothesis
☐ T - Verify with minimal test
☐ A - Apply fix across all occurrences
☐ N - Record insights
☐ D - Update docs/tests
During debugging: Mark steps in_progress → completed as you work through them
When stuck: TodoWrite makes it visible which step is blocked - helps identify if you're skipping steps or going in circles
Skip steps only if: Bug is simple enough that checklist is overkill (see "Skip this skill for" above)
IF same fix proposed twice → Stop; use SequentialThinking:process_thought IF error is unclear → Research via WebSearch → Parallel Search; verify with docs IF area is unfamiliar → Explore with codebase_search; don't guess IF fix seems too easy → Confirm it addresses root cause (not symptom) IF context is cluttered → Restart at 50% with summary IF multiple hypotheses exist → Evaluate explicitly (evidence for/against) IF similar code works → Find and diff via codebase_search/read_file IF declaring success → Show changed lines; test fail-before/pass-after IF fix spans multiple files → Search and patch all occurrences IF library behavior assumed → Check Context7:get-library-docs
Before declaring a bug fixed, verify:
reference/root-cause-framework.mdreference/antipatterns.mdtools
Build and test iOS apps on simulator using XcodeBuildMCP
development
Produces concise, clear documentation by applying Elements of Style principles. Use when writing or improving any technical documentation (READMEs, guides, API docs, architecture docs). Not for code comments.
testing
Use when user asks to create, write, edit, or test a skill. Also use when documenting reusable techniques, patterns, or workflows for future Claude instances.
testing
Execute work plans efficiently while maintaining quality and finishing features