i18n-timezone-money-safety
CommunityPrevent locale, DST, and money correctness bugs.
Authormachenjie
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prevents product correctness defects caused by mixing localized formatting with canonical storage, mishandling time zones and DST transitions, and performing unsafe money calculations that drift by cents or rounding incorrectly across currencies and regions.
Core Features & Use Cases
- Locale-safe design: Defines BCP 47 locale support, negotiation order, fallback chain, and deterministic missing-translation behavior.
- Correct time handling: Separates instants from civil dates/datetimes and specifies UTC storage plus IANA timezone retention for civil-time scenarios, including DST gap/overlap policies.
- Currency and money precision: Enforces ISO 4217 currency pairing, minor-unit or fixed-precision decimal representations, and documented rounding modes per operation to eliminate float-based monetary errors.
- Localized pluralization and collation: Mandates ICU MessageFormat usage for user-visible strings and ICU Collator-based sorting/search with Unicode NFC normalization.
Quick Start
Ask the agent to generate an i18n/timezone/money design for your change by describing the relevant user locales, the affected time fields and scheduling rules, and the money operations and currencies involved.
Dependency Matrix
Required Modules
None requiredComponents
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: i18n-timezone-money-safety Download link: https://github.com/machenjie/rd-skills/archive/main.zip#i18n-timezone-money-safety Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.