什么是 dinero-currency-patterns?
Dinero.js 货币库的货币处理模式。在使用多种货币、在货币之间进行转换、定义自定义货币、在数据库中存储货币值或与 Stripe 或 PayPal 等支付服务集成时使用。货币兑换、货币数据库模式设计或与 Dinero 对象的支付 API 集成的触发器。 来源:dinerojs/dinero.js。
Dinero.js 货币库的货币处理模式。在使用多种货币、在货币之间进行转换、定义自定义货币、在数据库中存储货币值或与 Stripe 或 PayPal 等支付服务集成时使用。货币兑换、货币数据库模式设计或与 Dinero 对象的支付 API 集成的触发器。
通过命令行快速安装 dinero-currency-patterns AI 技能到你的开发环境
来源:dinerojs/dinero.js。
Patterns for handling currencies with Dinero.js: type safety, conversions, custom currencies, database storage, and payment service integration.
| 1 | Type Safety | HIGH | types- | | 2 | Conversion | HIGH | convert- | | 3 | Storage | HIGH | storage- | | 4 | Payment Integration | MEDIUM | payment- |
Read individual rule files for detailed explanations and code examples:
Dinero.js 货币库的货币处理模式。在使用多种货币、在货币之间进行转换、定义自定义货币、在数据库中存储货币值或与 Stripe 或 PayPal 等支付服务集成时使用。货币兑换、货币数据库模式设计或与 Dinero 对象的支付 API 集成的触发器。 来源:dinerojs/dinero.js。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/dinerojs/dinero.js --skill dinero-currency-patternsDinero.js 货币库的货币处理模式。在使用多种货币、在货币之间进行转换、定义自定义货币、在数据库中存储货币值或与 Stripe 或 PayPal 等支付服务集成时使用。货币兑换、货币数据库模式设计或与 Dinero 对象的支付 API 集成的触发器。 来源:dinerojs/dinero.js。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dinerojs/dinero.js --skill dinero-currency-patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dinerojs/dinero.js