No. 047 Write it down

Read {file}, summarize the key patterns, and write the…

Read {file}, summarize the key patterns, a.

  • Claude Code
  • Codex
  • Cursor
  • Write it down

Prompt

read {file}, summarize the key patterns, and write the results to {output}

When to use

“Read {file}, summarize the key patterns, and write the…” fits when someone who was not in the session has to understand the result, because it says “read {file}, summarize the key patterns, and write the results to {output}”, after you replace {file}, {output} with names from the repo.

One filled message for “Read {file}, summarize the key patterns, and write the…” is: read src/cart.js, summarize the key patterns, and write the results to docs/cart-totals.md

When not to use

Leave “Read {file}, summarize the key patterns, and write the…” unused when the file's behavior is wrong and a paragraph would hide that, because “read {file}, summarize the key patterns, and write the results to {output}” points the other way

How to run it

Claude Code

Claude Code takes “Read {file}, summarize the key patterns, and write the…” as one paste at the repo root. Do not also save .claude/commands, or “read {file}, summarize the key patterns, and write the results to {output}” replays on the next task.

Codex

Codex takes “Read {file}, summarize the key patterns, and write the…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “read {file}, summarize the key patterns, and write the results to {output}”.

Cursor

Cursor should see “Read {file}, summarize the key patterns, and write the…” only as a chat paste of “read {file}, summarize the key patterns, and write the results to {output}” 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