stripe/ai

stripe-implementation-planner

Plans Stripe product selection and integration architecture for an initial Stripe setup or a material expansion of an existing setup.

Vedi sorgente

Come usare

  1. Copia il comando e controlla il pacchetto prima di installarlo nel tuo ambiente agente.
  2. Controlla strumenti, credenziali e ambienti richiesti nel documento originale.
  3. Descrivi input e risultato desiderato; confronta l’output con le fonti.
npx skills add https://github.com/stripe/ai --skill stripe-implementation-planner

Prima di iniziare

  • L’installazione non include abbonamenti, quote API o accesso ai file.
  • Stelle e installazioni indicano attività, non un test indipendente di qualità o sicurezza.
Documento Skill originale

Contenuto dal repository con titoli, esempi, codice, tabelle, link e immagini preservati.

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
  1. Preserve the user’s full requirements. Don’t collapse a multi-product or mixed-channel request into a narrower use case.
  1. 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.
  1. 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.
  1. Run stripe tools plan --help for the latest usage instructions.
  1. Run the planner with the user’s complete business and implementation context:
sh
stripe tools plan --message "<complete business and implementation context>"
  1. Follow the current help and command responses to generate and refine the plan.
  1. 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.
  1. 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.
dallo stesso repository

Altri Skills

Tutti gli Skills
stripe
Ufficiale

stripe-best-practices

Guides Stripe integration decisions across development and test environment planning (separate sandboxes vs the shared test mode sandbox), API selection (Checkout Sessions vs PaymentIntents), Connect platform setup (Accounts v2, controller properties), billing/subscriptions, tax and registrations (Stripe Tax, automatictax, product tax codes), Treasury financial accounts, integration options (Checkout, Payment Element), migrating from deprecated Stripe APIs, and security best practices (API key m

Installazioni totali
104K
GitHub Stars
2,1K
Aggiornato
21 nov
stripe
Ufficiale

upgrade-stripe

Guide for upgrading Stripe API versions, webhook endpoints, server-side SDKs, Stripe.js, and mobile SDKs

Installazioni totali
76,5K
GitHub Stars
2,1K
Aggiornato
18 nov
stripe
Ufficiale

stripe-projects

Use when the user wants to provision infrastructure or third-party services using Stripe Projects. Triggers: "I need a database", "set up auth", "add caching", "give me a Postgres", "provision Redis", "I need hosting", "add a vector DB", "get me an API key for X", "get credentials for X", "sign up for a service", "set up monitoring", "show me the catalog", "what can I provision", "browse providers", "add an LLM provider", "configure model provider", "add email sending", "set up search", "add a m

Installazioni totali
72,1K
GitHub Stars
2,1K
Aggiornato
21 nov
stripe
Ufficiale

metronome

Guides Metronome usage-based billing integration decisions — event ingestion (single and batch, idempotency, billable metrics), contract design (rate cards, overrides, dimensional pricing, products), invoicing lifecycle (grace periods, finalization, Stripe sync), credit and commit management (prepaid, postpaid, thresholds, auto-recharge), and Stripe integration (arrears invoicing, tax providers, line item limits). Use when building, modifying, or reviewing any Metronome integration — including i

Installazioni / 1h
1
GitHub Stars
2,1K
Aggiornato
21 nov