payments-stripe-full
Production-ready Stripe integration for Next.js with webhooks, subscriptions, checkout sessions, and secure payment handling.
Skill by JimmyBlanquet
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jimmyblanquet-payments-stripe-full
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/payments-stripe-full
What's inside
- Skill name
payments-stripe-full- Description
- Production-ready Stripe integration for Next.js with webhooks, subscriptions, checkout sessions, and secure payment handling. Includes webhook verification, idempotency, and comprehensive error handling.
- License
- MIT
- Instructions
- 494 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- files: referenced but missing: examples/02-subscription-flow.ts, examples/03-webhook-handler.ts, examples/04-customer-portal.ts, examples/05-usage-based.ts
Files (19)
- README.md
- SKILL.md
- 01-basic-checkout.ts · examples/
- 02-webhook-handler.ts · examples/
- 03-customer-portal.ts · examples/
- package-lock.json
- package.json
- checkout.ts · src/
- client.ts · src/
- customers.ts · src/
- index.ts · src/
- subscriptions.ts · src/
- types.ts · src/
- webhooks.ts · src/
- client.test.ts · tests/
- index.test.ts · tests/
- types.test.ts · tests/
- tsconfig.json
- vitest.config.ts
SKILL.md (first lines)
# Payments Stripe Full
Complete Stripe payment integration for Next.js applications with webhooks, subscriptions, checkout, and production-ready security patterns.
## When to Use
Use this skill when building Next.js SaaS applications that need:
- Stripe Checkout for one-time or subscription payments
- Webhook handling with signature verification
- Subscription management (create, update, cancel)
- Customer portal integration
- Idempotent payment operations
- Secure API key management
**Don't use this skill if:**
- You need a different payment provider (PayPal, Square, etc.)
- You only need client-side Stripe Elements (no server integration)
- Your app doesn't handle recurring subscriptions
## Stack
- Next.js 14+ (App Router)
- Stripe API (stripe npm package)
- TypeScript (strict mode)
- Webhook signature verification
- Supabase/PostgreSQL (for customer/subscription sync)
## Quick Start
### 1. Install Dependencies
```bash
npm install stripe
npm install -D @project-forge/payments-stripe-full
```
### 2. Setup Environment Variables
```bash
# .env.local
STRIPE_SECRET_KEY=sk_test_...
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
# Database
NEXT_PUBLIC_SUPABASE_URL=your-project-url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
```
### 3. Create Configuration
```typescript
// lib/stripe/config.ts
export const stripeConfig = {
secretKey: process.env.STRIPE_SECRET_KEY!,
publishableKey: process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY!,
webhookSecret: process.env.STRIPE_WEBHOOK_SECRET!,
}
```
### 4. Create Checkout Session
```typescript
import { createCheckoutSession } from '@project-forge/payments-stripe-full'
export async function POST(request: NextRequest) {
const userId = await getUserId(request)
const session = await createCheckoutSession(stripeConfig, {
userId,
priceId: 'price_1234...', // Stripe Price ID
successUrl: `${process.env.NEXT_PUBLIC_URL}/success`,
cancelUrl: `${process.env.NEXT_PUBLIC_URL}/cancel`,
})
return NextResponse.json({ sessionId: session.id })
}
```
### 5. Handle Webhooks
```typescript
import { handleWebhook } from '@project-forge/payments-stripe-full/webhooks'
export async function POST(request: NextRequest) {
const payload = await request.text()
const signature = request.headers.get('stripe-signature')!
const result = await handleWebhook(stripeConfig, {
payload,
signature,
handlers: {
'checkout.session.completed': async (event) => {
// Update database with successful payment
const session = event.data.object
await updateUserSubscription(session.customer, session.subscription)
},
'customer.subscription.deleted': async (event) => {
// Handle subscription cancellation
const subscription = event.data.object
await cancelUserSubscription(subscription.customer)
},
},
})
return NextResponse.json(result)
}
```
## Key Features
### Secure Webhook Verification
Verifies Stripe webhook signatures to prevent fraud:
```typescript
const event = stripe.webhooks.constructEvent(
payload,
signature,From JimmyBlanquet/project-forge, MIT.
More from JimmyBlanquet/project-forge
- 0.479score
ralph-agent-teams
JimmyBlanquet
Parallel implementation of Ralph++ PRD sub-stories using Claude Opus 4.6 Agent Teams.
SkillCFreshness: CClaude Code +9 - 0.476score
email-oauth-flows
JimmyBlanquet
Production-ready Gmail and Outlook OAuth integration for Next.js with Supabase.
SkillCFreshness: CClaude Code +9 - 0.476score
context-maximizer
JimmyBlanquet
Exploit the 1M token context (Opus 4.6 / Sonnet 4.6) for full codebase awareness in SpecKit.
SkillCFreshness: CClaude Code +9 - 0.476score
auth-supabase-complete
JimmyBlanquet
Production-ready Supabase authentication for Next.js 14+ with RLS patterns, session management, OAuth flows, and comprehensive testing.
SkillCFreshness: CClaude Code +9 - 0.474score
ralph-loop
JimmyBlanquet
Use when implementing features autonomously from a prd.json, spawning fresh Task agents per story with quality gates and atomic commits
SkillCFreshness: CClaude Code +9 - 0.474score
dev-pilot
JimmyBlanquet
Full autonomous pipeline orchestrator that loops over features.json and executes the complete development cycle for each feature: spec → plan → tasks →…
SkillCFreshness: CClaude Code +9 - 0.472score
effort-optimizer
JimmyBlanquet
Optimize API costs by adjusting thinking effort per task type.
SkillCFreshness: CClaude Code +9 - 0.471score
config-centralization
JimmyBlanquet
Type-safe, environment-aware configuration management for Next.js/TypeScript applications using a singleton pattern with runtime validation.
SkillCFreshness: CClaude Code +9 - 0.471score
ai-multi-provider
JimmyBlanquet
Multi-provider LLM orchestration system with intelligent routing, fallback chains, cost optimization, and automatic observability.
SkillCFreshness: CClaude Code +9 - 0.471score
logging-structured
JimmyBlanquet
Structured logging with typed contexts for Next.js applications.
SkillCFreshness: CClaude Code +9 - 0.471score
rate-limiting-persistent
JimmyBlanquet
Persistent rate limiting using PostgreSQL for atomic counters.
SkillCFreshness: CClaude Code +9 - 0.470score
speckit-archi-review
JimmyBlanquet
Run an architecture audit on the current project to detect drift, layer violations, ADR non-compliance, and technical debt.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 2
- Last commit (this folder)
- May 10, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/JimmyBlanquet/project-forge
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from JimmyBlanquet
- 0.479score
ralph-agent-teams
JimmyBlanquet
Parallel implementation of Ralph++ PRD sub-stories using Claude Opus 4.6 Agent Teams.
SkillCFreshness: CClaude Code +9 - 0.476score
auth-supabase-complete
JimmyBlanquet
Production-ready Supabase authentication for Next.js 14+ with RLS patterns, session management, OAuth flows, and comprehensive testing.
SkillCFreshness: CClaude Code +9 - 0.476score
email-oauth-flows
JimmyBlanquet
Production-ready Gmail and Outlook OAuth integration for Next.js with Supabase.
SkillCFreshness: CClaude Code +9 - 0.476score
context-maximizer
JimmyBlanquet
Exploit the 1M token context (Opus 4.6 / Sonnet 4.6) for full codebase awareness in SpecKit.
SkillCFreshness: CClaude Code +9 - 0.474score
dev-pilot
JimmyBlanquet
Full autonomous pipeline orchestrator that loops over features.json and executes the complete development cycle for each feature: spec → plan → tasks →…
SkillCFreshness: CClaude Code +9 - 0.474score
ralph-loop
JimmyBlanquet
Use when implementing features autonomously from a prd.json, spawning fresh Task agents per story with quality gates and atomic commits
SkillCFreshness: CClaude Code +9
Cite this page
payments-stripe-full skill. Agent Mart. https://agentmart.dev/skills/jimmyblanquet-payments-stripe-full (last updated 2026-10-24)