integer-money

Official

Keep money exact by storing as integer cents.

Authorvobase
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps you avoid floating point errors by requiring monetary values to be stored as integer cents, ensuring exact totals across invoices, taxes, and reports.

Core Features & Use Cases

  • Store money as cents using fields like amount_cents, tax_cents, and total_cents to keep arithmetic precise.
  • Keep business logic in cents by performing all calculations in integer units and converting to display format only at the UI boundary.
  • Schema guidance for Drizzle ORM definitions and naming conventions to enforce consistent money handling across modules.

Quick Start

Configure schemas and services to store monetary values in cents and perform calculations in integer units, converting to dollars only for display.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: integer-money
Download link: https://github.com/vobase/vobase/archive/main.zip#integer-money

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.