Explain this error like I'm new to the stack
Model notes: Fine on small local models (7B+)
Fill in the variables (optional — they're inserted live below):
Explain this error message in plain English:
```
{{error_message}}
```
Context: I'm using {{language_or_framework}}.
Tell me: what it literally means, the 3 most common causes, how to check which one applies to me, and the usual fix for each. Keep it under 250 words.
How to use it
- Fill the variables above, or replace each
{{variable}}after pasting. - Paste into your AI tool (ChatGPT, Claude, Gemini, Cursor, Claude Code, or a local model in Ollama/LM Studio).
- Review the output. Models make mistakes, especially with facts, numbers and code.
Get all 209 prompts + agent workflows
Every prompt as Markdown and JSON, 10 multi-step agent workflows, and 12 ready-made slash commands for Cursor and Claude Code. Instant zip download, one-time purchase.
More Debugging prompts
Debugging
Stack trace triage
Paste the full trace, not a screenshot
Variables: languagestack_trace
Here is a stack trace from {{language}}:
```
{{stack_trace}}
```
1. Identify the frame where the error originates in MY code (not library code) and explain why that's the likely culprit.
2. Explain the chain of calls that led there.
3. List what information is missing to be sure (variable values, inputs).
4. Suggest the exact log statements to add, with file and line, to capture that information. Here is a stack trace from {{language}}:
```
{{stack_trace}}
```
1. Identify the frame where the error originates in MY code (not library code) and explain why that's the likely culprit.
2. Explain the chain of calls that led there.
3. List what information is missing to be sure (variable values, inputs).
4. Suggest the exact log statements to add, with file and line, to capture that information.
Open & fill variables: Stack trace triage → Debugging
Works locally, fails in production
Any model
Variables: environmentsymptomlocal_setupprod_setuplogs
My app works locally but fails in {{environment}}.
Symptom: {{symptom}}
Local setup: {{local_setup}}
Production setup: {{prod_setup}}
Logs from production: {{logs}}
Walk through the usual local-vs-prod differences one by one (env vars, build mode, file paths and case sensitivity, network/CORS, timeouts, memory, dependency versions, time zones, permissions, caching/CDN) and for each say whether it fits my symptom and how to check it. Finish with the top 3 suspects. My app works locally but fails in {{environment}}.
Symptom: {{symptom}}
Local setup: {{local_setup}}
Production setup: {{prod_setup}}
Logs from production: {{logs}}
Walk through the usual local-vs-prod differences one by one (env vars, build mode, file paths and case sensitivity, network/CORS, timeouts, memory, dependency versions, time zones, permissions, caching/CDN) and for each say whether it fits my symptom and how to check it. Finish with the top 3 suspects.
Open & fill variables: Works locally, fails in production → Debugging
Flaky test investigator
Any model
Variables: test_codefailure_output
This test passes sometimes and fails sometimes:
```
{{test_code}}
```
Failure output: {{failure_output}}
List the likely sources of flakiness in this specific test (timing/async, shared state, test order, randomness, dates/time zones, network, unseeded data). For each, point to the exact line that makes it vulnerable and show a deterministic rewrite. This test passes sometimes and fails sometimes:
```
{{test_code}}
```
Failure output: {{failure_output}}
List the likely sources of flakiness in this specific test (timing/async, shared state, test order, randomness, dates/time zones, network, unseeded data). For each, point to the exact line that makes it vulnerable and show a deterministic rewrite.
Open & fill variables: Flaky test investigator → Debugging
Performance bottleneck hunt
Give real measurements if you have them
Variables: what_is_slowcurrent_timetarget_timecodestack
This is slow: {{what_is_slow}} (currently ~{{current_time}}, target {{target_time}}).
Code / query:
```
{{code}}
```
1. Point out the likely hotspots and estimate their cost (big-O or I/O round trips).
2. Tell me how to measure before changing anything (profiler, EXPLAIN, timing logs) for {{stack}}.
3. Suggest fixes in order of effort vs impact. Don't sacrifice readability for micro-optimisations. This is slow: {{what_is_slow}} (currently ~{{current_time}}, target {{target_time}}).
Code / query:
```
{{code}}
```
1. Point out the likely hotspots and estimate their cost (big-O or I/O round trips).
2. Tell me how to measure before changing anything (profiler, EXPLAIN, timing logs) for {{stack}}.
3. Suggest fixes in order of effort vs impact. Don't sacrifice readability for micro-optimisations.
Open & fill variables: Performance bottleneck hunt → New prompts every week
One short email a week: new tested prompts and agent workflows. Free. Unsubscribe any time.