ericrisco/rsc-harness / skills/stripe
stripe
VerifiedUse when wiring an app to Stripe for payments, subscriptions, Checkout, webhooks or the billing portal — adding a paywall or paid plan, charging recurring fees, and debugging why a completion event never fires, why signature verification fails, or why a webhook fires twice and duplicates the order. NOT a generic non-Stripe inbound event receiver (that is `webhooks`), NOT the invoice document's legal form (that is `invoicing`), NOT deciding what to charge (that is `pricing`).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 11.6 KB |
| evals/README.md | markdown | 707 B |
| evals/cases.yaml | config | 2.8 KB |
| references/going-live.md | markdown | 2.7 KB |
| references/webhook-events.md | markdown | 3.3 KB |
| scripts/verify.shexecutable | script | 4.7 KB |
evals/cases.yaml
View on GitHubskill: stripe
should_trigger:
- prompt: "Add a Pro subscription tier with Stripe Checkout to my SaaS."
why: Core build — subscription-mode Checkout Session plus webhook to grant access.
- prompt: "My Stripe webhook returns 400 with 'No signatures found matching the expected signature'."
why: Non-obvious symptom of the raw-body/signature-verification bug this skill owns.
- prompt: "The Stripe webhook fires twice and creates the order twice."
why: Idempotency / dedupe on event.id — a core handler concern, not obvious from the word 'twice'.
- prompt: "Let customers cancel and upgrade their plan themselves without me building UI."
why: Customer billing portal session.
- prompt: "El webhook de Stripe se ejecuta dos veces y duplica el pedido."
why: Spanish phrasing of the idempotency problem; same skill.
- prompt: "Set up recurring billing with a 14-day free trial in Stripe."
why: Subscription mode with trial_period_days.
- prompt: "Charge a one-time payment for a digital download via Stripe."
why: payment-mode Checkout Session and fulfillment on checkout.session.completed.
should_not_trigger:
- prompt: "Verify the HMAC on an incoming GitHub webhook and put it on a retry queue."
route_to: webhooks
why: Generic non-Stripe inbound receiver; not Stripe's Stripe-Signature scheme.
- prompt: "What must legally appear on the invoice I email the client, and what's the dunning copy?"
route_to: invoicing
why: The invoice document and its legal form, not Stripe API wiring.
- prompt: "Should our Pro plan be $29 or $49, and how many tiers should we offer?"
route_to: pricing
why: Packaging/amount decision, not implementation.
- prompt: "Build a 13-week cash-flow forecast and reconcile the bank statement."
route_to: finance-ops
why: Forecasting and reconciliation, not payment integration.
- prompt: "Build a typed client for the Acme REST API with retries and backoff."
route_to: api-connector-builder
why: Generic third-party API client, unrelated to Stripe.
capability:
- scenario: "Add a subscription paywall to a Next.js app: a Checkout Session, a webhook handler, and a self-service billing portal."
must_include:
- "Checkout Session created with mode: 'subscription' and both success_url and cancel_url."
- "Webhook verifies the RAW body with stripe.webhooks.constructEvent using STRIPE_WEBHOOK_SECRET."
- "Returns a 2xx before slow work and dedupes on event.id."
- "Handles checkout.session.completed plus customer.subscription.updated/deleted."
- "Billing portal via stripe.billingPortal.sessions.create({ customer, return_url })."
- "Keys read from process.env, explicit apiVersion pin, no hard-coded sk_ literal."
- "Access granted from the webhook, not from the success_url redirect."
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |