Use when building SaaS billing features, handling failed payments, implementing proration, supporting multiple currencies, managing subscription lifecycle, setting up tax compliance, or designing invoicing flows. Contains patterns and best practices for production billing systems.
How this skill is triggered — by the user, by Claude, or both
Slash command
/billing-best-practices:billing-best-practicesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Guidance for building production SaaS billing systems that handle real-world complexity: failed payments, mid-cycle changes, multiple currencies, tax compliance, and everything in between.
Guidance for building production SaaS billing systems that handle real-world complexity: failed payments, mid-cycle changes, multiple currencies, tax compliance, and everything in between.
[Customer] --> [Checkout] --> [Subscription Created]
|
+-----------------+-----------------+
| | |
[Active] [Trialing] [Past Due]
| | |
[Billing Cycle] [Trial Ends] [Retry Logic]
| | |
[Invoice] [First Charge] [Recovered / Canceled]
| |
[Payment] [Active]
|
[Next Cycle]
| Need to... | See |
|---|---|
| Understand subscription states and transitions | Subscription Lifecycle |
| Handle failed payments and reduce churn | Failed Payments |
| Calculate mid-cycle upgrade/downgrade charges | Proration |
| Support multiple currencies and regional pricing | Multi-Currency |
| Set up tax collection and compliance | Tax Compliance |
| Implement plan upgrades and downgrades | Plan Changes |
| Design invoice structure and billing cycles | Invoicing |
| Prepare for launch with a billing checklist | Billing Checklist |
Building billing from scratch? Start with Subscription Lifecycle to understand how subscriptions move through states, then Invoicing to design your billing cycle. Run through the Billing Checklist before going live.
Losing customers to failed payments? Go directly to Failed Payments. Involuntary churn from payment failures is the most preventable source of revenue loss.
Adding plan upgrades/downgrades? Follow this path: Plan Changes (when and how changes apply) then Proration (the math behind mid-cycle charges).
Going international? Start with Multi-Currency (currency detection, regional pricing) then Tax Compliance (automated tax collection, MoR model).
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub commet-labs/billing-best-practices --plugin billing-best-practices