No. 042 Find the cause

Users are seeing {symptom} on {where}. investigate and tell…

Use when something fails and the cause is not known yet

  • Claude Code
  • Codex
  • Cursor
  • Find the cause

Prompt

users are seeing {symptom} on {where}. investigate and tell me what is going on

When to use

“Users are seeing {symptom} on {where}. investigate and tell…” fits when something fails and the cause is not known yet, because it says “users are seeing {symptom} on {where}.”, after you replace {symptom}, {where} with names from the repo.

One filled message for “Users are seeing {symptom} on {where}. investigate and tell…” is: users are seeing the total shows NaN on the cart page.

When not to use

Leave “Users are seeing {symptom} on {where}. investigate and tell…” unused when you already know the line and the remaining work is the edit, because “users are seeing {symptom} on {where}.” points the other way

How to run it

Claude Code

Claude Code takes “Users are seeing {symptom} on {where}. investigate and tell…” as one paste at the repo root. Do not also save .claude/commands, or “users are seeing {symptom} on {where}.” replays on the next task.

Codex

Codex takes “Users are seeing {symptom} on {where}. investigate and tell…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “users are seeing {symptom} on {where}.”.

Cursor

Cursor should see “Users are seeing {symptom} on {where}. investigate and tell…” only as a chat paste of “users are seeing {symptom} on {where}.” 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

来源:Anthropic · https://code.claude.com/docs/en/prompt-library · 2026-12-01