zhanghandong/rust-skills/domain-fintech
Claude Code and agent skill by zhanghandong/rust-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when building fintech apps. Keywords: fintech, trading, decimal, currency, financial, money, transaction, ledger, payment, exchange rate, precision, rounding, accounting, 金融, 交易系统, 货币, 支付
Install
npx vskill@latest install zhanghandong/rust-skills/domain-fintechSKILL.md
FinTech Domain
Layer 3: Domain Constraints
Domain Constraints → Design Implications
| Domain Rule | Design Constraint | Rust Implication | |
|---|---|---|---|
| Audit trail | Immutable records | Arc<T>, 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
Audit Requirements
Consistency
Trace Down ↓
From constraints to design (Layer 2):
Key Crates
| Purpose | Crate | |
|---|---|---|
| Decimal math | rust_decimal | |
| Date/time | chrono, time | |
| UUID | uuid | |
| Serialization | serde | |
| Validation | validator |
Design Patterns
| Pattern | Purpose | Implementation | |
|---|---|---|---|
| Currency newtype | Type safety | struct Amount(Decimal); | |
| Transaction | Atomic operations | Event sourcing | |
| Audit log | Traceability | Structured logging with trace IDs | |
| Ledger | Double-entry | Debit/credit balance |
Code Pattern: Currency Type
Common Mistakes
| Mistake | Domain Violation | Fix | |
|---|---|---|---|
| Using f64 | Precision loss | rust_decimal | |
| Mutable transaction | Audit trail broken | Immutable + events | |
| String for amount | No validation | Validated newtype | |
| Silent overflow | Money disappears | Checked arithmetic |
Trace to Layer 1
| Constraint | Layer 2 Pattern | Layer 1 Implementation | |
|---|---|---|---|
| Immutable records | Event sourcing | Arc<T>, Clone | |
| Transaction scope | Aggregate | Owned children | |
| Precision | Value Object | rust_decimal newtype | |
| Thread-safe sharing | Shared immutable | Arc (not Rc) |
Related Skills
| When | See | |
|---|---|---|
| Value Object design | m09-domain | |
| Ownership for immutable | m01-ownership | |
| Arc for sharing | m02-resource | |
| Error handling | m13-domain-error |
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/domain-fintech/SKILL.md
Popularity
- Repository stars
- 925
- Repository forks
- 84
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zhanghandong/rust-skills/domain-fintech)