installskill

Skills / stripe/ai

stripe-best-practices

Guidance for Stripe integration choices: APIs, Connect, billing, tax, Treasury and key security.

Pinned commit
d4b19a989bf1Committed 2026-11-25
Files
777 KB
License
MIT
Snapshot taken
2026-11-28
Description from the skill
Guides Stripe integration decisions across development and test environment planning (separate sandboxes vs the shared test mode sandbox), API selection (Checkout Sessions vs PaymentIntents), Connect platform setup (Accounts v2, controller properties), billing/subscriptions, tax and registrations (Stripe Tax, automatic_tax, product tax codes), Treasury financial accounts, integration options (Checkout, Payment Element), migrating from deprecated Stripe APIs, and security best practices (API key management, API key permissions, webhooks, OAuth). Use when planning, building, modifying, testing, or reviewing any Stripe integration, including choosing a development environment, accepting payments, building marketplaces, integrating Stripe, processing payments, setting up subscriptions, collecting sales tax, VAT, or GST, creating connected accounts, or implementing secure key handling.

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install stripe/ai skills/stripe-best-practices --agent claude-code --pin d4b19a989bf12bdbd4d42de1f9bfd3aec56fd9da

gh picks the directory for the agent, names the folder after the source directory (stripe-best-practices), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read 98ee18488de861d869b64a3b0af35bfbfb07c51a.

skills CLIpinned

$ npx skills add stripe/ai@d4b19a989bf12bdbd4d42de1f9bfd3aec56fd9da --skill stripe-best-practices -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/stripe/ai.git "$tmp"
$ git -C "$tmp" checkout --quiet d4b19a989bf12bdbd4d42de1f9bfd3aec56fd9da
$ mkdir -p .claude/skills
$ cp -R "$tmp/skills/stripe-best-practices" .claude/skills/stripe-best-practices

No extra tooling. Files land byte for byte as published in .claude/skills/stripe-best-practices, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/stripe-best-practices && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expected7bae6181f3969a2fdaedf3629432a687a15556ec42241a652e675aff9655050d

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

Docs · 6SKILL.md · 1

Runs commandsNo match

Code that spawns other processes, or shell code blocks in the instructions.

Network accessNo match

Calls that fetch from or send to a remote host.

Installs packagesNo match

Commands that pull and run third-party packages at use time.

Reads env or credentialsNo match

References to environment variables, tokens, keys or credential files.

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

Hostnames of every URL in the text files.

  • docs.stripe.com×142
  • dashboard.stripe.com×3
  • support.stripe.com×2
  • *.link.com×1
  • *.stripe.com×1
  • stripe.com×1
  • vercel.com×1

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
7bae6181f3969a2fdaedf3629432a687a15556ec42241a652e675aff9655050d
Git tree SHA
98ee18488de861d869b64a3b0af35bfbfb07c51a
PathKindSizeSHA-256
SKILL.mdSKILL.md6.6 KBa0e6381030507318…
references/billing.mdDocs10 KBf70be3bd4b29cce7…
references/connect.mdDocs14 KB05b081c1272091e2…
references/payments.mdDocs9.1 KB5797b68695e6a542…
references/security.mdDocs9.8 KB45d31cbb73b8eb08…
references/tax.mdDocs27 KB4d2ef3ead58ffe57…
references/treasury.mdDocs793 Bccd38ef29a654b2c…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
893limit 1,024 characters
SKILL.md body
63 linesthe spec suggests under 500 lines
Fields outside the spec
None
License field
None declared
License file
None declared
Repository license
LICENSE (MIT)

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.