billing-audit
Installation
SKILL.md
Billing Audit
Billing code that compiles proves nothing. Real failures come from provider config and from cases nobody handled. This skill traces every case in the Reference through the real code and reports where the app gets it wrong.
Redact
Billing code sits next to live keys and customer data. Write <REDACTED> in place of every API key, webhook secret, and customer email, name, or card detail you quote. Calls to the provider are read-only: fetch and list, nothing that creates, updates, or charges.
Process
1. Map the money flow
Read the README, product docs, domain glossary, pricing page, and schema. Write down the money flow:
- What's sold, and who pays whom: the business directly, or sellers and creators through the platform.
- The provider, its API version, and the billing features in use: recurring, one-time, trials, seats, usage, plan changes, refunds, currencies.
- Where customers are. Renewal and mandate rules differ by region.
- Documented decisions: billing behavior the docs choose on purpose, like "no refunds". The code is judged against these.