Skip to content
Back to skills

Subscription Billing

ASecurity

Build subscription/usage billing: model plans and prorate mid-cycle changes correctly, meter usage idempotently, run a reliable recoverable billing-cycle job, recover failed payments with smart dunning, and emit clean revenue events for finance.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 23, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add mcorbett51090/RavenClaude --skill subscription-billing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Subscription Billing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Subscription Billing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mcorbett51090-subscription-billing/badge)](https://www.skillsdirectory.com/skills/mcorbett51090-subscription-billing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: subscription-billing
description: "Build subscription/usage billing: model plans and prorate mid-cycle changes correctly, meter usage idempotently, run a reliable recoverable billing-cycle job, recover failed payments with smart dunning, and emit clean revenue events for finance."
---

# Subscription Billing

## Plans + proration
Flat/tiered/per-seat/usage. Mid-cycle change -> **prorate** (credit unused, charge new). Proration bugs are the #1 billing complaint.

## Usage metering
Record usage events **idempotently** (dedup key); aggregate for the invoice. Double-count = overcharge dispute; lost = revenue loss.

## Billing cycle
Reliable, **recoverable**, idempotent job: invoice -> charge -> handle result.

## Dunning + events
Smart retries (soft declines) + comms + grace, not churn-inducing. Emit clean **revenue events** -> `finance` for ASC 606.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…