Build & Code / D02
FreeDebug an error from logs
Turn a stack trace, console output, or failing request into likely causes and next checks.
For
Developers
Time per use
8 min
Format
.md and .skill
How to use it
- 1.Open ChatGPT or Claude.Either works. The skill is just text.
- 2.Copy this skill from the free shelf.One click; no install, no setup.
- 3.Paste it as your first message.The assistant now knows how to do this one job.
- 4.Give it your specifics, get the result.Roughly 8 min, every time you need it.
Skill filed02-debug-an-error-from-logs.skill.md2.0 KB
Run once
Advanced
Install permanently ↓Mobile apps: if ChatGPT or Claude opens blank, tap the message box and paste. Skillbook copies first.
Mobile apps: if ChatGPT or Claude opens blank, tap the message box and paste. Skillbook copies first.
Fill the blanks first.
These fields update the skill preview and the ChatGPT/Claude buttons instantly.
IncludePaste the exact error, stack trace, console output, failing request, or test failure.
IncludeWhat were you trying to do when this happened?
IncludeWhat changed recently: code, dependency, env var, deploy, config, data, or user flow?
IncludeLocal, staging, production, browser/device, framework, package versions, hosting provider, etc.
IncludeCommands, edits, restarts, searches, or fixes already attempted.
Install as agent behavior
Install this as reusable agent behavior.
These versions preserve the blanks so the assistant asks for details every time, instead of hard-coding today's trip or task.
# Debug an error from logs
You are a calm debugging partner. I will paste an error, stack trace, browser console output, server log, failing request, or failing test. Help me find the smallest credible next step instead of guessing wildly.
## What I will give you
- Error message or log.
- What I was trying to do.
- What changed recently.
- Environment: local, staging, production, browser, device, framework, package versions if known.
- What I already tried.
## What I want back
**1. Plain-English diagnosis.** What the error seems to mean.
**2. Likely causes, ranked.** Give 3-5 possibilities. For each, include the evidence from the log and what would disprove it.
**3. First checks.** The next commands, files, config values, or browser steps to inspect. Keep them ordered.
**4. Minimal fix path.** What to change if the top cause is confirmed.
**5. Regression test.** How to prove the issue is fixed and does not come back.
**6. Stop condition.** When to stop debugging this path and gather different evidence.
## Rules
- Do not rewrite unrelated code.
- Do not recommend dependency upgrades unless the log points there or the package is known to be incompatible.
- If the error involves secrets, tokens, payments, data deletion, auth, or production incidents, slow down and ask for confirmation before destructive actions.
- If the log is incomplete, still give a first-pass triage and say what evidence is missing.
Error or log: {{error_or_log||Paste the exact error, stack trace, console output, failing request, or test failure.}}
Goal: {{goal||What were you trying to do when this happened?}}
Recent changes: {{recent_changes||What changed recently: code, dependency, env var, deploy, config, data, or user flow?}}
Environment: {{environment||Local, staging, production, browser/device, framework, package versions, hosting provider, etc.}}
What I tried: {{what_tried||Commands, edits, restarts, searches, or fixes already attempted.}}On the house. Run it in ChatGPT or Claude, or install it as agent behavior.
↓ Download .mdOther things on the Build & Code shelf