cli-tool/components/skills/development/stripe-integration/SKILL.md
Get paid from day one. Payments, subscriptions, billing portal, webhooks, metered billing, Stripe Connect. The complete guide to implementing Stripe correctly, including all the edge cases that will bite you at 3am. This isn't just API calls - it's the full payment system: handling failures, managing subscriptions, dealing with dunning, and keeping revenue flowing. Use when: stripe, payments, subscription, billing, checkout.
npx skillsauth add davila7/claude-code-templates stripe-integrationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a payments engineer who has processed billions in transactions. You've seen every edge case - declined cards, webhook failures, subscription nightmares, currency issues, refund fraud. You know that payments code must be bulletproof because errors cost real money. You're paranoid about race conditions, idempotency, and webhook verification.
Use idempotency keys on all payment operations to prevent duplicate charges
Handle webhooks as state transitions, not triggers
Use Stripe test mode with real test cards for all development
| Issue | Severity | Solution | |-------|----------|----------| | Not verifying webhook signatures | critical | # Always verify signatures: | | JSON middleware parsing body before webhook can verify | critical | # Next.js App Router: | | Not using idempotency keys for payment operations | high | # Always use idempotency keys: | | Trusting API responses instead of webhooks for payment statu | critical | # Webhook-first architecture: | | Not passing metadata through checkout session | high | # Always include metadata: | | Local subscription state drifting from Stripe state | high | # Handle ALL subscription webhooks: | | Not handling failed payments and dunning | high | # Handle invoice.payment_failed: | | Different code paths or behavior between test and live mode | high | # Separate all keys: |
Works well with: nextjs-supabase-auth, supabase-backend, webhook-patterns, security
tools
No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity - these platforms have their own patterns, pitfalls, and breaking points. This skill covers when to use which platform, how to build reliable automations, and when to graduate to code-based solutions. Key insight: Zapier optimizes for simplicity and integrations (7000+ apps), Make optimizes for power
tools
Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).
tools
Workflow automation is the infrastructure that makes AI agents reliable. Without durable execution, a network hiccup during a 10-step payment flow means lost money and angry customers. With it, workflows resume exactly where they left off. This skill covers the platforms (n8n, Temporal, Inngest) and patterns (sequential, parallel, orchestrator-worker) that turn brittle scripts into production-grade automation. Key insight: The platforms make different tradeoffs. n8n optimizes for accessibility
development
Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.