What problem does it solve? Building subscription billing from scratch involves complex logic for recurring charges, failed payment recovery, mid-cycle plan changes, and multi-region tax rules. This Skill provides implementation patterns and code for the entire billing lifecycle so you avoid common pitfalls in revenue-critical systems. ## Core Features & Use Cases - Subscription Lifecycle Management: Model states from trial through active, past_due, paused, and canceled with billing cycle processing. - Dunning Management: Automate failed payment recovery with configurable retry schedules and staged customer email notifications. - Proration & Tax Calculation: Compute prorated charges for plan or seat changes and apply sales tax, VAT, or GST by jurisdiction. - Use Case: A SaaS company needs to charge customers monthly, retry failed cards on a 3/7/14-day schedule, and prorate upgrades mid-cycle. Use this Skill to implement the billing engine, dunning workflow, and proration calculator. ## Quick Start Ask the AI to implement a subscription billing engine with dunning retries and proration for a monthly SaaS plan using the patterns in this Skill.