autumn-setup
Installation
SKILL.md
Set up Autumn Billing
Autumn is a billing and entitlements layer over Stripe. This skill walks through installing the SDK, creating an Autumn customer, and wiring up the payment flow.
Before starting: Check for an
autumn.config.tsin the project root. If it doesn't exist, runnpx atmn initto log in and generate the file (this saves your API key and syncs your config). Then refer toautumn.config.tsfor your product and feature IDs.
Step 1: Analyze the Codebase
Before making changes, detect:
- Language: TypeScript/JavaScript, Python, or other
- If TS/JS - Framework: Next.js, Hono, or other
- If TS/JS - React frontend?: Check for React in package.json
- Customer model: Look at the auth setup to determine whether customers map to individual users or organizations. Check for org/team/workspace models in the codebase.
If it's clear from the codebase (e.g., there's an org model and team-based auth), state your assumption. If it's ambiguous, ask the user: