No. 070 Pin the behavior

Add test cases for edge conditions in the notification…

Add test cases for edge conditions in the.

  • Claude Code
  • Codex
  • Cursor
  • Pin the behavior

Prompt

add test cases for edge conditions in the notification service

When to use

“Add test cases for edge conditions in the notification…” fits when the behavior should be pinned by a test, not only by a reading of the diff, because it says “add test cases for edge conditions in the notification service”, and that published sentence is the whole assignment.

Send “Add test cases for edge conditions in the notification…” as the turn itself: add test cases for edge conditions in the notification service

When not to use

Leave “Add test cases for edge conditions in the notification…” unused when you already have the failing test in front of you and you wanted it explained, because “add test cases for edge conditions in the notification service” points the other way

How to run it

Claude Code

Claude Code takes “Add test cases for edge conditions in the notification…” as one paste at the repo root. Do not also save .claude/commands, or “add test cases for edge conditions in the notification service” replays on the next task.

Codex

Codex takes “Add test cases for edge conditions in the notification…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “add test cases for edge conditions in the notification service”.

Cursor

Cursor should see “Add test cases for edge conditions in the notification…” only as a chat paste of “add test cases for edge conditions in the notification service” 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