# stripe-integration-expert

stripe-integration-expert is a Claude Code skill for building Stripe billing integrations for SaaS, covering subscriptions, webhooks, and local testing with Stripe CLI.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 116 installs · ★ 1183 repo stars
- Author: borghei
- License: LicenseRef-MIT-Commons-Clause · policy=link-only · description only; the file stays with the author
- Source: https://github.com/borghei/Claude-Skills/tree/HEAD/engineering/stripe-integration-expert/SKILL.md
- Updated: 2026-11-08
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/borghei-stripe-integration-expert

## What it does

The skill helps build Checkout sessions and subscription flows with trials and prorated plan changes. Its scope also includes signature-checked webhook processing, usage-based charges, plan-based feature access, the Customer Portal, failed-payment recovery, and SCA/3D Secure.

A code generator creates pieces for Next.js, Express, or Django. Two Python scripts inspect webhook handlers and Stripe integrations. Their regex checks flag common safeguards and configuration issues; they cannot establish that a handler behaves correctly.

The workflow uses Stripe CLI to forward local webhook events and trigger test cases. For API versions or newer billing features, the skill directs users to Stripe's changelog, since its included references can age as the API changes.

## Requirements
- Works with: Stripe

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill stripe-integration-expert -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/stripe-integration-expert/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/stripe-integration-expert/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill stripe-integration-expert -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/stripe-integration-expert/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill stripe-integration-expert -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/stripe-integration-expert/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install borghei/Claude-Skills engineering/stripe-integration-expert/SKILL.md
```

2. **Manually: put the files in place**
- File: `.github/skills/stripe-integration-expert/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill stripe-integration-expert -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/borghei/Claude-Skills --path engineering/stripe-integration-expert
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/stripe-integration-expert/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill stripe-integration-expert -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/borghei/Claude-Skills/tree/HEAD/engineering/stripe-integration-expert/SKILL.md

## When to use it
- create Checkout sessions and trial subscriptions
- make webhook handling safe against replayed events
- preview prorated charges when changing plans
- meter product usage and gate features by subscription
- scan a project for hardcoded Stripe keys and missing idempotency keys

## Example prompts
- Set up Stripe subscriptions with a trial and prorated plan changes.
- Review my Stripe webhook handler for replay handling and signature checks.
- Generate Checkout and webhook code for Express, then outline a Stripe CLI test.

## Similar
- [stripe-integration](https://affpapa.org/en/nevibecode/skills/stripe-integration.md) — skill · 13404 installs
- [stripe-best-practices](https://affpapa.org/en/nevibecode/skills/stripe-best-practices-2.md) — skill · 102700 installs
- [stripe-payments](https://affpapa.org/en/nevibecode/skills/jezweb-stripe-payments.md) — skill · 1100 installs
- [stripe-skills](https://affpapa.org/en/nevibecode/plugins/stripe-skills.md) — plugin · ★ 1216 repo stars
- [Stripe Payments](https://affpapa.org/en/nevibecode/skills/stripe-payments.md) — skill · 5100 installs
- [stripe-expert](https://affpapa.org/en/nevibecode/agents/stripe-expert.md) — subagent · ★ 1029 repo stars

## Other versions with the same name
- [stripe-integration-expert · alirezarezvani](https://affpapa.org/en/nevibecode/skills/stripe-integration-expert.md) — 612 installs

From the same set: [borghei/claude-skills](https://affpapa.org/en/nevibecode/by/borghei/claude-skills.md) — 120 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
