stripe-best-practices
Skill by stripe
Guides developers through Stripe integration decisions for payments, billing, tax, Connect and Treasury. It covers API selection, sandbox planning, and key and webhook security.
Install stripe-best-practices
Built from the published package, never by AI.
git clone --depth 1 https://github.com/stripe/ai /tmp/ai && mkdir -p ~/.claude/skills && cp -r /tmp/ai/skills/stripe-best-practices ~/.claude/skills/stripe-best-practicesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/stripe/ai /tmp/ai && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ai/skills/stripe-best-practices ~/.gemini/antigravity-cli/skills/stripe-best-practicesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install stripe-best-practices in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
stripe-best-practices is an agent skill published by Stripe. It guides an AI assistant through Stripe integration decisions. Topics include development and test environment planning, choosing between Checkout Sessions and PaymentIntents, Connect platform setup with Accounts v2, billing and subscriptions, and tax and registrations such as Stripe Tax. It also covers Treasury financial accounts, integration options, migration away from deprecated Stripe APIs, and security practices like API key handling and webhooks.
The skill tells the assistant to read the relevant reference file before answering integration questions or writing code. It sets defaults such as separate sandboxes for new development, restricted API keys with the rk_ prefix, and the latest API version and SDK. It is aimed at developers who plan, build, test or review any Stripe integration.
Written from the project's SKILL.md and checked against it.
What it can do
- Environment planningAdvises on separate sandboxes versus the shared test mode sandbox.
- API selectionHelps choose between Checkout Sessions, PaymentIntents and Setup Intents.
- Connect setupCovers Accounts v2 and controller properties for platforms and marketplaces.
- Billing guidanceCovers subscriptions, recurring billing and Metronome usage-based billing.
- Tax and registrationsCovers Stripe Tax, automatic_tax, product tax codes and the Registrations API.
- Treasury accountsCovers v2 Financial Accounts for embedded financial accounts and banking.
- Security guidanceCovers API key management, restricted keys, webhooks and OAuth.
- Deprecated API migrationHelps move integrations away from deprecated Stripe APIs.
What you need
- A Stripe account, or the Stripe CLI to create a sandbox test account
- Stripe API keys
Try asking
- Should I use Checkout Sessions or PaymentIntents for my payment flow?
- Walk me through setting up Stripe Tax for sales tax collection.
- Review my webhook handler and check that fulfillment is done safely.
Good to know
- Stripe Tax collects no tax without an active registration in the customer's jurisdiction.
- Use the shared test mode sandbox only for existing integrations or unsupported features.
- If stripe sandbox create was used, the source says not to use MCP.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/stripe-best-practices/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
references/billing.md10 KB -
references/connect.md14 KB -
references/payments.md9 KB -
references/security.md10 KB
Show all 7 files
-
references/tax.md27 KB -
references/treasury.md793 B
Alternatives to stripe-best-practices
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
stripe-best-practices: common questions
Which Stripe API should I use for one-time payments?
The skill's routing table recommends Checkout Sessions for one-time payments. A custom payment form with embedded UI uses Checkout Sessions with Payment Element.
Does the skill recommend restricted API keys?
Yes. It says to always recommend a restricted API key with the rk_ prefix over a secret key with the sk_ prefix.
Are webhooks required?
The skill says webhooks are recommended for every payment integration and required for subscriptions and asynchronous payment methods.
How do I install stripe-best-practices?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is stripe-best-practices free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is stripe-best-practices safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to stripe-best-practices?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
