跳到正文
TakoAPI
返回技能列表

stripe-best-practices

由 ifoster01 提供

Transportation
1.5k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Best practices for building Stripe payment integrations.

描述

该技能的功能

A knowledge skill that encodes Stripe's recommended integration patterns, deprecated API warnings, and decision rules for payments, subscriptions, and Connect platforms. It guides agents toward current Stripe APIs and away from legacy ones like Charges API, Card Element, and Sources API.

Encoding these rules in a skill prevents agents from defaulting to outdated Stripe APIs that Stripe itself recommends against, which can cause compliance issues and integration debt.

何时使用

  • Choosing between CheckoutSessions and PaymentIntents for a new checkout flow
  • Setting up recurring billing for a SaaS product
  • Migrating an existing integration off the deprecated Charges API
  • Building a marketplace with Connect and selecting the right charge type
  • Saving a customer payment method without an immediate charge

示例工作流

输入

User asks: I want to add subscription billing to my SaaS app

智能体
  1. 1

    Identifies recurring revenue use case and applies Billing APIs preference

  2. 2

    Recommends Stripe Billing APIs combined with Checkout frontend

  3. 3

    Advises against raw PaymentIntents for subscription management

  4. 4

    Suggests Stripe-hosted Checkout as the default frontend unless more control is needed

  5. 5

    References stripe:billing/design-integration for integration planning

输出

A recommended integration approach using Stripe Billing APIs and Checkout, with links to relevant Stripe docs

前置要求

  • Stripe account
  • Stripe API keys

安装

clawhub install ifoster01/stripe-best-practices

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接