Stripe Best Practices
Official Stripe integration skill covering Checkout, PaymentIntents, webhook signature verification, and Billing APIs.
Sample Trigger Prompts
“Implement a Stripe Checkout subscription flow with verified raw-body webhook fulfillment.”
“Audit our Stripe billing handler for idempotency keys and duplicate event protection.”
Overview
Payment bugs are expensive when LLMs hallucinate deprecated Stripe SDK patterns or skip webhook signature checks. Maintained in stripe/ai, stripe-best-practices keeps coding agents aligned with Stripe’s current APIs and security invariants.
Key Capabilities
- Modern Billing & Checkout: Defaults to Checkout Sessions, Billing Portal, and PaymentIntents rather than legacy Charges or Sources APIs.
- Webhook Integrity: Enforces raw request body parsing for
stripe.webhooks.constructEvent(), idempotent event logging, and asynchronous fulfillment. - Connect & Usage Metering: Covers platform fee flows, customer portal links, and metered AI token billing patterns.
Best Paired With
- Supabase Postgres Best Practices for storing idempotent subscription state
- Cloudflare Platform for edge webhook endpoints
More in Cloud, Infra & APIs
Browse category →Cloudflare Platform
Official Cloudflare skills for Workers, Durable Objects, D1, R2, KV, Workers AI, Vectorize, and Pages deployment.
$ npx skills add cloudflare/skillsSupabase Postgres Best Practices
Production Postgres schema design, Row-Level Security (RLS) policies, indexing, and Supabase Edge Function guidelines.
$ npx skills add supabase/agent-skills