No. 015 Write it down

Find {scope} without {format} comments and add them…

Find {scope} without {format} comments and.

  • Claude Code
  • Codex
  • Cursor
  • Write it down

Prompt

find {scope} without {format} comments and add them, matching the style already used in the file

When to use

“Find {scope} without {format} comments and add them…” fits when someone who was not in the session has to understand the result, because it says “find {scope} without {format} comments and add them, matching the style already used in the file”, after you replace {scope}, {format} with names from the repo.

One filled message for “Find {scope} without {format} comments and add them…” is: find src/cart.js without a short markdown note comments and add them, matching the style already used in the file

When not to use

Leave “Find {scope} without {format} comments and add them…” unused when the file's behavior is wrong and a paragraph would hide that, because “find {scope} without {format} comments and add them, matching the style already used in the file” points the other way

How to run it

Claude Code

Claude Code takes “Find {scope} without {format} comments and add them…” as one paste at the repo root. Do not also save .claude/commands, or “find {scope} without {format} comments and add them, matching the style already used in the file” replays on the next task.

Codex

Codex takes “Find {scope} without {format} comments and add them…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “find {scope} without {format} comments and add them, matching the style already used in the file”.

Cursor

Cursor should see “Find {scope} without {format} comments and add them…” only as a chat paste of “find {scope} without {format} comments and add them, matching the style already used in the file” 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