Describe your bug and get back three hypotheses ranked by probability, each with concrete steps to confirm or rule it out.
Describe your bug and get back three hypotheses ranked by probability, each with concrete steps to confirm or rule it out. Use it when you're stuck and need a structured starting point instead of guessing.
I have a bug I cannot resolve. Here is everything I know: Language/framework: [X]. What the code is supposed to do: [describe expected behaviour]. What is actually happening: [describe actual behaviour, including error messages verbatim]. What I have already tried: [list debugging steps taken]. Relevant code: [paste the minimal reproducible section]. Walk me through a systematic debugging approach: hypothesise the 3 most likely root causes ranked by probability, explain how to test each hypothesis, and tell me what to look for in the output that would confirm or eliminate each one.
Source: https://chatsmith.io/blogs/prompt/claude-prompts-for-software-engineering-00220