Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when designing, implementing, testing, or debugging Rust service workflows that must be safe under retries, duplicate requests, crashes, concurrent submissions, background workers, queues, email/payment/notification side effects, idempotency keys, transaction isolation, or save-and-replay API behavior.
.claude/skills/hashgraph-online-rust-idempotent-workflows/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | 6% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -29% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 20% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -22% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 32% | 0% |
Use this skill to make Rust workflows reliable when clients retry, workers crash, requests race, and external side effects cannot be rolled back.
crashes after each database write and after each external side effect.
webhook, or external callback.
they must agree.
locks, serializable transactions, or explicit conflict handling.
more. Store enough state to retry or reconcile.
crash windows when practical, and worker retry behavior.
Read references/idempotency.md before adding idempotency keys or save-and- replay behavior.
Read references/background-workers.md when adding queue tables, polling workers, retries, or external side effects.
pending, in_progress, succeeded, and failed states deliberately.Read references/concurrency.md when duplicate requests, locks, isolation levels, or unique constraints are part of the fix.
Use the database as the source of truth for deduplication when multiple app instances can process the same workflow.
references/idempotency.md: idempotency keys, save-and-replay, and requestpayload binding.
references/background-workers.md: queue tables, worker loops, retryboundaries, and outbox behavior.
references/concurrency.md: lock choices, transaction isolation, and duplicaterequest tests.
Other measured skills in the registry, with their headline benchmark lift.