agentleFS
WhaocaiiWhaocaii/ai-game-skills/skills/number-shared/SKILL.md

number-shared

Skill4 starsChanged 2 months agoMITView on GitHub

检查游戏数值中的单位、概率、分布、边界和敏感性,解释公式的适用前提。用于模型复核或其他数值模块的公共计算支持。 Review units, probability, distributions, bounds and sensitivity in game balance formulas.

The file

Files
SKILL.md

数值口径与计算检查

本模块由 Whaocaii 主导设计与维护,使用 AI 辅助编写。当前版本为 0.1.0 工作草稿。按用户的目标与现有项目约束执行;仅使用实际可用的工具。

输入

  • 公式、字段定义、数据单位和一个可复现样本
  • 希望解释的异常或比较结论

工作过程

  1. 为每个量标注单位和时间基准;区分比例与百分点、每击与每秒、单次与累计。
  2. 概率推导先列独立性、放回、保底和条件触发假设。只有独立且同概率时才用 1-(1-p)^n 表示至少成功一次。
  3. 将期望与典型体验分开;长尾等待时间同时报告分位数或极端情况。
  4. 检查零值、负数、封顶、取整与阈值跳变。资源守恒按期初+流入-流出=期末核对。
  5. 对关键输入做小幅双向扰动;若输出突变,追到分段规则或隐藏依赖,不用更多小数掩盖不确定性。

交付

  • 带前提的公式解释与可手算样本
  • 异常清单、影响范围和修正建议

检查

  • 概率在合法范围,条件概率没有被当成独立事件
  • 期望收益没有被描述为每个玩家必然获得的结果

使用案例

掉落率 2%,玩家打了 100 次没出是否不合理?分别解释独立掉落与带保底两种情况。

验收时按上面的检查项判断结果;只读完本文件不代表完成了任务。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.