What problem does it solve?
This Skill prevents broken Stripe payment setups by guiding a correct end-to-end integration pattern: initializing the Stripe sync layer, configuring the webhook safely, and wiring read/write code paths so Stripe remains the source of truth for products, prices, and related entities.
Core Features & Use Cases
- Managed Stripe sync with PostgreSQL: runs migrations to create the stripe schema and uses backfill plus webhooks to keep the local database in sync with Stripe.
- Correct webhook handling in Express: ensures the webhook route is registered before JSON body parsing so signature verification and Buffer payload processing work reliably.
- Stripe-first data model: recommends never creating duplicate product/customer tables in the stripe schema and instead querying synced stripe.* tables for products/prices/subscriptions while storing only Stripe IDs in your application tables.
- Common endpoints scaffolding: supports typical flows like listing products with prices, creating checkout sessions, and retrieving user subscription state.
Quick Start
Use the stripe skill to set up the managed Stripe migrations, create the webhook handler and route under /api/stripe/webhook before express.json(), then implement storage queries that read from the synced stripe.* tables while creating products and prices via Stripe API scripts.