Registry / zakariaf

zakariaf/flutter-skills/value-objects-money-and-units

Enforces a pure-Dart value-object core that stores every quantity canonically — money as integer minor units keyed to each currency's real ISO-4217 exponent (never *100), physical amounts as SI whole units, timestamps as UTC — and converts only at the presentation edge; forbids double/num money, cross-currency arithmetic, and defaulting an unknown currency to two decimals; routes every division of money through one largest-remainder allocate() primitive so parts always sum to the whole to the ex

Agent skill · version 1.0.0 · from zakariaf/Flutter-Skills

Install

npx yarkr-cli add skill:zakariaf/flutter-skills/value-objects-money-and-units

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/value-objects-money-and-units
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/value-objects-money-and-units

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:zakariaf/flutter-skills/value-objects-money-and-units

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.