Transaction processing

From rnavarych/alpha-engineer · View interactive version

Transaction processing is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. Guides transaction processing: ACID guarantees for financial operations, idempotency (idempotency keys, deduplication), distributed transactions (saga with compensating transactions), settlement workflows, batch processing, reconciliation, and transaction lifecycle state management. Use when impleme

How to use this skill

Skill file

Transaction Processing

When to use

Core principles

  1. SERIALIZABLE isolation for balance mutations — REPEATABLE READ is the floor, never lower
  2. Idempotency is not optional — every mutating payment endpoint needs a key; at-least-once delivery is a guarantee, not an edge case
  3. Orchestrated sagas over choreography — financial workflows need a single audit trail, not distributed event soup
  4. Compensating transactions must also be idempotent — a failed rollback is worse than a failed forward step
  5. Never delete transactions — COMPLETED, FAILED, REVERSED are terminal; the ledger is append-only

Reference Files

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.