Skip to main content
在 Manus 中运行任何 Skill
一键导入

sales-internals

星标4
分支0
更新时间2026年7月6日 18:55

The determinism, parallelism, and numeric-safety contract for the sales fact generator (src/facts/sales/). Load this BEFORE editing anything under src/facts/sales/ — chunk building, the worker pool, customer sampling, pricing, promotions, allocation, delivery, or the State object. It explains why the sales fact must be byte-identical regardless of --workers and --chunk-size, the rules for worker-lifetime caches and hash-seeded draws, the ID-arithmetic and numpy pitfalls that silently corrupt output, and the golden-snapshot test workflow. Use it whenever you touch sales generation, see a determinism/snapshot test fail, add a correlated-fact feature, or need to regenerate the sales fingerprint baseline.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly