stripe
Installation
SKILL.md
Stripe Integration Expert
Comprehensive guidance for integrating Stripe payments including subscriptions, usage-based billing, webhooks, and multi-platform support (Next.js, iOS, Android, Flutter) with Supabase database synchronization.
Philosophy: Use Stripe Checkout for simplicity, Payment Intents for customization. Always verify webhooks. For Supabase sync, prefer Stripe Sync Engine (one-click, zero maintenance) unless you need custom schemas. Never expose secret keys to clients.
Critical Rules
API Keys Security
| Key Type | Prefix | Safety | Use Case |
|---|---|---|---|
| Publishable | pk_live_ / pk_test_ |
Client-safe | Browser, mobile apps |
| Secret | sk_live_ / sk_test_ |
Backend ONLY | Servers, Edge Functions |
| Restricted | rk_live_ / rk_test_ |
Backend ONLY | Limited permissions |
| Webhook Secret | whsec_ |
Backend ONLY | Signature verification |