ledger-design

Installation
SKILL.md

Ledger design pattern library

Reference patterns for financial ledger systems.

Double-entry rules

For every event:

  1. At least two entries
  2. Sum of debits = sum of credits (per currency)
  3. Entries are atomic with the event (single transaction)
  4. The invariant is enforced by a database constraint or trigger, not application code

Account-type rules

Installs
2
GitHub Stars
2
First Seen
6 days ago