payments-stinger — Claude Code skill: Stripe Elements for SvelteKit
payments-stinger — a skill for building a custom checkout with Stripe Elements instead of redirecting to Stripe's hosted page. Handles trial, payment, and access state, enforces entitlements on the server, and prepares support actions.
AGPL-3.0-or-later ★ 96 updated 2026-10-18
/plugin marketplace add legioncodeinc/vibe-coding-tools
/plugin install platform-and-release-tools@wasp-nestWhat payments-stinger does
payments-stinger provides checkout built with Stripe Elements (Payment Element, Address Element, Contact Details Element, Express Checkout Element) and theming via Appearance API. It replaces hosted Checkout for full UI control and requires SvelteKit on Vercel with Stripe SDK version 2025-09-30 or later.
The skill separates trial, payment, and access state; enforces entitlements via server-side Stripe events, never client claims. Webhooks deduplicate on event.id; outbound operations carry Idempotency-Key. Secret keys sk_* and whsec_* stay in private server code only.
Each task has a guide: choosing custom vs. hosted, mounting Elements, payment intents, saving cards, subscriptions, webhook handling, theming, testing, security, production failures, and preparing approved support actions like refunds, disputes, and cancellations. Core principle: never trust the client for amounts, prices, or access grants.
What it helps with
- build a custom checkout with Stripe Elements instead of a Checkout redirect
- separate trial, active payment, and feature access state in the database
- verify user entitlements on the server after a Stripe webhook
- prepare a list of approved support actions (refunds, reissues, cancellations)
- set up payment method storage for off-session charges
Example prompts for the agent
- Help me build a checkout with Stripe Elements that fits our product interface
- How do we separate trial, active subscription, and lapsed access in our state model
- Set up webhook handling so access is only granted after server-side verification
How to install payments-stinger
1Plugin marketplace
/plugin marketplace add legioncodeinc/vibe-coding-tools/plugin install platform-and-release-tools@wasp-nestThis installs the whole platform-and-release-tools plugin with all its skills
2Skills CLI (Vercel)
npx skills add legioncodeinc/vibe-coding-tools --skill payments-stinger -a claude-code3Manually: put the files in place
~/.claude/skills/payments-stinger/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/payments-stinger/
1Skills CLI (Vercel)
npx skills add legioncodeinc/vibe-coding-tools --skill payments-stinger -a codex2Manually: put the files in place
.agents/skills/payments-stinger/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add legioncodeinc/vibe-coding-tools --skill payments-stinger -a cursor2Manually: put the files in place
.cursor/skills/payments-stinger/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install legioncodeinc/vibe-coding-tools plugins/platform-and-release-tools/skills/payments-stinger2Manually: put the files in place
.github/skills/payments-stinger/SKILL.md1Skills CLI (Vercel)
npx skills add legioncodeinc/vibe-coding-tools --skill payments-stinger -a gemini-cli2Platform CLI
gemini skills install https://github.com/legioncodeinc/vibe-coding-tools --path plugins/platform-and-release-tools/skills/payments-stingerManually: put the files in place
.devin/skills/payments-stinger/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about payments-stinger
How do I install payments-stinger in Claude Code?
Run /plugin marketplace add legioncodeinc/vibe-coding-tools, then /plugin install platform-and-release-tools@wasp-nest, then npx skills add legioncodeinc/vibe-coding-tools --skill payments-stinger -a claude-code, and open ~/.claude/skills/payments-stinger/SKILL.md.
What does payments-stinger do?
The skill guides you through building a Stripe Elements checkout for SvelteKit, separating trial, payment, and access state, enforcing entitlements server-side, and preparing approved support actions like refunds, disputes, and account changes.
Why use payments-stinger instead of Stripe's hosted Checkout?
Hosted Checkout redirects to Stripe's domain. payments-stinger lets you build a checkout that matches your product without PCI compromise — see the security and PCI scope guide for details.