Coding
Rubber-duck a bug
Forces the model to reason about the system instead of pattern-matching a generic fix.
Help me debug. Don't guess at a fix yet. What happens: [the actual behavior, error message, stack trace] What I expected: [the correct behavior] What I've tried: [attempts so far] Relevant code: ``` [PASTE] ``` First: list the 3 most likely root causes ranked by probability, and for each, the ONE thing I should check to confirm or rule it out. Wait for my answer before proposing fixes.
Works with Claude · ChatGPT · Gemini — replace the [bracketed] parts with your own details, keep the structure.
Want a new tested prompt every week? The PromptAI briefing delivers the AI story that matters, the paper everyone's citing and a prompt worth stealing — subscribe free →