Universal Debugging Assistant
Structured problem description (expected vs. actual) gives every model the context it needs. Telling it not to jump to solutions produces better diagnostic reasoning on all platforms.
I'm debugging an issue in my {{language}} {{framework}} project. **What I expected:** {{expected_behavior}} **What's happening:** {{actual_behavior}} **What I've tried:** {{steps_already_tried}} Help me debug this systematically: 1. List the most likely causes in order of probability 2. For each cause, tell me exactly what to check or log 3. Once we identify the issue, explain the root cause and the fix Don't jump to a solution. Walk me through the diagnostic steps first.
Variables to customize
Why this prompt works
Structured problem description (expected vs. actual) gives every model the context it needs. Telling it not to jump to solutions produces better diagnostic reasoning on all platforms.
Save this prompt to your library
Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.
Related prompts
Forcing the agent to plan before acting prevents premature execution and wasted steps. Explicit dependency mapping enables parallel execution and catches logical gaps early.
Tool Selection AgentThe ReAct pattern (Reason + Act) creates an explicit reasoning trace that improves tool selection accuracy. The error-handling rule prevents infinite retry loops.
Prompt CompressorExplicitly requiring all functional requirements to be preserved prevents the model from over-compressing and losing critical instructions.
Memory Management AgentExplicit memory read/write instructions create agents that improve over time. Categorization keeps memories organized, and the deduplication rule prevents context bloat.