Skip to content
Back to skills

Ledger

ASecurity

Financial ledger - transactions, audit trails. Use when tracking money.

  • 666 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added February 9, 2026
databasesrustgorailsdatabase

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill ledger-sylphxai-flow-2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ledger?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ledger
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-ledger/badge)](https://www.skillsdirectory.com/skills/majiayu000-ledger)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ledger
description: Financial ledger - transactions, audit trails. Use when tracking money.
---

# Ledger Guideline

## Tech Stack

* **Payments**: Stripe
* **Database**: Neon (Postgres)
* **ORM**: Drizzle

## Non-Negotiables

* Balances must be immutable ledger (append-only), not mutable fields
* No floating-point for money (use deterministic precision)
* All financial mutations must be idempotent
* Monetary flows must be reconcilable with Stripe

## Context

Financial systems are unforgiving. A bug that creates or destroys money — even briefly — is a serious incident. Users trust us with their money; that trust is easily lost and hard to regain.

If balance/credits/wallet exists, it must be bulletproof. If it doesn't exist yet, consider whether the current design would support adding it correctly. Retrofitting financial integrity is painful.

## Driving Questions

* Does a balance/credits system exist, and is it implemented correctly?
* Where could money be created or destroyed by a bug?
* What happens during concurrent transactions?
* How would we detect if balances drifted from reality?
* Can we prove every balance by replaying the ledger?
* What financial edge cases (refunds, disputes, chargebacks) aren't handled?

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.