pricing-safety · git:20261010.93edc86 · 2026-10-10 · sha256 25f8f0a44caa384c
pricing-safety git:20261010.93edc86A
Immutable. This exact content never changes and is served at /api/v1/blob/25f8f0a44caa384c.
--- name: pricing-safety description: Safely change TinyCart pricing calculations while preserving integer-cent arithmetic, discount bounds, and focused unit-test coverage. --- # Pricing safety Use this skill for changes to `src/tinycart/pricing.py`. - Represent money only as integer cents. - Reject invalid negative prices and quantities. - Clamp discounts so a result cannot become negative. - Run `python run_tests.py` after changes.