Skip to content
TrustedSkillsbeta
Back to all skills

Stripe Best Practices

Official
stripe·vlatest·backend·MIT

Official stripe skill covering Stripe, best practices for agent workflows.

Install on your platform

Showing Claude Code. One command installs this skill into any of the agents below.

  1. 1

    Run this in your project

    terminal
    $ npx skills add stripe/ai --skill stripe-best-practices -a claude-code
  2. Uses the open-source skills CLI and needs Node.js. Add -g to install it for your user instead of this project.

What we know about this skill

Publisher

stripe

Matched to the vendor's own GitHub organisation.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

No human has reviewed this code. The checks below are a static scan of the files at one commit — nobody has run this skill or judged whether it works. A skill runs with whatever access you give your agent, so read the source before you install it.

Automated safety checks

scanned

This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.

  • No pipe-to-shell installers: failed

    Runs code fetched at install time in 3 places.

    No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.

    What it found

    • providers/codex/plugin/skills/stripe-best-practices/SKILL.md:35tells the user to run: npm install straight from a URL(in the instructions, not code)
      If you don’t have a Stripe account, you can use the CLI to generate a sandbox test account with no registration required. Install the Stripe CLI (`npm i -g @st…
    • providers/grok/plugin/skills/stripe-best-practices/SKILL.md:35tells the user to run: npm install straight from a URL(in the instructions, not code)
      If you don’t have a Stripe account, you can use the CLI to generate a sandbox test account with no registration required. Install the Stripe CLI (`npm i -g @st…
    • skills/stripe-best-practices/SKILL.md:35tells the user to run: npm install straight from a URL(in the instructions, not code)
      If you don’t have a Stripe account, you can use the CLI to generate a sandbox test account with no registration required. Install the Stripe CLI (`npm i -g @st…
  • Declares what it does: passed

    SKILL.md parses and declares a name and a description.

    SKILL.md exists, its frontmatter parses, and it declares a name and a description.

  • No undeclared network calls: passed

    Makes no network calls.

    Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.

  • No obfuscated payloads: passed

    No encoded or obfuscated payloads.

    No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.

  • No credential access: passed

    Reads no keys, tokens, keychains or credential files.

    Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.

  • Pinned to a commit: passed

    Scanned stripe/agent-toolkit at 79ccee2edc.

    The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.

Scanned
21 files, 2,196 lines
Copies in repo
3 — all of them scanned
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

The Stripe Best Practices skill provides AI agents with authoritative guidance on implementing secure, scalable payment integrations. It ensures solutions align with Stripe’s official standards for reliability and compliance across diverse business models.

When to use it

  • Designing checkout flows that maximize conversion rates while minimizing friction.
  • Implementing fraud detection strategies to protect against unauthorized transactions.
  • Structuring subscription billing cycles for recurring revenue models.
  • Ensuring PCI compliance without managing sensitive card data directly.

Key capabilities

  • Validates payment architecture against current Stripe security protocols.
  • Recommends optimal configurations for handling one-time and recurring payments.
  • Identifies common integration pitfalls that lead to failed transactions or chargebacks.
  • Suggests best practices for customer support workflows related to refunds and disputes.

Example prompts

  • "Generate a step-by-step guide for integrating Stripe Checkout with a React frontend, including error handling."
  • "What are the recommended settings for fraud protection in a high-volume e-commerce environment?"
  • "Outline the necessary steps to migrate an existing manual billing system to automated Stripe subscriptions."

Tips & gotchas

Ensure your AI agent has access to the latest Stripe API documentation, as best practices evolve frequently with new features. This skill is most effective when combined with specific implementation skills like stripe-create-checkout-session or stripe-webhook-handler.