Skip to content
Skill

Stripe best practices

Guides an agent through Stripe integration choices, from payments to Connect and billing

Stripe best practices is an open-source agent skill for finance and payments. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
57
Last commit
License
AGPL-3.0
Listing updated

Similar skills

About Stripe best practices

This skill gives an AI coding agent guidance for designing and reviewing Stripe integrations. It starts with a routing table that maps the thing being built, such as one-time payments, a marketplace, subscriptions or embedded financial accounts, to the recommended Stripe API and a matching reference document. The agent is directed to read that reference before answering integration questions or writing code.

The guidance covers choosing between Checkout Sessions and PaymentIntents, setting up Connect platforms with Accounts v2, working with billing and subscriptions, using Treasury financial accounts, picking integration surfaces like Checkout and the Payment Element, and moving off deprecated Stripe APIs. It also points to Stripe's public documentation for integration options, the API tour and a go-live checklist when a request does not fit one domain.

The skill names a specific latest Stripe API version and tells the agent to default to it unless the user asks for something else. It ships no scripts, and its content is documentation-oriented, so it expects the agent to have access to the Stripe docs and the project's codebase.

When your agent uses it

Guides Stripe integration decisions — API selection (Checkout Sessions vs PaymentIntents), Connect platform setup (Accounts v2, controller properties), billing/subscriptions, Treasury financial accounts, integration surfaces (Checkout, Payment Element), and migrating from deprecated Stripe APIs. Use when building, modifying, or reviewing any Stripe integration — including accepting payments, building marketplaces, integrating Stripe, processing payments, setting up subscriptions, or creating connected accounts.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 5 files (12 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/stripe-best-practices to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zeitlos/lucity.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/stripe-best-practices &&
cp -R "$tmp/.agents/skills/stripe-best-practices" ~/.claude/skills/stripe-best-practices &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/stripe-best-practices inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/stripe-best-practices to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zeitlos/lucity.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/stripe-best-practices &&
cp -R "$tmp/.agents/skills/stripe-best-practices" ~/.agents/skills/stripe-best-practices &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/stripe-best-practices inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/stripe-best-practices to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zeitlos/lucity.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/stripe-best-practices &&
cp -R "$tmp/.agents/skills/stripe-best-practices" ~/.cursor/skills/stripe-best-practices &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/stripe-best-practices inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/zeitlos/lucity.git --path .agents/skills/stripe-best-practices

Or copy the folder to ~/.gemini/skills/stripe-best-practices yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/stripe-best-practices:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zeitlos/lucity.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/stripe-best-practices &&
cp -R "$tmp/.agents/skills/stripe-best-practices" ~/.copilot/skills/stripe-best-practices &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/stripe-best-practices inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/zeitlos/lucity.git

Then copy lucity/.agents/skills/stripe-best-practices into your agent's skills folder as stripe-best-practices. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Integration routing table
Maps common goals like one-time payments or subscriptions to the recommended Stripe API.
Connect platform guidance
Covers setting up marketplaces and connected accounts with the Accounts v2 API.
Billing and subscriptions
Points the agent to recurring billing APIs combined with Checkout Sessions.
Payment surface selection
Explains when to use Checkout, the Payment Element or saved payment methods.
Deprecated API migration
Helps move existing code away from deprecated Stripe APIs.
Go-live review links
Links to Stripe's integration options, API tour and go-live checklist.

Good for

  • Choose between Checkout Sessions and PaymentIntents for a new checkout flow
  • Set up connected accounts for a marketplace payout model
  • Add recurring subscription billing to an existing app
  • Review a Stripe integration before launching to production
  • Migrate code away from a deprecated Stripe API

Stripe best practices FAQ

Does Stripe best practices run any code or scripts?

No. The skill contains no scripts. It consists of instructions and routing guidance that direct the agent to reference documents and Stripe's public docs.

When does the skill trigger?

It is meant for tasks involving building, modifying or reviewing any Stripe integration, such as accepting payments, building marketplaces, setting up subscriptions or creating connected accounts.

Which Stripe API version does Stripe best practices use?

It names 2026-02-25.clover as the latest version and says to use it along with the latest SDK unless the user specifies otherwise.

How do I install Stripe best practices in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/stripe-best-practices to use it in all your projects, or to .claude/skills/stripe-best-practices in one project.

Does Stripe best practices run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Stripe best practices?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Stripe best practices?

The closest alternatives to Stripe best practices are Stripe best practices, Upgrade stripe, Stripe directory, Stripe apps and API fetcher specific domains.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from zeitlos/lucity

  1. Guides an agent to make web content easier for AI search engines to cite

    • Open source
    • 57 GitHub stars
    • Marketing and SEO
  2. Plans and writes competitor comparison and alternative pages for SEO and sales

    • Open source
    • 57 GitHub stars
    • Marketing and SEO
  3. Plans what content to create by mapping pillars, topic clusters and buyer stages

    • Open source
    • 57 GitHub stars
    • Marketing and SEO
  4. Guides the agent through multi-pass edits that sharpen existing marketing copy

    • Open source
    • 57 GitHub stars
    • Marketing and SEO
  5. Guides your agent to write and rewrite conversion-focused marketing copy for web pages

    • Open source
    • 57 GitHub stars
    • Marketing and SEO
  6. Builds a Docus-based documentation site with search, dark mode and AI access

    • Open source
    • 57 GitHub stars
    • Developer tools