Workflow

Diagnose before fixing (break the AI fix loop)

Forces evidence before edits. Use it the second time the same error shows up.

The promptPaste into Cursor, Claude Code, Codex, Lovable, Bolt, Replit or v0
Do NOT change any files yet.

Error (exact text):
[PASTE ERROR]

What I did right before it happened: [ACTION]
What I expected: [EXPECTED]

1. Read the files involved in the stack trace.
2. List the 3 most likely root causes, ranked, with your confidence for each.
3. For each, give one quick check (a log line, a command, or a URL to open) that confirms or rules it out.
4. Wait for me to report the results. Then propose the smallest fix for the confirmed cause.

Tips

  • Pair with the matching page in the Fix library for a head start.
  • If you're 3+ attempts deep, revert to your last working commit first.

Works with: Cursor, Claude Code, Codex, Replit, Lovable, Bolt, v0. Last reviewed 2026-11-13.

← All prompts · Something broke? Fix library