Cursor prompt
Debug Systematically
Systematic debugging prompt that prevents shotgun debugging and finds root causes methodically.
I have a bug. Help me debug it systematically. BUG DESCRIPTION: {{bug_description}} EXPECTED BEHAVIOR: {{expected}} ACTUAL BEHAVIOR: {{actual}} APPROACH (follow this order): 1. REPRODUCE — State the exact minimal steps to reproduce 2. ISOLATE — Narrow down which layer/file/function is responsible 3. HYPOTHESIZE — List the top 3 most likely root causes 4. VERIFY — For each hypothesis, state what evidence would confirm or refute it 5. FIX — Apply the fix for the confirmed root cause 6. VALIDATE — Confirm the fix doesn't break anything else RULES: - Do NOT suggest random fixes without a hypothesis - Do NOT modify code that isn't related to the bug - Show your reasoning at each step
Fill in: {{bug_description}}, {{expected}}, {{actual}}. In Loopy you fill these in a form and copy the finished prompt in one click.

