Skip to content
All Categories

Payments Skill Cluster · 3 Skills

SaaS Billing & Payment Flow Skills

Implement bulletproof payment flows, checkout sessions, and subscription webhooks. Prevent silent billing failures, ensure idempotent webhook processing, and keep sensitive credentials securely bounded.

The Default AI Trap

AI agents frequently write vulnerable payment handlers: exposing secret keys on client bundles, ignoring cryptographic signature verification, failing to handle duplicate webhook deliveries, and mishandling subscription status transitions.

The AgentTaste Standard

Cryptographically verified webhooks, idempotent queue projection into D1/Postgres, strict checkout contract boundaries, and zero credential leakage.

Core Principles Enforced by Payments Skills

Idempotent webhooks: Process payment events exactly once using persistent event logs and transaction locks.
Type-safe checkout contracts: Enforce strict product IDs, currency codes, and return URL parameters.
Secure credential handling: All private tokens confined strictly to server-only modules.
Subscription lifecycle handling: Graceful handling of upgrades, downgrades, cancellations, and renewals.

Curated Payments Skills (3)

Select any package below to inspect full inputs, triggers, and executable SKILL.md instructions.

Universal SKILL.md Standard
Waffo Pancake Global Checkout Architecture
AgentTasteFree

Waffo Pancake Global Checkout Architecture

Merchant-of-Record payment processing with verified webhook ingestion, D1 ledgers, and zero recurring fees.

Claude Code · Cursor · Antigravity

Preview instructions

Selection brief

# Waffo Pancake Global Checkout Architecture (waffo-pancake-checkout)
Step-by-step rules for integrating Merchant-of-Record payments via @waffo/pancake-ts. Includes cryptographic webhook signature verification, idempotent ledger records, and refund handling.

## Use when
- Integrate Waffo Pancake checkout and verified payment webhooks.

## Required inputs
- Server code and fulfillment requirements
- Merchant configuration and test environment

## Prerequisites
- Current @waffo/pancake-ts documentation.
- Server-side signing credentials and provider test access.

## Expected outputs
- Server-only checkout and idempotent webhook handling

Source: https://agenttaste.dev/skills/waffo-pancake-checkout#instructions
Full SKILL.md: https://agenttaste.dev/skills/waffo-pancake-checkout/SKILL.md
SKILL.md
Stripe integration best practices
StripePublic source

Stripe integration best practices

Choose appropriate Stripe checkout, billing, Connect and test integration patterns.

Claude Code · Cursor · Codex · Antigravity

Preview instructions

Selection brief

# Stripe integration best practices (stripe-best-practices)
Stripe’s own agent skill guides API selection, test environments, subscriptions, tax, Connect and payment integration practices.

## Use when
- Implement or review a Stripe checkout or subscription integration.
- Choose between Stripe APIs for a defined payment workflow.

## Required inputs
- Payment use case and existing code
- Stripe integration and account configuration

## Prerequisites
- Current Stripe documentation and project code.
- Test credentials for any integration tests; keep secrets server-side.

## Expected outputs
- Integration decisions tied to Stripe documentation
- Implementation and test-mode validation

Source: https://github.com/stripe/ai/blob/08d371a9fbe098ecc943713a70a669ef05cfa6d6/skills/stripe-best-practices/SKILL.md
Full SKILL.md: https://agenttaste.dev/skills/stripe-best-practices/SKILL.md
SKILL.mdSource ↗
Stripe API and SDK upgrades
StripePublic source

Stripe API and SDK upgrades

Plan Stripe API, webhook and SDK upgrades against the official migration guidance.

Claude Code · Cursor · Codex · Antigravity

Preview instructions

Selection brief

# Stripe API and SDK upgrades (stripe-api-upgrades)
Stripe’s upgrade-stripe skill reviews current versions, the target API, webhook endpoints and SDK changes before implementing a migration.

## Use when
- Upgrade a Stripe SDK or API version.
- Review webhook behavior before a payment migration.

## Required inputs
- Current API and SDK versions
- Target version and integration files

## Prerequisites
- Current official migration documentation.
- A test environment for verifying payment and webhook behavior.

## Expected outputs
- Documented upgrade plan
- Validated integration and webhook changes

Source: https://github.com/stripe/ai/blob/08d371a9fbe098ecc943713a70a669ef05cfa6d6/skills/upgrade-stripe/SKILL.md
Full SKILL.md: https://agenttaste.dev/skills/stripe-api-upgrades/SKILL.md
SKILL.mdSource ↗

Quick Installation Across Coding Agents

Claude Code

Install .claude/skills/stripe-micro-interactions/SKILL.md to build verified checkout flows.

Cursor (.cursorrules)

Add .cursor/rules/billing.mdc to maintain secure server-side billing boundaries.

OpenAI Codex CLI

Use .agents/skills/stripe-micro-interactions/SKILL.md for automated billing tests.

Google DeepMind Antigravity

Deploy billing skills in Antigravity to verify webhook idempotency and signature checks.

Frequently Asked Questions: Payments

Which payment platforms are supported by these skills?

Our billing skills cover Stripe (Checkout, Elements, Customer Portal), Waffo Pancake, and Lemon Squeezy with dedicated webhook signature verification.

How do these skills guarantee webhook idempotency?

They implement an event ledger pattern where every incoming webhook ID is verified and recorded atomically in your database before fulfillment actions occur.

Can AI agents safely implement payment code without security risks?

Yes, because these skills provide strict boilerplate contracts that forbid client-side API secret usage and require cryptographic verification on all public endpoints.

Explore Other Agent Skill Clusters