stripe-best-practices · openai — скилл Codex: что делает и установка
Скилл подсказывает, какие API Stripe выбрать для платежей, подписок, маркетплейса и финансовых счетов. Пригодится при разработке и ревью интеграций.
npx skills add openai/plugins --skill stripe-best-practices -a codexЧто делает stripe-best-practices
stripe-best-practices помогает выбрать API Stripe под задачу. Для разовых платежей он направляет к Checkout Sessions, для встроенной формы — к Checkout Sessions вместе с Payment Element, а для сохранения способа оплаты — к Setup Intents. Для подписок используются Billing APIs и Checkout Sessions.
Скилл также охватывает Connect с Accounts v2 и настройками controller properties, платформы и маркетплейсы, финансовые счета v2 и переход с устаревших API Stripe. Он рассчитан на создание, изменение и проверку интеграций, связанных с оплатой и подключёнными аккаунтами.
Ставьте его, если агент должен принимать решения по архитектуре Stripe до написания кода. Для задач без Stripe-интеграции он не нужен.
Какие задачи решает
- выбрать API Stripe для разового платежа
- спроектировать оплату через Checkout Sessions и Payment Element
- настроить Connect-платформу с Accounts v2
- добавить подписки и регулярные списания
- перейти с устаревших API Stripe
Примеры запросов агенту
- Выбери API Stripe для формы оплаты в приложении и объясни решение.
- Проверь интеграцию подписок Stripe и предложи подходящие Billing APIs.
- Спроектируй подключение продавцов через Connect и Accounts v2.
Как установить stripe-best-practices
1Через Skills CLI (Vercel)
npx skills add openai/plugins --skill stripe-best-practices -a codex2Вручную: положить файлы
.agents/skills/stripe-best-practices/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add openai/plugins --skill stripe-best-practices -a claude-code2Вручную: положить файлы
~/.claude/skills/stripe-best-practices/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/stripe-best-practices/
Вручную: положить файлы
.cursor/skills/stripe-best-practices/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install openai/plugins stripe-best-practices2Вручную: положить файлы
.github/skills/stripe-best-practices/SKILL.mdКомандой платформы
gemini skills install https://github.com/openai/plugins --path plugins/build-web-apps/skills/stripe-best-practicesВручную: положить файлы
.devin/skills/stripe-best-practices/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора201
Весь набор →Другие версии stripe-best-practices
Похожие
Вопросы о stripe-best-practices
Как установить stripe-best-practices в Codex?
Выполните npx skills add openai/plugins --skill stripe-best-practices или npx skills add openai/plugins --skill stripe-best-practices -a codex. Файл скилла появится по пути .agents/skills/stripe-best-practices/SKILL.md.
Что делает stripe-best-practices?
Он помогает выбрать API и способ интеграции Stripe для платежей, подписок, Connect, финансовых счетов и миграции с устаревших API.
Какой API выбрать для сохранения способа оплаты в Stripe?
Для сохранения способа оплаты скилл указывает на Setup Intents.
Исходный текст
SKILL.md · MIT
--- name: stripe-best-practices description: 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. --- Latest Stripe API version: **2026-02-25.clover**. Always use the latest API version and SDK unless the user specifies otherwise. ## Integration routing | Building... | Recommended API | Details | |---|---|---| | One-time payments | Checkout Sessions | [references/payments.md](references/payments.md) | | Custom payment form with embedded UI | Checkout Sessions + Payment Element | [references/payments.md](references/payments.md) | | Saving a payment method for later | Setup Intents | [references/payments.md](references/payments.md) | | Connect platform or marketplace | Accounts v2 (`/v2/core/accounts`) | [references/connect.md](references/connect.md) | | Subscriptions or recurring billing | Billing APIs + Checkout Sessions | [references/billing.md](references/billing.md) | | Embedded financial accounts / banking | v2 Financial Accounts | [references/treasury.md](references/treasury.md) | Read the relevant reference file before answering any integration question or writing code. ## Key documentation When the user's request does not clearly fit a single domain above, consult: - [Integration Options](https://docs.stripe.com/payments/payment-methods/integration-options.md) — Start here when designing any integration. - [API Tour](https://docs.stripe.com/payments-api/tour.md) — Overview of Stripe's API surface. - [Go Live Checklist](https://docs.stripe.com/get-started/checklist/go-live.md) — Review before launching.
© OpenAI · MIT · openai/plugins