What problem does it solve?
Setting up billing and entitlements requires wiring SDKs, customer creation, and payment flows across your stack. This Skill guides an AI through integrating Autumn (a billing layer over Stripe) into an existing codebase, handling framework detection and customer modeling decisions.
Core Features & Use Cases
- Stack Detection: Analyzes the codebase to detect language, framework (Next.js, Hono, React), and whether customers should map to users or organizations.
- Fullstack or Backend-Only Paths: Provides a React + Node.js path with autumnHandler, AutumnProvider, and useCustomer hooks, or a backend-only path for Node.js, Python, or cURL.
- Payment Flow Setup: Wires up the attach call that returns Stripe Checkout URLs and handles upgrades, downgrades, top-ups, and renewals.
- Use Case: You have a Next.js SaaS app and want to add paid plans. The Skill installs autumn-js, mounts the handler at /api/autumn/*, wraps the app in AutumnProvider, creates customers on signup, and adds a purchase button that redirects to Stripe Checkout.
Quick Start
Set up Autumn billing in my app: install the SDK, create a customer, and add the payment flow for my Pro plan.