No. 045 Find the cause
Here is a screenshot of {console}. walk me through why…
Use when something fails and the cause is not known yet
- Claude Code
- Codex
- Cursor
- Find the cause
here is a screenshot of {console}. walk me through why {resource} is failing and give me the exact commands to fix it
When to use
“Here is a screenshot of {console}. walk me through why…” fits when something fails and the cause is not known yet, because it says “here is a screenshot of {console}.”, after you replace {console}, {resource} with names from the repo.
One filled message for “Here is a screenshot of {console}. walk me through why…” is: here is a screenshot of the browser console.
When not to use
Leave “Here is a screenshot of {console}. walk me through why…” unused when you already know the line and the remaining work is the edit, because “here is a screenshot of {console}.” points the other way
How to run it
Claude Code
Claude Code takes “Here is a screenshot of {console}. walk me through why…” as one paste at the repo root. Do not also save .claude/commands, or “here is a screenshot of {console}.” replays on the next task.
Codex
Codex takes “Here is a screenshot of {console}. walk me through why…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “here is a screenshot of {console}.”.
Cursor
Cursor should see “Here is a screenshot of {console}. walk me through why…” only as a chat paste of “here is a screenshot of {console}.” for this turn. A file at .cursor/rules would keep applying after the turn ends.
Comparison
对比待补
This before-and-after was not run on this machine.
Related
- Stage: Find the cause
- Same stage: Show me all {events} for {scope} over {timeframe}. write…
来源:Anthropic · https://code.claude.com/docs/en/prompt-library · 2026-12-01