No. 068 Lower the entropy

Refactor utils.js to use ES2024 features while maintaining…

Refactor utils.js to use ES2024 features w.

  • Claude Code
  • Codex
  • Cursor
  • Lower the entropy

Prompt

refactor utils.js to use ES2024 features while maintaining the same behavior

When to use

“Refactor utils.js to use ES2024 features while maintaining…” fits when the code works but the structure is harder than the behavior, because it says “refactor utils.js to use ES2024 features while maintaining the same behavior”, and that published sentence is the whole assignment.

Send “Refactor utils.js to use ES2024 features while maintaining…” as the turn itself: refactor utils.js to use ES2024 features while maintaining the same behavior

When not to use

Leave “Refactor utils.js to use ES2024 features while maintaining…” unused when the change is a one-line typo or a red build you have not read, because “refactor utils.js to use ES2024 features while maintaining the same behavior” points the other way

How to run it

Claude Code

Claude Code takes “Refactor utils.js to use ES2024 features while maintaining…” as one paste at the repo root. Do not also save .claude/commands, or “refactor utils.js to use ES2024 features while maintaining the same behavior” replays on the next task.

Codex

Codex takes “Refactor utils.js to use ES2024 features while maintaining…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “refactor utils.js to use ES2024 features while maintaining the same behavior”.

Cursor

Cursor should see “Refactor utils.js to use ES2024 features while maintaining…” only as a chat paste of “refactor utils.js to use ES2024 features while maintaining the same behavior” 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/common-workflows · 2026-12-01