No. 065 Write the change
Update user.ts to add the null check you suggested
Update user.ts to add the null check you s.
- Claude Code
- Codex
- Cursor
- Write the change
update user.ts to add the null check you suggested
When to use
“Update user.ts to add the null check you suggested” fits when the behavior is already chosen and a file should change, because it says “update user.ts to add the null check you suggested”, and that published sentence is the whole assignment.
Send “Update user.ts to add the null check you suggested” as the turn itself: update user.ts to add the null check you suggested
When not to use
Leave “Update user.ts to add the null check you suggested” unused when you only wanted the file explained, or two designs are still open, because “update user.ts to add the null check you suggested” points the other way
How to run it
Claude Code
Claude Code takes “Update user.ts to add the null check you suggested” as one paste at the repo root. Do not also save .claude/commands, or “update user.ts to add the null check you suggested” replays on the next task.
Codex
Codex takes “Update user.ts to add the null check you suggested” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “update user.ts to add the null check you suggested”.
Cursor
Cursor should see “Update user.ts to add the null check you suggested” only as a chat paste of “update user.ts to add the null check you suggested” 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: Write the change
- Same stage: API design patterns for this codebase
来源:Anthropic · https://code.claude.com/docs/en/common-workflows · 2026-12-01