No. 024 Lower the entropy

Migrate everything from {from} to {to}: identify every…

Migrate everything from {from} to {to}: id.

  • Claude Code
  • Codex
  • Cursor
  • Lower the entropy

Prompt

migrate everything from {from} to {to}: identify every place that needs to change, then make the changes

When to use

“Migrate everything from {from} to {to}: identify every…” fits when the code works but the structure is harder than the behavior, because it says “migrate everything from {from} to {to}: identify every place that needs to change, then make the changes”, after you replace {from}, {to} with names from the repo.

One filled message for “Migrate everything from {from} to {to}: identify every…” is: migrate everything from the callback-style total to an async total: identify every place that needs to change, then make the changes

When not to use

Leave “Migrate everything from {from} to {to}: identify every…” unused when the change is a one-line typo or a red build you have not read, because “migrate everything from {from} to {to}: identify every place that needs to change, then make the changes” points the other way

How to run it

Claude Code

Claude Code takes “Migrate everything from {from} to {to}: identify every…” as one paste at the repo root. Do not also save .claude/commands, or “migrate everything from {from} to {to}: identify every place that needs to change, then make the changes” replays on the next task.

Codex

Codex takes “Migrate everything from {from} to {to}: identify every…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “migrate everything from {from} to {to}: identify every place that needs to change, then make the changes”.

Cursor

Cursor should see “Migrate everything from {from} to {to}: identify every…” only as a chat paste of “migrate everything from {from} to {to}: identify every place that needs to change, then make the changes” 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