define-errors-out-of-existence
Use when designing an API or function that throws for inputs already in the desired state (delete missing item, duplicate insert), when callers wrap calls in defensive exists-checks, or exceptions cross layers that can't handle them. Redefine semantics so the error vanishes.
Pinned to revision e4081cbb4d29, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/define-errors-out-of-existence/SKILL.md
- skills/define-errors-out-of-existence/test-prompts.json
Every link opens the file at its source, pinned to the revision this page describes.