Transaction Management

Use transactions and isolation levels correctly — keep them short, no network calls inside, explicit isolation, retry on serialization conflicts, and choose optimistic vs pessimistic locking. Use when a write spans multiple tables, when concurrent updates corrupt data, or when designing money/inventory flows. Not for cross-service event delivery (use async-messaging Outbox) or schema-level constraints (use schema-design).

JayKim88 Updated

File contents

JayKim88/claude-ai-engineering/tree/main/plugins/backend-toolkit/skills/transaction-management commit 4235a21474

Frequently asked questions

npx skillmds@latest add jaykim88/transaction-management