Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
borghei avatar

Stripe Integration Expert

  • 106 installs
  • 451 repo stars
  • Updated July 21, 2026
  • borghei/claude-skills

stripe-integration-expert is a Claude skill that builds production Stripe billing for SaaS including subscriptions, checkout, webhooks, and SCA.

About

Stripe-integration-expert guides Claude to build production Stripe billing for SaaS: subscription lifecycle, checkout sessions, proration, usage-based metered billing, dunning, and SCA/3D Secure. A developer uses it when adding or hardening billing and webhook endpoints. It provides idempotent webhook patterns for Next.js, Express, and Django and a Stripe CLI test matrix.

  • Builds SaaS Stripe billing: subscriptions, checkout, proration, usage-based billing, SCA
  • Idempotent webhook handlers with signature verification and event dedup
  • Patterns for Next.js, Express, and Django plus Stripe CLI local testing

Stripe Integration Expert by the numbers

  • 106 all-time installs (skills.sh)
  • Ranked #2,965 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

stripe-integration-expert capabilities & compatibility

Free skill; needs Stripe API keys and webhook secret to run against Stripe.

Capabilities
stripe billing · webhook handling · subscription management
Works with
stripe
Use cases
api development
Pricing
Free
From the docs

What stripe-integration-expert says it does

Provides patterns for Next.js, Express, and Django with emphasis on real-world edge cases.
SKILL.md
npx skills add https://github.com/borghei/claude-skills --skill stripe-integration-expert

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs106
repo stars451
Last updatedJuly 21, 2026
Repositoryborghei/claude-skills

What it does

Build or harden SaaS Stripe billing including subscriptions, checkout, proration, and idempotent webhooks.

Who is it for?

Developers building SaaS subscription billing or hardening a Stripe webhook endpoint on Next.js, Express, or Django.

Skip if: Stripe Connect marketplace payouts, one-time e-commerce payments without subscriptions, or tax calculation and remittance.

When should I use this skill?

Building SaaS billing, handling Stripe webhooks, or testing with the Stripe CLI.

What you get

Production Stripe integration with idempotent webhooks, subscription state machine, and SCA compliance.

  • subscription state machine
  • idempotent webhook handler
  • checkout session

By the numbers

  • 3 supported frameworks (Next.js, Express, Django)

Files

SKILL.mdMarkdownGitHub ↗

Stripe Integration Expert

The agent builds production-grade Stripe integrations for SaaS billing: subscription lifecycle management with trials and proration, idempotent webhook handlers, usage-based metered billing, Checkout sessions, Customer Portal, dunning recovery, and SCA/3D Secure compliance. Provides patterns for Next.js, Express, and Django with emphasis on real-world edge cases.

Core Capabilities

  • Checkout & client setup — pinned-version Stripe client, centralized plan config, Checkout sessions with trials, tax collection, and promo codes
  • Subscription lifecycle — a state machine covering trialing → active → past_due → canceled, plus upgrades/downgrades with proration previews and reactivation
  • Idempotent webhooks — signature verification, event dedup, re-fetch-from-API handlers, and retry-safe processing
  • Usage-based billing & gating — metered usage records, feature gating by plan, and grace-period access logic
  • Dunning & SCA — payment-failure email sequences and PSD2 / 3D Secure authentication flows
  • Local testing — Stripe CLI webhook forwarding, event triggers, and test card matrix

When to Use

  • Building SaaS subscription billing from scratch on Next.js, Express, or Django
  • Adding plan upgrades/downgrades with correct proration behavior
  • Hardening or debugging a webhook endpoint for idempotency and retry safety
  • Implementing metered/usage-based billing or feature gating by plan
  • Adding dunning recovery or European SCA/3D Secure compliance

Clarify First

Before building the integration, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • [ ] Framework — Next.js / Express / Django (the handler and client patterns differ per stack)
  • [ ] Billing model — flat subscription / metered usage-based / trials + proration (shapes the subscription state machine and code)
  • [ ] Scope — which piece: Checkout, idempotent webhooks, dunning, or SCA/3D Secure (selects the reference and code generated)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • [references/payment-flows.md](references/payment-flows.md) — Stripe client setup, plan config, Checkout sessions, Customer Portal, and SCA/3D Secure. Read when wiring up the client or building the checkout/portal redirects.
  • [references/subscriptions.md](references/subscriptions.md) — lifecycle state-machine diagram, upgrade/downgrade/preview/cancel code, usage-based billing, feature gating, and the Prisma schema. Read when modeling subscription state or implementing plan changes.
  • [references/webhooks.md](references/webhooks.md) — the full idempotent webhook handler with signature verification and every event handler. Read when building or auditing the webhook endpoint.
  • [references/testing-and-troubleshooting.md](references/testing-and-troubleshooting.md) — Stripe CLI testing, common pitfalls, troubleshooting table, and success criteria. Read when testing locally or diagnosing a billing bug.

Related Skills

SkillUse When
ab-test-setupTesting pricing page variants and checkout flows
analytics-trackingTracking checkout and subscription conversion events
email-template-builderBuilding dunning and billing notification emails
api-design-reviewerReviewing your billing API endpoints

Scope & Limitations

This skill covers:

  • Stripe Checkout, Subscriptions, and Customer Portal integration for SaaS billing
  • Webhook handling with idempotency, signature verification, and retry safety
  • Usage-based (metered) billing, proration previews, and plan change workflows
  • SCA/3D Secure compliance for European payment regulations (PSD2)

This skill does NOT cover:

  • Stripe Connect (marketplace payouts, multi-party payments) -- see platform-specific Stripe Connect documentation
  • One-time payment flows without subscriptions (e.g., e-commerce product purchases)
  • Tax calculation and remittance (Stripe Tax configuration, VAT/GST filing) -- see ra-qm-team/ compliance skills for regulatory guidance
  • Payment fraud detection and dispute management (Stripe Radar rules, chargeback workflows) -- see skill-security-auditor for security review patterns

Integration Points

SkillIntegrationData Flow
api-design-reviewerReview billing API endpoints for REST conventions, error handling, and rate limitingBilling route definitions --> API review checklist --> validated endpoint contracts
database-schema-designerDesign and validate the Prisma schema for Stripe customer, subscription, and event tracking tablesSchema requirements --> normalized table design --> migration files
observability-designerInstrument webhook handlers and checkout flows with structured logging, metrics, and alertingWebhook events --> OpenTelemetry traces --> dashboard alerts on failure spikes
env-secrets-managerManage Stripe API keys, webhook secrets, and price IDs across dev/staging/productionSecret definitions --> encrypted vault storage --> runtime injection via env vars
ci-cd-pipeline-builderAutomate Stripe CLI webhook testing in CI and validate integration before deploymentTest triggers --> stripe listen in CI --> webhook handler assertions
runbook-generatorCreate operational runbooks for billing incidents: failed webhooks, mass payment failures, subscription reconciliationIncident scenarios --> step-by-step remediation --> escalation paths

Related skills

FAQ

Which frameworks does it cover?

It provides patterns for Next.js, Express, and Django with emphasis on real-world edge cases.

Does it cover Stripe Connect?

No. Stripe Connect marketplace payouts and multi-party payments are explicitly out of scope.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.