# Stripe best practices

> Stripe best practices is an open-source agent skill for finance and payments. Guides an agent through Stripe integration choices, from payments to Connect and billing. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/zeitlos/lucity/tree/main/.agents/skills/stripe-best-practices
- **Repository:** https://github.com/zeitlos/lucity
- **GitHub stars:** 57
- **License:** AGPL-3.0
- **Skill name:** stripe-best-practices
- **Collection:** https://github.com/zeitlos/lucity
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/zeitlos/lucity/tree/HEAD/.agents/skills/stripe-best-practices)
- [License: AGPL-3.0](https://github.com/zeitlos/lucity/tree/HEAD/.agents/skills/stripe-best-practices)

## Features

- **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

## Install

### Claude Code

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Stripe best practices](https://ai-powered.com/skills/stripe-best-practices): Stripe best practices is an open-source agent skill for finance and payments.
- [Upgrade stripe](https://ai-powered.com/skills/upgrade-stripe-zeitlos): Upgrade stripe is an open-source agent skill for finance and payments.
- [Stripe directory](https://ai-powered.com/skills/stripe-directory): Stripe directory is an open-source agent skill for finance and payments.
- [Stripe apps](https://ai-powered.com/skills/stripe-apps): Stripe apps is an open-source agent skill for finance and payments.
- [API fetcher specific domains](https://ai-powered.com/skills/api-fetcher-specific-domains): API fetcher specific domains is an open-source agent skill for communication.
- [Stripe projects](https://ai-powered.com/skills/stripe-projects): Stripe projects is an open-source agent skill for databases.
- [Upgrade stripe](https://ai-powered.com/skills/upgrade-stripe): Upgrade stripe is an open-source agent skill for finance and payments.
- [Stripe implementation planner](https://ai-powered.com/skills/stripe-implementation-planner): Stripe implementation planner is an open-source agent skill for finance and payments.

---
Source: https://ai-powered.com/skills/stripe-best-practices-zeitlos
