sleestk/skills-pipeline/stripe-developer
Claude Code and agent skill by sleestk/skills-pipeline
- community
Checking that the SKILL.md file is still in the repository.
Full-stack Stripe developer skill for building payment integrations with Next.js and Supabase. Covers Checkout (hosted and embedded), Products & Prices, Subscriptions & Billing, Webhooks (signature verification, event handling), Customer Portal, the Stripe Node.js SDK, client-side Stripe.js, and the Stripe CLI. Use this skill whenever the user mentions Stripe, payments, checkout, subscriptions, billing, pricing tiers, webhooks, recurring revenue, freemium, paywall, customer portal, Stripe CLI,…
Install
npx vskill@latest install sleestk/skills-pipeline/stripe-developerSKILL.md
Stripe Developer Skill
A comprehensive skill for building payment integrations in Next.js applications with Stripe. Covers five domains: Checkout & Payments, Products & Pricing, Subscriptions & Billing, Webhooks, and Customer Portal.
Architecture
This skill uses progressive disclosure with reference files:
Routing
When the user's request arrives, determine which domain(s) it touches, then read the appropriate reference file(s):
Checkout & Payments
If the request involves creating a checkout session, one-time payments, payment pages, redirecting to Stripe, embedded checkout, or the Stripe payment form: → Read references/checkout.md
Products & Pricing
If the request involves creating products, setting prices, pricing tiers, free vs. pro plans, price IDs, or configuring what you sell: → Read references/products-prices.md
Subscriptions & Billing
If the request involves recurring payments, subscription lifecycle (create, upgrade, downgrade, cancel, renew), billing intervals, trial periods, metered billing, or subscription status management: → Read references/subscriptions.md
Webhooks
If the request involves listening for Stripe events, webhook endpoints, signature verification, handling checkout.session.completed, invoice.paid, customer.subscription.updated, or any event-driven payment logic: → Read references/webhooks.md
Customer Portal
If the request involves letting customers manage their own subscriptions, update payment methods, view invoices, cancel subscriptions, or self-service billing: → Read references/customer-portal.md
Cross-Stack Integration (Next.js + Supabase + Vercel)
If the request involves wiring Stripe into a Next.js + Supabase stack, syncing subscription status to the database, gating features behind payment status, deploying with Stripe env vars on Vercel, or building a complete SaaS payment flow: → Read references/nextjs-supabase-integration.md
Multiple Domains
Many requests touch multiple domains. For example, "set up subscriptions with a free and pro tier in my Next.js + Supabase app" requires Products & Pricing + Subscriptions + Webhooks + Cross-Stack Integration. Read all relevant files.
Default Stack
- Framework: Next.js (App Router)
- Server SDK:
stripe(Node.js) - Client SDK:
@stripe/stripe-js+@stripe/react-stripe-js - Database: Supabase (Postgres with RLS)
- Deployment: Vercel
- Language: TypeScript
Key Principles
- Never expose `STRIPE_SECRET_KEY` to the client. Use
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEYfor client-side only. The secret key lives server-side exclusively. - Use Server Actions or Route Handlers to create Checkout Sessions — never create them from the client.
- Always verify webhook signatures using
stripe.webhooks.constructEvent(). Never trust unverified webhook payloads. - Store subscription status locally in your Supabase database. Don't query the Stripe API on every request — it adds latency and hits rate limits.
- Use `stripe listen --forward-to` during local development to test webhooks before deploying.
- Test mode first, always. Use
pk_test_andsk_test_keys. Test card:4242 4242 4242 4242, any future expiry, any CVC. - Return 200 quickly from webhook handlers. Do async processing after acknowledging receipt.
- Use Price IDs, not raw amounts — create Products and Prices in the Stripe Dashboard or API, then reference them by ID.
- Handle `cancel_at_period_end` — when a user cancels, Stripe keeps the subscription active until the period ends. Don't immediately revoke access.
- Idempotency — Stripe can send the same webhook event more than once. Use
event.idto deduplicate if needed.
Environment Variables
Quick Install
Stripe Client Setup Pattern
Server-side (singleton)
Client-side (singleton via lazy load)
Stripe CLI Quick Reference
Test Cards
| Scenario | Card Number | |
|---|---|---|
| Payment succeeds | 4242424242424242 | |
| Payment requires authentication | 4000002500003155 | |
| Payment is declined | 4000000000009995 |
Use any future expiry date and any 3-digit CVC.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingSaaS/stripe-developer/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sleestk/skills-pipeline/stripe-developer)