idempotency
✓Use when creating mutation endpoints. Use when trusting frontend to prevent duplicates. Use when payments or critical operations can be repeated.
Installation
SKILL.md
Critical operations must be safe to retry. Use idempotency keys.
Networks fail. Clients retry. Users double-click. Without idempotency, retries cause duplicate charges, orders, or data corruption.
| Payments | Double charge | Idempotency key | | Order creation | Duplicate orders | Idempotency key | | Inventory decrement | Over-decrement | Idempotency key | | Email sending | Duplicate emails | Idempotency key | | Account creation | Duplicate accounts | Unique constraint + idempotency |
Use when creating mutation endpoints. Use when trusting frontend to prevent duplicates. Use when payments or critical operations can be repeated. Source: yanko-belov/code-craft.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/yanko-belov/code-craft --skill idempotency- Source
- yanko-belov/code-craft
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is idempotency?
Use when creating mutation endpoints. Use when trusting frontend to prevent duplicates. Use when payments or critical operations can be repeated. Source: yanko-belov/code-craft.
How do I install idempotency?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/yanko-belov/code-craft --skill idempotency Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/yanko-belov/code-craft
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01