Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Designs, builds, and reviews recurring billing systems: subscriptions, invoicing, usage charges, proration, dunning, and reconciliation.
91% 95%+5 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 20 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Treat billing as a financial state machine whose external provider events, internal entitlements, invoices, and ledger evidence must remain reconcilable.
Define products, prices, currencies, billing intervals, trials, discounts, usage units, proration policy, invoice timing, payment terms, tax responsibility, refunds, credits, cancellation, and entitlement behavior. Confirm which system is authoritative for catalog, subscription, payment, invoice, and access state.
Do not invent tax, accounting, or consumer-protection rules. Route jurisdiction-specific decisions to the appropriate owner or current authoritative guidance.
Model creation, trial, activation, renewal, plan change, pause, cancellation, expiry, failed payment, recovery, refund, dispute, and manual adjustment. Define effective dates and customer communication for each transition.
For usage billing, define meter source, unit, aggregation window, late data, correction, deduplication, cutoff, and reconciliation. For proration, specify the exact policy and preview customer-facing impact before applying changes.
Keep provider secrets in trusted infrastructure. Use durable event storage, bounded retries, dead-letter handling, replay tools, and correlation identifiers. Minimize payment and personal data, respect provider compliance boundaries, and restrict privileged adjustments.
Never grant access solely because a client reports payment success. Derive entitlements from trusted server-side state with a documented grace policy.
Reconcile provider transactions, invoices, internal subscription state, entitlements, refunds, and accounting exports. Monitor renewal success, involuntary churn, aging retries, webhook lag, processing errors, mismatches, and manual interventions.
Use provider test environments and deterministic clocks where available. Test duplicate and out-of-order webhooks, failed renewals, delayed usage, plan changes near boundaries, refunds, disputes, currency rounding, tax failures, cancellation timing, replay, and provider outage. Verify current provider APIs and policy before implementation.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.