No. 044 Find the cause

{symptom}. check the logs, recent deploys, and config…

{symptom}. check the logs, recent deploys,.

  • Claude Code
  • Codex
  • Cursor
  • Find the cause

Prompt

{symptom}. check the logs, recent deploys, and config changes, then tell me the most likely cause

When to use

“{symptom}. check the logs, recent deploys, and config…” fits when something fails and the cause is not known yet, because it says “{symptom}. check the logs, recent deploys, and config changes, then tell me the most likely cause”, after you replace {symptom} with names from the repo.

One filled message for “{symptom}. check the logs, recent deploys, and config…” is: the total shows NaN. check the logs, recent deploys, and config changes, then tell me the most likely cause

When not to use

Leave “{symptom}. check the logs, recent deploys, and config…” unused when you already know the line and the remaining work is the edit, because “{symptom}. check the logs, recent deploys, and config changes, then tell me the most likely cause” points the other way

How to run it

Claude Code

Claude Code takes “{symptom}. check the logs, recent deploys, and config…” as one paste at the repo root. Do not also save .claude/commands, or “{symptom}. check the logs, recent deploys, and config changes, then tell me the most likely cause” replays on the next task.

Codex

Codex takes “{symptom}. check the logs, recent deploys, and config…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “{symptom}. check the logs, recent deploys, and config changes, then tell me the most likely cause”.

Cursor

Cursor should see “{symptom}. check the logs, recent deploys, and config…” only as a chat paste of “{symptom}. check the logs, recent deploys, and config changes, then tell me the most likely cause” 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