money-math-review

仓库创建 2026年7月28日最近提交 7 小时前SkillHot 收录 1 小时前
▸ 精选理由

避免真实资金损失,适合结账/退款/发票相关改动审查。

▸ 风险提示

可能需访问交易或财务相关代码与数据,涉及敏感信息

这个 Skill 做什么

审计涉及金额计算的代码,找出浮点、舍入和币种混用等错误。

审计所有触及金额的代码,重点找出四类真会丢钱的错误:浮点运算误差、错误的四舍五入顺序、混用或假定币种,以及费用/税金算错基数。在上线结账、支付、退款、折扣、开票或改价前必须跑一遍。它不是形式化检查,而是针对真实损失案例的实操审查,并给出可执行的修复建议。

开发编程金钱运算舍入错误货币一致性通用
0
Stars
0
Forks
20
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/sriptcollector/toolbay-skills/main/skills/money-math-review/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/sriptcollector/toolbay-skills/main/skills/money-math-review/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
---
name: money-math-review
description: Audit every place your code touches money for the four bugs that actually cost real cash: floating-point amounts, rounding applied in the wrong order, mixed or assumed currency, and fees or tax computed off the wrong base. Use before shipping checkout, payouts, refunds, discounts, invoicing, or any change to pricing.
---

# Money Math Review

## Install

Save this file as `~/.claude/skills/money-math-review/SKILL.md`, or
`.claude/skills/money-math-review/SKILL.md` to scope it to one repo. Claude Code
auto-discovers it. Invoke with `/money-math-review` or by asking "check my
payment math before I ship this".

## Why this exists

Money bugs do not throw
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有