No. 067 Lower the entropy
Suggest how to refactor utils.js to use modern JavaScript…
Suggest how to refactor utils.js to use mo.
- Claude Code
- Codex
- Cursor
- Lower the entropy
suggest how to refactor utils.js to use modern JavaScript features
When to use
“Suggest how to refactor utils.js to use modern JavaScript…” fits when the code works but the structure is harder than the behavior, because it says “suggest how to refactor utils.js to use modern JavaScript features”, and that published sentence is the whole assignment.
Send “Suggest how to refactor utils.js to use modern JavaScript…” as the turn itself: suggest how to refactor utils.js to use modern JavaScript features
When not to use
Leave “Suggest how to refactor utils.js to use modern JavaScript…” unused when the change is a one-line typo or a red build you have not read, because “suggest how to refactor utils.js to use modern JavaScript features” points the other way
How to run it
Claude Code
Claude Code takes “Suggest how to refactor utils.js to use modern JavaScript…” as one paste at the repo root. Do not also save .claude/commands, or “suggest how to refactor utils.js to use modern JavaScript features” replays on the next task.
Codex
Codex takes “Suggest how to refactor utils.js to use modern JavaScript…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “suggest how to refactor utils.js to use modern JavaScript features”.
Cursor
Cursor should see “Suggest how to refactor utils.js to use modern JavaScript…” only as a chat paste of “suggest how to refactor utils.js to use modern JavaScript features” 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
- Stage: Lower the entropy
- Same stage: Refactor utils.js to use ES2024 features while maintaining…
来源:Anthropic · https://code.claude.com/docs/en/common-workflows · 2026-12-01