stripe-patterns

Create Stripe checkout sessions and idempotent webhook handlers.

395|84|Updated Oct 5, 2025
One-click install
npx skills add https://github.com/bybren-llc/wtfb-safe-agentic-workflow --skill stripe-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stripe-patterns
Source: https://github.com/bybren-llc/wtfb-safe-agentic-workflow/tree/main/.claude/skills/stripe-patterns
Command: npx skills add https://github.com/bybren-llc/wtfb-safe-agentic-workflow --skill stripe-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guide safe Stripe integration with patterns for checkout, webhooks, and idempotent handling.

Core Features & Use Cases

  • Configuration & API Routes: create checkout session and webhook handler patterns
  • Idempotency Patterns: ensure webhook processing is idempotent
  • Webhooks & Subscriptions: subscription events handling
  • Evidence Template for Linear: test patterns for payments

Quick Start

Create a Stripe test checkout session and verify webhook handling using test cards.

Frequently Asked Questions about stripe-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle Stripe webhooks safely and idempotently?

Idempotent webhook handling ensures Stripe events process reliably even if replayed. This Skill provides patterns for signature verification, duplicate detection, and safe event processing to prevent double-charging or missed transactions.

What's the best way to set up a Stripe checkout session?

Stripe checkout sessions require secure API configuration without hardcoded keys. This Skill offers factory patterns and route templates for creating checkout sessions consistently while managing credentials safely across your application.

How do I test Stripe payment integration securely?

Testing Stripe payments requires isolated test environments and verification templates. This Skill includes evidence patterns and test card workflows to validate checkout flows, webhooks, subscriptions, and refunds without touching production data.

Can I manage Stripe subscriptions and invoices with reusable patterns?

Stripe subscriptions and invoices benefit from consistent handling patterns. This Skill provides templates for subscription event routing, invoice management, and webhook processing to reduce integration errors and maintenance overhead.

Why does Stripe integration need idempotency and signature verification?

Stripe webhooks can retry, and network failures can cause duplicate requests. Idempotency prevents duplicate charges; signature verification confirms webhook authenticity. This Skill implements both to keep transactions safe and compliant.