Financial Integrity

Community

Money math that stays exact.

Authorcaptjay98
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Financial calculations and revenue tracking must be provably accurate and auditable to prevent floating-point errors and ensure trust in financial reports.

Core Features & Use Cases

  • Penny Perfect Rule: enforce integer or high-precision decimal arithmetic for all monetary values.
  • Storage Standards: use DECIMAL(19, 4) for unit prices and DECIMAL(19, 2) for final transaction amounts; rely on decimal.js via currency utilities.
  • Invariant Testing: apply property-based tests (fast-check) to prove financial laws hold for all inputs.
  • Immutability & Audit Trails: maintain append-only financial records with reversal and correction transactions to preserve history.
  • Multi-Currency Safety: capture exchange rates at the time of transaction to avoid drift.

Quick Start

Adopt the Penny Perfect rule by using decimal arithmetic and currency utilities for all money calculations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Financial Integrity
Download link: https://github.com/captjay98/livestockai/archive/main.zip#financial-integrity

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.