План внедрения Stripe

Делает план подключения Stripe: собирает требования бизнеса, запускает stripe tools plan и сводит рекомендацию с компромиссами до написания кода. Для случаев, когда интеграция только начинается или в неё добавляются подписки, оплата на месте или маркетплейс.

РазработкаПак: Скиллы Stripe90 строкstripe-implementation-planner
Автор
Источник
stripe/ai/skills/stripe-implementation-planner @ 119bc4a
Лицензия
MIT · Copyright (c) 2024–2025 Stripe

Об этом скилле

Что делает

Планировщик Stripe подбирает продукты Stripe и архитектуру интеграции под конкретный бизнес до того, как написана первая строка кода. Рекомендацию выдаёт команда Stripe CLI stripe tools plan, а не память агента; скилл объясняет, что ей передать и как обращаться с ответом.

Сначала агент собирает то, что меняет ответ: что продаётся и кому, как берутся деньги, это прямой бизнес, платформа или маркетплейс, каналы продаж, страны и уже существующая настройка Stripe. Спрашивает только о недостающем и не сужает запрос на несколько продуктов до одного. Потом проверяет CLI, при необходимости ставит его командой npm install -g @stripe/cli, создаёт тестовую песочницу командой stripe sandbox create, если аккаунта нет, а CLI требует входа, читает stripe tools plan --help и запускает планировщик с полным контекстом. План уточняется по указаниям команды, сверяется с вашими требованиями и считается готовым только после того, как команда подтвердит его принятие. На выходе — сводка: что подключить, на какие компромиссы пойти и какие решения ещё открыты; код пишется только после этого.

Для восьми продуктов у планировщика нет рекомендаций: Atlas, Treasury, Radar, Issuing, Global Payouts, Capital, Sigma и Data Pipeline. По ним агент опирается на документацию Stripe и прямо об этом говорит. Если CLI недоступен, можно использовать инструмент stripe_implementation_planner в авторизованной сессии Stripe MCP.

В папке только SKILL.md и лицензия. Во frontmatter заранее разрешены четыре команды: which stripe, stripe --version, stripe tools plan и stripe sandbox create.

Когда включать и когда не надо

Для первой интеграции со Stripe или крупного расширения — например, когда добавляются подписки, оплата на месте или сторонние продавцы.

Сам скилл исключает обновление версии API, отладку, разбор проблем с вебхуками, мелкие правки кода и ревью PR, а существующий код интеграции не читает. Нужен Stripe CLI или MCP-сервер.

Как поставить и вызвать

Команда установки ниже скачивает папку целиком.

  • Claude Code: /stripe-implementation-planner или попросить скилл по имени.
  • Codex: $stripe-implementation-planner.
  • Cursor: наберите / в чате Agent и выберите stripe-implementation-planner.

Пример: /stripe-implementation-planner У нас маркетплейс репетиторов в ЕС и Великобритании: ученики платят за урок или помесячно, репетиторы получают выплаты раз в неделю. Спланируй настройку Stripe.

Чем отличается от похожих

Лучшие практики интеграции Stripe из того же набора содержат правила для самого кода, когда продукты уже выбраны; обновления и правки кода планировщик отправляет туда. План реализации перед кодом и Разбивка работы на задачи делят готовую спецификацию на задачи для кода. Этот скилл решает, какие продукты Stripe вообще попадут в такую спецификацию.

Установка

Выполните одну команду — она сохранит SKILL.md и файлы, которые он использует, в папку скиллов агента. Claude Code и Codex подхватывают новый скилл без перезапуска; если скилл не появился, перезапустите агента.

Скилл написан на английском — агент поймёт его и ответит вам по-русски.

Claude Code — macOS, Linux
curl -fsSL --create-dirs -o ~/.claude/skills/stripe-implementation-planner/SKILL.md https://anymodel.org/en/skills/stripe/stripe-implementation-planner/SKILL.md -o ~/.claude/skills/stripe-implementation-planner/LICENSE https://anymodel.org/en/skills/stripe/stripe-implementation-planner/LICENSE
Codex, Cursor — macOS, Linux
curl -fsSL --create-dirs -o ~/.agents/skills/stripe-implementation-planner/SKILL.md https://anymodel.org/en/skills/stripe/stripe-implementation-planner/SKILL.md -o ~/.agents/skills/stripe-implementation-planner/LICENSE https://anymodel.org/en/skills/stripe/stripe-implementation-planner/LICENSE
Claude Code — Windows PowerShell
foreach ($f in 'SKILL.md','LICENSE') { $p = Join-Path "$HOME\.claude\skills\stripe-implementation-planner" $f; New-Item -ItemType Directory -Force (Split-Path $p) | Out-Null; Invoke-WebRequest "https://anymodel.org/en/skills/stripe/stripe-implementation-planner/$f" -UseBasicParsing -OutFile $p }
Codex, Cursor — Windows PowerShell
foreach ($f in 'SKILL.md','LICENSE') { $p = Join-Path "$HOME\.agents\skills\stripe-implementation-planner" $f; New-Item -ItemType Directory -Force (Split-Path $p) | Out-Null; Invoke-WebRequest "https://anymodel.org/en/skills/stripe/stripe-implementation-planner/$f" -UseBasicParsing -OutFile $p }

Другой агент: сохраните файл в его папку скиллов или дайте ему ссылку на файл: https://anymodel.org/en/skills/stripe/stripe-implementation-planner/SKILL.md

SKILL.md

Исходник

Stripe Implementation Planner

Use the stripe tools plan CLI command to obtain personalized product and implementation guidance based on the user’s business model, requirements, and constraints. Use it before writing integration code when possible.

When to use this skill

Use this skill for initial Stripe product selection and integration architecture, or when an existing integration is materially expanded, such as adding subscriptions, in-person payments, or third-party sellers.

For an existing Stripe setup, use this skill to plan new products or use cases. This skill does not inspect existing integration code or produce a code migration plan.

Don’t start a planning workflow for API upgrades, availability questions, debugging, narrow implementation changes, product explanations, or PR review alone. Address those requests directly. For API upgrades, troubleshooting, and code changes, use the stripe-best-practices skill if it’s available, or current Stripe documentation. For availability questions, consult current product-availability documentation.

An existing integration or a request involving Stripe code isn’t, by itself, a reason to run the planner. Respect explicit requests to skip planning.

Coverage limits

No product-specific planner guidance for:

  • Atlas (company incorporation)
  • Treasury (embedded accounts and money movement)
  • Radar (fraud and risk rules)
  • Issuing (virtual and physical cards)
  • Global Payouts (worldwide third-party payouts)
  • Capital (loans and cash advances)
  • Sigma (SQL reporting)
  • Data Pipeline (warehouse sync)

For requests involving only these products, skip CLI installation, authentication, drafts, decision trees, and accept calls. Use current Stripe documentation or an applicable skill. Coverage or account permissions must not block documentation guidance.

For mixed requests, plan the supported requirements, preserve the unsupported requirements, and supplement them with current documentation or applicable skills. State the coverage limits. Don’t present a partial plan as the complete solution.

Workflow

  1. Gather enough context to describe the user’s needs accurately. Use context already available from the conversation and project. Ask only for missing information that could materially change the recommendation:

    • What’s their business model? What are they selling? Who are their customers?
    • How do they collect payments? For example, one-time, recurring, invoiced, or usage-based
    • Whether they’re a direct business, platform, or marketplace
    • Whether they accept payments online, in a mobile app, or in person
    • Relevant countries, currencies, implementation constraints, and existing Stripe setup if it exists
  2. Preserve the user’s full requirements. Don’t collapse a multi-product or mixed-channel request into a narrower use case.

  3. Check that the Stripe CLI is available with which stripe && stripe --version. If it’s missing, install it with npm install -g @stripe/cli. If installation fails, read the Stripe CLI installation guide and follow the instructions appropriate for the user’s environment. Verify the installation with stripe --version.

  4. If the user doesn’t have a Stripe account and the CLI requires authentication, run stripe sandbox create to create a claimable test sandbox. Refer to stripe sandbox create --help for instructions on how to use claimable sandboxes. Then retry only as directed by the CLI. Explain that a sandbox is a Stripe test environment.

  5. Run stripe tools plan --help for the latest usage instructions.

  6. Run the planner with the user’s complete business and implementation context:

stripe tools plan --message "<complete business and implementation context>"
  1. Follow the current help and command responses to generate and refine the plan.

  2. Before finalizing, evaluate the plan against the user’s requirements. Adapt the recommendation when the output doesn’t reflect the constraints, and resolve any material gaps or decisions with the user as needed.

  3. Finalize the plan by following the current command instructions. Only describe the plan as finalized after the command confirms successful acceptance. Then summarize the recommended setup, material tradeoffs, and unresolved decisions in terms of the user’s requirements.

Critical rules

  • Prefer the CLI path. If the CLI is unavailable and the user’s authenticated Stripe MCP session exposes stripe_implementation_planner, use the MCP tool. Don’t assume the MCP tool is available or authenticated.
  • Don’t run the planner with a vague prompt when the missing context could change the recommendation. Ask focused questions first.
  • Don’t treat a product omitted from the output as evidence that it’s irrelevant.
  • When the request extends beyond the planner’s supported scope, supplement the plan with current Stripe documentation and clearly identify which guidance came from outside the planner.
  • Treat the plan as a starting point, not an unquestionable answer. Check it against the user’s stated requirements, geographic needs, compatibility constraints, and existing implementation.
  • Don’t dump raw planner JSON on the user unless they explicitly ask for it. Summarize the recommendation, tradeoffs, and unresolved decisions.
  • For supported planning requests, don’t write integration code until the planning step is complete unless the user explicitly asks to skip planning.

Подключить через AnyModel API

Скилл работает на той модели, которую использует агент. Подключите Claude Code, Codex или Cursor к AnyModel и запускайте его на Claude, GPT, Gemini и других моделях по одному ключу — оплата за токены, без подписки.

Ещё из пака Скиллы Stripe