概要
This skill provides developers with the essential logic and implementation patterns required to build production-grade billing systems. It covers the entire subscription lifecycle, from initial trials and plan activation to complex scenarios like mid-cycle proration, automated invoice generation, and dunning management for failed payments. By providing standardized workflows for state transitions and jurisdiction-based tax calculations, it helps developers avoid common pitfalls in financial software architecture and ensures a robust experience for end-users.