No. 011 Shape the design
List the error states, empty states, and edge cases for…
List the error states, empty states, and e.
- Claude Code
- Codex
- Cursor
- Shape the design
list the error states, empty states, and edge cases for {feature} that the design needs to cover
When to use
“List the error states, empty states, and edge cases for…” fits when you need the shape and the files named before anyone edits, because it says “list the error states, empty states, and edge cases for {feature} that the design needs to cover”, after you replace {feature} with names from the repo.
One filled message for “List the error states, empty states, and edge cases for…” is: list the error states, empty states, and edge cases for empty-cart total that the design needs to cover
When not to use
Leave “List the error states, empty states, and edge cases for…” unused when a test is already red and you need the cause, not a new diagram, because “list the error states, empty states, and edge cases for {feature} that the design needs to cover” points the other way
How to run it
Claude Code
Claude Code takes “List the error states, empty states, and edge cases for…” as one paste at the repo root. Do not also save .claude/commands, or “list the error states, empty states, and edge cases for {feature} that the design needs to cover” replays on the next task.
Codex
Codex takes “List the error states, empty states, and edge cases for…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “list the error states, empty states, and edge cases for {feature} that the design needs to cover”.
Cursor
Cursor should see “List the error states, empty states, and edge cases for…” only as a chat paste of “list the error states, empty states, and edge cases for {feature} that the design needs to cover” 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: Shape the design
- Same stage: I want to add rate limiting to the public API but haven't…
来源:Anthropic · https://code.claude.com/docs/en/prompt-library · 2026-12-01