No. 069 Pin the behavior
Find functions in NotificationsService.swift that are not…
Find functions in NotificationsService.swi.
- Claude Code
- Codex
- Cursor
- Pin the behavior
find functions in NotificationsService.swift that are not covered by tests
When to use
“Find functions in NotificationsService.swift that are not…” fits when the behavior should be pinned by a test, not only by a reading of the diff, because it says “find functions in NotificationsService.swift that are not covered by tests”, and that published sentence is the whole assignment.
Send “Find functions in NotificationsService.swift that are not…” as the turn itself: find functions in NotificationsService.swift that are not covered by tests
When not to use
Leave “Find functions in NotificationsService.swift that are not…” unused when you already have the failing test in front of you and you wanted it explained, because “find functions in NotificationsService.swift that are not covered by tests” points the other way
How to run it
Claude Code
Claude Code takes “Find functions in NotificationsService.swift that are not…” as one paste at the repo root. Do not also save .claude/commands, or “find functions in NotificationsService.swift that are not covered by tests” replays on the next task.
Codex
Codex takes “Find functions in NotificationsService.swift that are not…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “find functions in NotificationsService.swift that are not covered by tests”.
Cursor
Cursor should see “Find functions in NotificationsService.swift that are not…” only as a chat paste of “find functions in NotificationsService.swift that are not covered by tests” 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: Pin the behavior
- Same stage: Add test cases for edge conditions in the notification…
来源:Anthropic · https://code.claude.com/docs/en/common-workflows · 2026-12-01