DebuggingGeneric
Systematic Bug Investigation
Walk through a bug systematically instead of guessing at fixes
Prompt
I'm seeing [describe the bug]. Here's what I expected vs what's happening:
Expected: [expected behavior]
Actual: [actual behavior]
Relevant code is in [file paths]. Don't suggest a fix yet. Instead:
1. List 3-5 possible root causes ranked by likelihood
2. For each, tell me what evidence would confirm or rule it out
3. Suggest the single most diagnostic thing I can check first