Debug an Error From the Message and the Code Around It
Finds the most likely cause of an error from the message and the relevant code, ranks other possible causes, and gives the smallest fix plus a way to prove it worked.
37 prompts
Prompts for Claude Code, Anthropic's coding agent that runs in your terminal and works across a repository. They describe the task, the files and checks involved, and what done looks like, so the agent can plan, edit and verify.
1 result
Finds the most likely cause of an error from the message and the relevant code, ranks other possible causes, and gives the smallest fix plus a way to prove it worked.
Start claude in the repository's root folder and paste the prompt as your first message. Fill in the blanks with real paths, commands and limits first; the agent can't guess them.
Only rules that apply to every task, such as build commands and code style, belong in CLAUDE.md. Keep one-off task prompts in the chat so they don't steer later work.
Most do. Codex, Cursor and Copilot's agent mode follow the same kind of task brief; swap any mention of CLAUDE.md for that tool's instruction file, such as AGENTS.md.