All skills
Skillintermediate
debug 2
Start an interactive debugging session to diagnose and fix a runtime issue.
Claude Code Knowledge Pack7/10/2026
Overview
Start an interactive debugging session to diagnose and fix a runtime issue.
Steps
- Gather the error information:
- Reproduce the issue:
- Narrow down the failure point:
- Examine the root cause:
- Implement the fix with minimal changes.
- Verify the fix resolves the issue.
- Add a test that reproduces the original bug.
- Remove any temporary logging added during debugging.
Format
Issue: <description>
Reproduction: <steps>
Root Cause: <what went wrong>
Fix Applied: <changes made>
Rules
- Always reproduce before attempting to fix.
- Remove all debug logging before committing.
- Fix the root cause, not just the symptom.