Prompt·Correctness and reliability·R01

Safe to run twice?

Finds actions that do damage when they run twice: double sends, double charges, duplicate rows.

Markdown
Prompt
Find operations that cannot safely be retried. Examine duplicate events, partial failures, idempotency, transaction boundaries, and recovery from interrupted execution.
What it returns
Each operation with its trigger, what a second run does, and whether a key or constraint prevents it.
Skip it when
Actions that only read data.
Changes
Changes nothing
Sessions
Look first, then fix in a new session
Tools
Repository and read-only access to the database layout.
Also called
Retry and idempotency failures

Skills it uses

Related prompts

More in Correctness and reliability.