Skip to content
All templates

One-shot · One-shot Prompt

Debug This Error

Structured prompt for debugging an error in Claude Code

debugerrorone-shot
Template content
I'm getting this error:

```
[paste error here]
```

The error happens when [describe the action/trigger].

Relevant context:
- File: [file path]
- What I was trying to do: [description]
- What I've already tried: [list attempts]

Please investigate the root cause and fix it.

Use this template in the editor

Open PromptEditor.io to customize this template, save it, and inject it into any AI chat.

Open the editor