Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
coleam00 avatar

Billing Money Rules

  • 3 installs
  • 108 repo stars
  • Updated May 20, 2026
  • coleam00/helpline

Enforces Helpline's money-handling rules for code under services/billing: integer cents only, centralized plan economics, and BillingError on violations.

About

Loads Helpline's billing rules so money bugs never ship: cents as integers, seat limits and prices in one place, BillingError (HTTP 402) on every violation, and no invoicing inactive subscriptions. A developer uses it when editing services/billing.

  • Money is integer cents, never floats or dollars
  • Every money/plan violation raises BillingError, never silent clamping

Billing Money Rules by the numbers

  • 3 all-time installs (skills.sh)
  • Ranked #3,709 of 4,348 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/coleam00/helpline --skill billing-money-rules

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs3
repo stars108
Last updatedMay 20, 2026
Repositorycoleam00/helpline

What it does

Enforces Helpline's money-handling rules for code under services/billing: integer cents only, centralized plan economics, and BillingError on violations.

Files

SKILL.mdMarkdownGitHub ↗

Billing money rules

This skill activates when work is happening in services/billing. It exists so money bugs never ship.

The rules (load these every time)

1. Money is integer cents. Never a float, never dollars. Variables and fields end in _cents. 2. Plan economics live in one place_SEAT_LIMITS and _PRICE_PER_SEAT_CENTS in subscriptions.py. Never hard-code a price or a limit anywhere else. 3. Every money/plan violation raises `BillingError` (HTTP 402). Never silently clamp seats, skip a charge, or return a partial result. 4. Inactive subscriptions cannot be invoiced.

When you need the detail

For the full rationale, edge cases, and worked examples, read references/money-conventions.md. Only load it when a change is non-trivial — the four rules above cover most edits.

Related skills

Backend & APIspaymentspricing

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.