Приложения Stripe Apps
Делает приложения Stripe Apps по справочникам Stripe: интервью о задаче, интерфейс в Dashboard на React 17, скриптовые расширения, бэкенд с fetchStripeSignature, путь от stripe generate app до загрузки. Для случаев, когда нужно приложение внутри Dashboard.
stripe-apps- Автор
- Stripe
- Источник
- stripe/ai/skills/stripe-apps @ 119bc4a
- Лицензия
- MIT · Copyright (c) 2024–2025 Stripe
Об этом скилле
Что делает
Скилл Stripe Apps ведёт агента через создание, доработку и ревью приложения Stripe: интерфейса внутри Dashboard, скриптовых расширений, которые меняют расчёт счетов, собственных действий для Stripe Workflows и бэкендов, реагирующих на события Stripe. Сам SKILL.md — набор таблиц-маршрутов. Одна отправляет вопросы о возможностях в продуктовую документацию Stripe и требует сначала проверить, не решает ли задачу встроенная функция. Другие таблицы вместе с абзацем над ними ведут к двенадцати справочникам из папки, которые агент обязан открыть перед соответствующей работой, а затем к каноническим страницам, на которые те ссылаются; читать их советуют через stripe docs. Если приложение уже есть, агент начинает с манифеста, пакетов, установленного SDK и локальных инструкций для агентов.
discovery.md — короткое интервью: что должно делать приложение, где в Dashboard оно появится (с привязкой к viewport), частное оно или публичное, какая нужна авторизация. extension-types.md описывает пять типов приложений. В ui-extensions.md собраны ограничения, на которых приложения ломаются чаще всего: React 17.0.2 в изолированном iframe, только компоненты SDK, три пути импорта, где неверный роняет экран, и объявленное разрешение на каждый вызов API. script-extensions.md, backend.md (fetchStripeSignature, Secret Store), authentication.md (по умолчанию ограниченные ключи), webhooks.md, onboarding-ux.md, publishing.md и canonical-docs.md закрывают остальное. workflow.md задаёт порядок: stripe plugin install apps, stripe generate app (и никогда stripe apps create), pnpm install, сборка, тесты, stripe apps start, stripe apps upload, установка в песочницу. Его последний шаг и feedback.md велят агенту после каждой сессии сборки отправлять в Stripe один отчёт через stripe feedback.
Когда включать и когда не надо
Для панели в Dashboard, полноэкранного приложения, скрипта для биллинга или бэкенда на событиях — и чтобы выяснить, может ли расширение вообще закрыть требование к биллингу.
Код с API Stripe вне приложения — задача скилла с лучшими практиками. Этому нужны Stripe CLI версии 1.52.0 или новее с плагином Apps, pnpm и аккаунт или песочница Stripe.
Как поставить и вызвать
Команда установки ниже скачивает SKILL.md, справочники и лицензию.
- Claude Code:
/stripe-appsили попросить скилл по имени. - Codex:
$stripe-apps. - Cursor: наберите
/в чате Agent и выберитеstripe-apps.
Пример: /stripe-apps Сделай частное приложение, которое показывает на странице клиента в Dashboard историю его заказов из нашего магазина.
Чем отличается от похожих
Лучшие практики интеграции Stripe из того же набора — про API Stripe в вашем собственном коде. Приложения для ChatGPT на Apps SDK строят приложения для другой платформы — ChatGPT, на MCP. Других скиллов для Stripe Apps в нашем каталоге нет.
Установка
Выполните одну команду — она сохранит SKILL.md и файлы, которые он использует, в папку скиллов агента. Claude Code и Codex подхватывают новый скилл без перезапуска; если скилл не появился, перезапустите агента.
Скилл написан на английском — агент поймёт его и ответит вам по-русски.
curl -fsSL --create-dirs -o ~/.claude/skills/stripe-apps/SKILL.md https://anymodel.org/en/skills/stripe/stripe-apps/SKILL.md -o ~/.claude/skills/stripe-apps/LICENSE https://anymodel.org/en/skills/stripe/stripe-apps/LICENSE -o ~/.claude/skills/stripe-apps/references/authentication.md https://anymodel.org/en/skills/stripe/stripe-apps/references/authentication.md -o ~/.claude/skills/stripe-apps/references/backend.md https://anymodel.org/en/skills/stripe/stripe-apps/references/backend.md -o ~/.claude/skills/stripe-apps/references/canonical-docs.md https://anymodel.org/en/skills/stripe/stripe-apps/references/canonical-docs.md -o ~/.claude/skills/stripe-apps/references/discovery.md https://anymodel.org/en/skills/stripe/stripe-apps/references/discovery.md -o ~/.claude/skills/stripe-apps/references/extension-types.md https://anymodel.org/en/skills/stripe/stripe-apps/references/extension-types.md -o ~/.claude/skills/stripe-apps/references/feedback.md https://anymodel.org/en/skills/stripe/stripe-apps/references/feedback.md -o ~/.claude/skills/stripe-apps/references/onboarding-ux.md https://anymodel.org/en/skills/stripe/stripe-apps/references/onboarding-ux.md -o ~/.claude/skills/stripe-apps/references/publishing.md https://anymodel.org/en/skills/stripe/stripe-apps/references/publishing.md -o ~/.claude/skills/stripe-apps/references/script-extensions.md https://anymodel.org/en/skills/stripe/stripe-apps/references/script-extensions.md -o ~/.claude/skills/stripe-apps/references/ui-extensions.md https://anymodel.org/en/skills/stripe/stripe-apps/references/ui-extensions.md -o ~/.claude/skills/stripe-apps/references/webhooks.md https://anymodel.org/en/skills/stripe/stripe-apps/references/webhooks.md -o ~/.claude/skills/stripe-apps/references/workflow.md https://anymodel.org/en/skills/stripe/stripe-apps/references/workflow.md
curl -fsSL --create-dirs -o ~/.agents/skills/stripe-apps/SKILL.md https://anymodel.org/en/skills/stripe/stripe-apps/SKILL.md -o ~/.agents/skills/stripe-apps/LICENSE https://anymodel.org/en/skills/stripe/stripe-apps/LICENSE -o ~/.agents/skills/stripe-apps/references/authentication.md https://anymodel.org/en/skills/stripe/stripe-apps/references/authentication.md -o ~/.agents/skills/stripe-apps/references/backend.md https://anymodel.org/en/skills/stripe/stripe-apps/references/backend.md -o ~/.agents/skills/stripe-apps/references/canonical-docs.md https://anymodel.org/en/skills/stripe/stripe-apps/references/canonical-docs.md -o ~/.agents/skills/stripe-apps/references/discovery.md https://anymodel.org/en/skills/stripe/stripe-apps/references/discovery.md -o ~/.agents/skills/stripe-apps/references/extension-types.md https://anymodel.org/en/skills/stripe/stripe-apps/references/extension-types.md -o ~/.agents/skills/stripe-apps/references/feedback.md https://anymodel.org/en/skills/stripe/stripe-apps/references/feedback.md -o ~/.agents/skills/stripe-apps/references/onboarding-ux.md https://anymodel.org/en/skills/stripe/stripe-apps/references/onboarding-ux.md -o ~/.agents/skills/stripe-apps/references/publishing.md https://anymodel.org/en/skills/stripe/stripe-apps/references/publishing.md -o ~/.agents/skills/stripe-apps/references/script-extensions.md https://anymodel.org/en/skills/stripe/stripe-apps/references/script-extensions.md -o ~/.agents/skills/stripe-apps/references/ui-extensions.md https://anymodel.org/en/skills/stripe/stripe-apps/references/ui-extensions.md -o ~/.agents/skills/stripe-apps/references/webhooks.md https://anymodel.org/en/skills/stripe/stripe-apps/references/webhooks.md -o ~/.agents/skills/stripe-apps/references/workflow.md https://anymodel.org/en/skills/stripe/stripe-apps/references/workflow.md
foreach ($f in 'SKILL.md','LICENSE','references/authentication.md','references/backend.md','references/canonical-docs.md','references/discovery.md','references/extension-types.md','references/feedback.md','references/onboarding-ux.md','references/publishing.md','references/script-extensions.md','references/ui-extensions.md','references/webhooks.md','references/workflow.md') { $p = Join-Path "$HOME\.claude\skills\stripe-apps" $f; New-Item -ItemType Directory -Force (Split-Path $p) | Out-Null; Invoke-WebRequest "https://anymodel.org/en/skills/stripe/stripe-apps/$f" -UseBasicParsing -OutFile $p }foreach ($f in 'SKILL.md','LICENSE','references/authentication.md','references/backend.md','references/canonical-docs.md','references/discovery.md','references/extension-types.md','references/feedback.md','references/onboarding-ux.md','references/publishing.md','references/script-extensions.md','references/ui-extensions.md','references/webhooks.md','references/workflow.md') { $p = Join-Path "$HOME\.agents\skills\stripe-apps" $f; New-Item -ItemType Directory -Force (Split-Path $p) | Out-Null; Invoke-WebRequest "https://anymodel.org/en/skills/stripe/stripe-apps/$f" -UseBasicParsing -OutFile $p }Другой агент: сохраните файл в его папку скиллов или дайте ему ссылку на файл: https://anymodel.org/en/skills/stripe/stripe-apps/SKILL.md
SKILL.md
Stripe Apps
Select and read the existing guidance for the user’s task. Product documentation describes what an extension can do; implementation guides describe how to build it. Before recommending an extension or writing code, load the applicable bundled reference files as well as the relevant product documentation. A link or filename in this skill isn’t a substitute for reading its contents.
For a capability question, check native Stripe features and the documented applicability and limitations of the extension. For an implementation request, create or modify working files using the selected guide. For an existing app, inspect its manifest, packages, installed SDK, and local agent instructions before deciding what to change.
Choose the relevant documentation
Use information already supplied by the user or existing app. Read <references/discovery.md> when you need to clarify the app’s requirements, and <references/extension-types.md> for an overview of app architectures. Ask only for missing information that affects the task.
Product capabilities
Use these existing product documents to determine which capability fits and whether the account has the required access. Don’t infer support from an extension’s name or the existence of a scaffold.
| Task | Read |
|---|---|
| Select an extension interface and its supported implementation types | Extension points and how extensions work |
| Change how items are included on subscription invoices | Item handling extensions |
| Customize prorations | Native proration behavior and prorations extensions |
| Apply customer balances | Customer balance extensions |
| Calculate discount amounts | Discount calculation extensions |
| Add an action to Stripe Workflows | Existing workflow actions, existing custom actions, and how custom actions work |
| Customize another product’s behavior | Follow the selected interface’s product documentation from the extension-point catalog |
Implementation guidance
The references/*.md files are bundled with this skill. After selecting the capability, load the applicable files before following their links to supporting documentation. Combine rows when an app needs multiple types. Follow the selected guide’s prerequisites, scaffolding, testing, and debugging instructions.
| Task | Read |
|---|---|
| Build or modify any Dashboard UI, including drawers and full-page apps | <references/ui-extensions.md>, then each selected component’s current API documentation |
| Author, test, or debug a script extension | <references/script-extensions.md>, then the selected extension point’s implementation guide |
| Build a custom-action script | <references/script-extensions.md> and build a custom action with a script |
| Build a custom-action remote function | Build a custom action with a remote function |
| Build a self-hosted UI back-end or webhook service | <references/backend.md> and <references/authentication.md>; also load <references/webhooks.md> when receiving Stripe events |
| Store app credentials with the Secret Store API | The Secret Store API section in <references/backend.md> and store secrets, including for apps without a self-hosted back-end |
| Look up APIs, SDK patterns, configuration, or additional extension documentation | <references/canonical-docs.md> |
Use the UI reference for layout and composition, and current component documentation for import paths, props, and styling APIs. For scripts and remote functions, follow the selected extension’s documentation; UI and self-hosted back-end instructions don’t define their runtime capabilities.
Shared app lifecycle
Read these references when the corresponding task is needed. Reuse existing apps and packages; scaffold only what is missing.
| Task | Read |
|---|---|
| Scaffold, build, test, preview, or upload an app | <references/workflow.md>, together with the selected implementation guide |
| Choose authentication for access to Stripe APIs | <references/authentication.md> |
| Receive Stripe events | <references/webhooks.md> |
| Build a first-run setup experience | <references/onboarding-ux.md> and the UI reference |
| Release versions, change installed permissions, or publish to the marketplace | <references/publishing.md> |
| Submit feedback after running app toolchain commands | <references/feedback.md> |
Load bundled reference files
- Use the task tables to select every applicable bundled reference under
references/, then open those files with a file-reading tool before starting the corresponding work. For example, UI with a self-hosted back-end needs both UI and back-end guidance; onboarding also needs the UI reference. - Follow relevant pointers to other bundled references inside the files you load, including filenames written as code rather than links. For example, back-end guidance can require authentication guidance, and changing permissions can require publishing guidance. Use this skill’s direct links to locate those files.
- Read the canonical documentation required by those references. External documentation supplements the bundled guidance on workflow, layout, and other task-specific decisions.
- Resolve
references/paths relative to this skill’s directory and bare reference filenames relative to itsreferences/directory. When reading the hosted skill, fetch the corresponding reference URLs relative to the skill URL. - Load only references relevant to the task, and reuse contents already read during the session unless they have changed. A full-stack app doesn’t require every document in the skill.
- Read canonical pages using the available documentation tools. Prefer
stripe docswhen available, including for pages that require account access. - Use current product documentation and the installed SDK’s types for API contracts and limitations. If an example in a reference disagrees, check the version and follow the applicable canonical documentation.
- Read any interface-specific agent instructions supplied with an existing or newly generated extension. If none are present, use the linked product and implementation guides.
- If the documentation doesn’t establish that an extension meets a requirement, state what is unknown or unsupported before proceeding.
- Keep the work within the user’s request. Report the changes, validation results, and remaining steps relevant to that app.
Подключить через AnyModel API
Скилл работает на той модели, которую использует агент. Подключите Claude Code, Codex или Cursor к AnyModel и запускайте его на Claude, GPT, Gemini и других моделях по одному ключу — оплата за токены, без подписки.
AnyModel