domain-fintech

Installation
Summary

Fintech domain constraints and design patterns for building precise, auditable financial systems in Rust.

  • Enforces decimal precision (never f64) using rust_decimal, immutable transaction records with Arc, and double-entry accounting principles to prevent money loss or inconsistency
  • Provides currency newtypes, transaction aggregates, and audit logging patterns aligned with regulatory compliance and dispute resolution requirements
  • Maps domain rules (precision, audit trails, consistency, reproducibility) to Rust ownership, type safety, and structured tracing implementations
  • Includes common fintech mistakes (floating-point amounts, mutable transactions, string-based values) with fixes and references to related ownership and error-handling skills
SKILL.md

FinTech Domain

Layer 3: Domain Constraints

Domain Constraints → Design Implications

Domain Rule Design Constraint Rust Implication
Audit trail Immutable records Arc, no mutation
Precision No floating point rust_decimal
Consistency Transaction boundaries Clear ownership
Compliance Complete logging Structured tracing
Reproducibility Deterministic execution No race conditions

Critical Constraints

Financial Precision

Related skills

More from zhanghandong/rust-skills

Installs
497
GitHub Stars
1.1K
First Seen
Jan 20, 2026