No. 035 Split the work
You keep {mistake}. add a rule to CLAUDE.md so this stops…
Use when the change is real but too big for one patch
- Claude Code
- Codex
- Cursor
- Split the work
you keep {mistake}. add a rule to CLAUDE.md so this stops happening
When to use
“You keep {mistake}. add a rule to CLAUDE.md so this stops…” fits when the change is real but too big for one patch, because it says “you keep {mistake}. add a rule to CLAUDE.md so this stops happening”, after you replace {mistake} with names from the repo.
One filled message for “You keep {mistake}. add a rule to CLAUDE.md so this stops…” is: you keep editing files outside src/cart.js.
When not to use
Leave “You keep {mistake}. add a rule to CLAUDE.md so this stops…” unused when the whole change fits in one file you have already named, because “you keep {mistake}. add a rule to CLAUDE.md so this stops happening” points the other way
How to run it
Claude Code
Claude Code takes “You keep {mistake}. add a rule to CLAUDE.md so this stops…” as one paste at the repo root. Do not also save .claude/commands, or “you keep {mistake}. add a rule to CLAUDE.md so this stops happening” replays on the next task.
Codex
Codex takes “You keep {mistake}. add a rule to CLAUDE.md so this stops…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “you keep {mistake}. add a rule to CLAUDE.md so this stops happening”.
Cursor
Cursor should see “You keep {mistake}. add a rule to CLAUDE.md so this stops…” only as a chat paste of “you keep {mistake}. add a rule to CLAUDE.md so this stops happening” 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: Split the work
- Same stage: Fix GitHub issue $ARGUMENTS following our coding standards.
来源:Anthropic · https://code.claude.com/docs/en/prompt-library · 2026-12-01