什么是 dinero-best-practices?
Dinero.js 货币库的核心最佳实践。在编写、审查或重构用于创建 Dinero 对象、对货币值执行算术或在 JavaScript/TypeScript 中处理货币的代码时使用。从“dinero.js”导入、货币计算或价格/成本处理逻辑触发。 来源:dinerojs/dinero.js。
Dinero.js 货币库的核心最佳实践。在编写、审查或重构用于创建 Dinero 对象、对货币值执行算术或在 JavaScript/TypeScript 中处理货币的代码时使用。从“dinero.js”导入、货币计算或价格/成本处理逻辑触发。
通过命令行快速安装 dinero-best-practices AI 技能到你的开发环境
来源:dinerojs/dinero.js。
Core rules for working with Dinero.js, the JavaScript/TypeScript library for creating, calculating, and formatting money safely. Contains rules across 4 categories, prioritized by impact.
| 1 | Object Creation | CRITICAL | creation- | | 2 | Arithmetic | CRITICAL | arithmetic- | | 3 | Precision | HIGH | precision- | | 4 | Imports | MEDIUM | imports- |
Read individual rule files for detailed explanations and code examples:
Dinero.js 货币库的核心最佳实践。在编写、审查或重构用于创建 Dinero 对象、对货币值执行算术或在 JavaScript/TypeScript 中处理货币的代码时使用。从“dinero.js”导入、货币计算或价格/成本处理逻辑触发。 来源:dinerojs/dinero.js。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/dinerojs/dinero.js --skill dinero-best-practicesDinero.js 货币库的核心最佳实践。在编写、审查或重构用于创建 Dinero 对象、对货币值执行算术或在 JavaScript/TypeScript 中处理货币的代码时使用。从“dinero.js”导入、货币计算或价格/成本处理逻辑触发。 来源:dinerojs/dinero.js。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dinerojs/dinero.js --skill dinero-best-practices 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dinerojs/dinero.js