fee-calc
How fees are computed in shopcalc. Use when changing fee rates, rounding, or anything that calls apply_fee.
- License 许可
- MIT
- 最近更新
- 2026-10-17
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- fee-calc
- description
- How fees are computed in shopcalc. Use when changing fee rates, rounding, or anything that calls apply_fee.
02 资源文件 1
- 参考文档clafra.json536 B
03 SKILL.md 正文
fee-calc
Fees are applied by apply_fee in the fees module. Money is Decimal, never float,
and rounds to cents with ROUND_HALF_EVEN (banker's rounding). Changing the rounding
mode changes every order total — call it out explicitly.
04 同仓库更多 Skills
status
Show clafra governance status for this repo — which governed skills are active or stale, why, and any unreviewed maintenance reviews. Use when the user asks "clafra status", "are my skills stale", "what did governance flag", or at the start of work on a governed repo.
review
Run or read clafra's artifact-grounded maintenance review — mechanical facts gathered in pure code, then an LLM proposes fixes/deprecations that must cite those facts verbatim. Use when the user asks for a "clafra review", "governance review", or to process pending reviews.
deprecate
Deprecate a stale governed skill in a clafra repo, moving it to .clafra/deprecated/ with a reason and audit trail. Use when the user says "deprecate/retire/remove skill X" — never delete skill directories directly.
create
Create a new governed project skill under clafra's creation rules (3-session evidence threshold, overlap guard, success checks required). Use whenever the user or you want to turn a recurring pattern into a skill in a clafra-governed repo — never write .claude/skills/*/ by hand there.
legacy-export
How to export orders to the legacy CSV format. Use when touching CSV export.