No. 002 Clarify a request

Explain what {path} does and how data flows through it.…

Use when the request is still open and an edit would be a guess

  • Claude Code
  • Codex
  • Cursor
  • Clarify a request

Prompt

explain what {path} does and how data flows through it. write it up as {format}

When to use

“Explain what {path} does and how data flows through it.…” fits when the request is still open and an edit would be a guess, because it says “explain what {path} does and how data flows through it.”, after you replace {path}, {format} with names from the repo.

One filled message for “Explain what {path} does and how data flows through it.…” is: explain what src/cart.js does and how data flows through it.

When not to use

Leave “Explain what {path} does and how data flows through it.…” unused when the design is already chosen and the next action is an edit, because “explain what {path} does and how data flows through it.” points the other way

How to run it

Claude Code

Claude Code takes “Explain what {path} does and how data flows through it.…” as one paste at the repo root. Do not also save .claude/commands, or “explain what {path} does and how data flows through it.” replays on the next task.

Codex

Codex takes “Explain what {path} does and how data flows through it.…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “explain what {path} does and how data flows through it.”.

Cursor

Cursor should see “Explain what {path} does and how data flows through it.…” only as a chat paste of “explain what {path} does and how data flows through it.” 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