/principle-make-operations-idempotent
Make retries safe so a repeated operation does not duplicate work.
- created by
- Lauren TanSoftware engineer at xAI and a React Compiler core team member.
- plugin
- pstack
- step
- BuildBreak the work into small pieces and give each agent a clear task.
- used in
- Lesson 19, The database must be ready firstUse it when preparing database changes or release steps that may be retried.
- try
- /principle-make-operations-idempotent Check whether retrying these database preparation steps duplicates work. Preserve applied migrations and propose a new correction where needed.
See principle-make-operations-idempotent among all 90 skills.