claudeindex
Plugin

money-and-payments-best-practices

Engineering best practices for money / payments / ledger systems — Decimal or integer minor units (never float), the two-layer idempotency model (client-driven idempotency_key + chain-CAS for state transitions, never conflated), double-entry ledger architecture (Accounts + Transfers, debit=credit invariant at DB level, append-only, balance computed not stored), two-phase transfers via HOLD balance, atomic chains for composite operations, transaction state machines with optimistic concurrency control, external payment provider integration via stateless proxy + sync request + async webhook with three-layer dedup, reversibility via separate transaction with parent_transaction_id, and DB-enforced invariants

Installation

1

Add the marketplace

/plugin marketplace add mvolkov83/skills
2

Install plugins

/plugin

Run these commands in Claude Code to add this plugin to your environment. The marketplace must be added before you can install its plugins.