financial-units

Standardize monetary values to yuan across backend and frontend modules.

2|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/Showiix/EsportManager2 --skill financial-units
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: financial-units
Source: https://github.com/Showiix/EsportManager2/tree/main/.claude/skills/financial-units
Command: npx skills add https://github.com/Showiix/EsportManager2 --skill financial-units

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces consistent currency units across the project by ensuring all amounts are stored and processed in yuan, preventing unit mismatches and display inconsistencies.

Core Features & Use Cases

  • Ensures all backend calculations, data models, and APIs use yuan for storage and transfer
  • Standardizes frontend display via formatMoney formatting rules
  • Use Case: Apply when introducing a new financial metric (salary, market value, sponsorship) to confirm yuan-based calculations and reporting

Quick Start

Convert all monetary inputs to yuan and verify that the API responses return yuan-based figures.

Frequently Asked Questions about financial-units

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize monetary values to yuan across frontend and backend modules?

Standardize monetary values by enforcing yuan as the storage and display unit across backend calculations and frontend formatting. Backend APIs must return values in yuan, and frontend modules must use formatMoney for display.

Why does my salary calculation return inconsistent currency units?

Inconsistent currency units occur when monetary values are not stored and processed in yuan. Standardize all salary calculations by enforcing yuan as the storage unit and applying formatMoney for frontend display.

What is the best way to format money for frontend display in a finance application?

The best way to format money is to ensure backend calculations return values in yuan, then apply formatMoney formatting rules in the frontend modules to maintain consistency across all financial reporting.

Do I need to update existing database migrations to store amounts in yuan?

Yes, existing fields and migrations must store amounts in yuan. Standardizing monetary values requires all backend calculations, data models, and APIs to use yuan for storage and transfer to prevent unit mismatches.

Can I use this approach to standardize market value and sponsorship calculations?

Yes, standardizing monetary values applies to salary, market value, sponsorship, and other financial computations. Enforcing yuan across initialization, calculations, and reporting ensures consistent currency units.