-
Notifications
You must be signed in to change notification settings - Fork 16
Debugging a Bug
rtd edited this page Jan 12, 2026
·
1 revision
User: "Fix this bug..." / "This is broken..." / "Why doesn't this work..."
→ code-foundations classifies as DEBUG
→ cc-developer-character checks mindset (understand before fixing)
→ cc-quality-practices applies Scientific Debugging Method
- Form a hypothesis - "I think X is happening because Y"
- Verify the hypothesis - Search, read, grep to confirm
- Fix with confidence - You know WHY it works, not just THAT it works
| Without Skill | With Skill |
|---|---|
| Trial-and-error debugging | Hypothesis-driven debugging |
| "Let me try this..." | "I think X because Y, let me verify" |
| Hours of random changes | Minutes of targeted investigation |
| Fix that might break something else | Fix you understand completely |
User: The picker window opens but the input doesn't have focus. Can you fix it?
Claude will:
- Classify as DEBUG
- Read the relevant code first
- Form hypothesis: "The focus code is finding the wrong element"
- Verify: grep for inheritance, confirm hypothesis
- Fix: Add dedicated focus method
- Picker Focus Bug - Scientific Debugging Method in 57 seconds
- Picker Text Overflow - Root cause analysis with comparison table
| Skill | Role |
|---|---|
| code-foundations | Classifies task as DEBUG |
| cc-developer-character | "Understand before fixing" mindset |
| cc-quality-practices | Scientific Debugging Method |
Task Guides
Case Studies
- Picker History Review ⭐
- Comment Renumbering
- Critical Path Review
- Border Cleanup
- Picker Text Overflow
- Tab Indicator Removal
- Picker Focus Bug
- Window Picker Plan
Reference