Claude Skill

pricing-safety

Safely change TinyCart pricing calculations while preserving integer-cent arithmetic, discount bounds, and focused unit-test coverage.

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Download oqura-ai-optim-jev-demo_tinycart_.claude_skills_pricing-safety-1ce25eb.zip · 0 KB

Install

skills CLI npx skills add https://github.com/Oqura-ai/optim-jev/tree/main/demo/tinycart/.claude/skills/pricing-safety
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install oqura-ai-optim-jev@llmmart
Git git clone https://github.com/Oqura-ai/optim-jev.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole oqura-ai/optim-jev collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

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.
Files (optim-jev)
  • SKILL.md 441 B
    ---
    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.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.