No. 014 Write the change

Look at how {example} is implemented to understand the…

Look at how {example} is implemented to un.

  • Claude Code
  • Codex
  • Cursor
  • Write the change

Prompt

look at how {example} is implemented to understand the pattern, then build {new} the same way

When to use

“Look at how {example} is implemented to understand the…” fits when the behavior is already chosen and a file should change, because it says “look at how {example} is implemented to understand the pattern, then build {new} the same way”, after you replace {example}, {new} with names from the repo.

One filled message for “Look at how {example} is implemented to understand the…” is: look at how src/orders/create.ts is implemented to understand the pattern, then build src/cart/create.ts the same way

When not to use

Leave “Look at how {example} is implemented to understand the…” unused when you only wanted the file explained, or two designs are still open, because “look at how {example} is implemented to understand the pattern, then build {new} the same way” points the other way

How to run it

Claude Code

Claude Code takes “Look at how {example} is implemented to understand the…” as one paste at the repo root. Do not also save .claude/commands, or “look at how {example} is implemented to understand the pattern, then build {new} the same way” replays on the next task.

Codex

Codex takes “Look at how {example} is implemented to understand the…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “look at how {example} is implemented to understand the pattern, then build {new} the same way”.

Cursor

Cursor should see “Look at how {example} is implemented to understand the…” only as a chat paste of “look at how {example} is implemented to understand the pattern, then build {new} the same way” 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