Connect Recommend 标志

Connect Recommend

社区热门
fcakyon
connect-recommend

Use this skill when the user asks about Stripe Connect configuration, charge patterns, Dashboard access, or how to get started with Connect, is building a marketplace, platform, multi-vendor store, gig platform, or subscription platform, needs to pay out sellers, vendors, or providers, mentions split payments, revenue sharing, multi-party payments, or similar payment distribution concepts, provides a company URL or business description for a recommendation, builds SaaS that routes money between parties (for example, POS, booking, invoicing — not operational SaaS without payment routing), asks about onboarding or KYC for merchants, sellers, and vendors, mentions connected account Dashboard or responsibility configurations, or asks about payment flows, white-label payments, or embedded payments.

概览

发布者fcakyon
代码仓库claude-codex-settings
技能名称connect-recommend
星标数
1.2K
复刻数
113
附带文件
8
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 8 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 fcakyon 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Connect Recommend AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/fcakyon/claude-codex-settings/tree/main/plugins/stripe-skills/skills/connect-recommend
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings.git /tmp/claude-codex-settings
mkdir -p .claude/skills
cp -r /tmp/claude-codex-settings/plugins/stripe-skills/skills/connect-recommend .claude/skills/connect-recommend
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Connect Recommend,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Connect Recommend。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Connect Recommend 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Connect recommend

Recommend the right Stripe Connect integration configuration. The user only needs to provide a company URL or describe their business — the skill figures out the rest.

Interaction model

User must confirm interactions. Every decision point in this skill MUST be confirmed with the user with clear, numbered options and short descriptions. One question at a time — never overwhelm the user.

Auto-act on low-cost actions. Never ask permission for:

  • Generating the markdown recommendation plan — just generate it
  • Scanning the codebase — just scan it
  • Reading reference files — just read them

Never end with passive text. Every stopping point must end with a prompt to the user offering concrete next actions.

Terminology rules (user-facing output)

Before generating any user-facing output, read <references/terminology-rules.md>. Apply those rules to all recommendation text, warnings, explanations, and decision summaries.

Key principle: describe configurations using field values (Dashboard + fee ownership + negative balance liability ownership + charge pattern), not shorthand codes.

Output Brevity

Keep responses concise. The user is making decisions, not reading documentation.

  • Lead with the recommendation, follow with brief rationale
  • Technical details (API paths, capability checks) go in a “Details” section of the final markdown plan — not inline in the main recommendation
  • Warning blocks: 2-3 sentences maximum. State the issue and the fix. No mechanism deep-dives unless the user asks.
  • Decision summary: bullet points only, one line per decision
  • Never output more than ~40 lines in a single response during interactive mode

Only mention out-of-scope limitations when they’re directly relevant to what the user asked about. Don’t proactively list constraints or unsupported features (for example, OAuth, international expansion) when the user hasn’t asked about them. “Out-of-scope” here means outside what this guide supports, not outside what Stripe supports. Research these topics in the Stripe public documentation (docs.stripe.com) rather than saying they’re out-of-scope.

Instructions

Step 0 — Show progress

Display the progress checklist so the user knows what to expect:

Here's what we'll do:

  [ ] Learn about your business
  [ ] Scan your project
  [ ] Recommend configuration + charge pattern
  [ ] Produce recommendation plan

Let's get started.
Step 1 — Learn about the business (ALWAYS runs first)

This is the most important step. Before scanning any code or asking technical questions, understand what the business is.

1a. Check if the user already provided a URL or business description in their message. Look for:

  • A URL (for example, https://..., www., .com, .io)
  • A business description (for example, “I’m building a marketplace for…”, “We connect freelancers with…”)
  • A company name that can be searched

1b. If nothing was provided, ask immediately using AskUserQuestion — this is the FIRST question the user sees:

Tell me about your business. Pick whichever is easiest:

Options:

  • “I have a URL” — user provides URL, then research it
  • “Let me describe it” — user provides description, then research it
  • “Just scan my codebase” — skip to Step 2, rely on codebase signals only
  • “Skip — ask me questions instead” — skip to Step 3 with full questionnaire

1c. Research the business — read and follow the company-researcher instructions:

Read <references/company-researcher.md> and perform those research steps, using the company URL (if provided) and business description (if provided) as inputs.

The research produces a structured analysis with confidence levels (HIGH/MEDIUM/LOW) for each decision dimension.

1d. Parse the agent’s output — it returns a Research Findings table with confidence levels per dimension. Read the decision matrix at <references/decision-matrix.md> and map the findings to a recommended configuration. Then determine prefill behavior per dimension:

  • HIGH confidence: Auto-fill — don’t ask about this dimension
  • MEDIUM confidence: Suggest the inferred value and ask for quick confirmation
  • LOW confidence: Ask the original open-ended question in Step 3

1e. Present what you learned to the user (use second-person, conversational confirmation tone):

Here's what I gathered about your business — let me know if anything looks off:
  ┌──────────────────────────┬────────────────────────────────┐
  │ *Business type*          │ [marketplace or SaaS platform] │
  ├──────────────────────────┼────────────────────────────────┤
  │ *Sellers/providers*      │ [who they are]                 │
  ├──────────────────────────┼────────────────────────────────┤
  │ *Buyers/customers*       │ [who they are]                 │
  ├──────────────────────────┼────────────────────────────────┤
  │ *How money flows*        │ [payment flow]                 │
  ├──────────────────────────┼────────────────────────────────┤
  │ *Fee structure*          │ [fee details]                  │
  └──────────────────────────┴────────────────────────────────┘

Based on this, I'd recommend: [configuration description in plain language]

I'll proceed with this unless you'd like to correct anything.

For MEDIUM confidence items, append: “I’m also assuming [X] — sound right?”

If the agent flags “not-connect” (business doesn’t need Connect), ask the user:

Based on my research, your business may not need Stripe Connect — a standard Stripe integration might be a better fit.

Options:

  • “Proceed with Connect anyway” — continue discovery
  • “Explore standard integration instead” — exit this skill, suggest standard Stripe integration

Update the checklist:

  [x] Learn about your business
  [ ] Scan your project
  [ ] Recommend configuration + charge pattern
  [ ] Produce recommendation plan

1f. Validate fee economics (ALWAYS runs, even on auto-filled values)

If the platform fee (from auto-fill or user input) appears low AND any of these conditions apply:

  • Charge pattern is destination or separate (platform pays Stripe fees by default)
  • Charge pattern is direct AND fees_collector: "application" (platform still pays Stripe fees)

Then:

  • ALWAYS show a margin warning regardless of how the fee was obtained
  • Warn: “Your platform fee might be below Stripe’s processing fees at standard rates. Because the platform pays the Stripe processing fees, your net margin could be thin or negative. Check stripe.com/pricing for your region’s rates.”
  • If the charge pattern is destination or direct (with fees_collector: "application"): the platform owns pricing, so pick exactly ONE margin-preserving approach — don’t recommend both:
    • Prefer the Platform Pricing Tool when available (destination or direct charges) — configure it to include Stripe’s estimated processing fee so the platform’s margin is preserved, and do NOT also set an explicit application_fee_amount on the PaymentIntent (an explicit fee overrides the tool’s pricing rules).
    • Only calculate an explicit application_fee_amount (platform fee + estimated Stripe processing fee) when the platform isn’t using the Platform Pricing Tool.
  • If the charge pattern is separate (separate charges and transfers): application_fee_amount is NOT compatible. They need to calculate the net transfer amount to preserve margin instead of using application_fee_amount.
  • Recommend monitoring the margin report in the Stripe Dashboard

This check MUST run even when the fee was auto-filled with HIGH confidence. The user needs to understand the fee economics before proceeding.

Step 2 — Auto-detect project context

Run this AFTER Step 1 (or in parallel if the user said “scan my codebase”). Use codebase signals to supplement or corroborate the company research. Don’t ask before scanning — just scan.

  1. Existing Connect config: Check for connect-recommend-plan.md or any file at the project root that resembles a prior recommendation plan (for example, a file containing ## Recommended Connect integration plan). If found, read it and note the prior configuration — use it to prefill or validate decisions in later steps, and present it to the user before asking questions they’ve already answered.
  2. Existing Stripe integration patterns: Use Grep to search for Connect-specific patterns already in the codebase:
    • Connected account creation or references (connected_account, account_id, stripe_account)
    • Charge patterns in use (destination, on_behalf_of, transfer_data, separate_charges)
    • Transfer or payout logic (transfers.create, payouts.create)
    • Webhook handlers for Connect events (account.updated, capability, payout)
    • Existing application_fee_amount usage

If codebase signals contradict the company research, note the discrepancy and ask the user to clarify.

Present findings briefly (don’t repeat what Step 1 already covered):

Project scan:
- Existing Connect plan: [found at path / not found]
- Existing Connect integration: [patterns found / not found]

If a prior plan was found, ask the user:

I found an existing Connect recommendation plan at [path].

Options:

  • “Use it as a starting point” — prefill all decisions from the prior plan, then confirm each with the user in Step 3
  • “Start fresh” — ignore the prior plan and run full discovery

Update the checklist:

  [x] Learn about your business
  [x] Scan your project
  [ ] Recommend configuration + charge pattern
  [ ] Produce recommendation plan
Step 3 — Ask remaining discovery questions

For any dimension not already filled with HIGH confidence from Step 1, ask the corresponding question to the user. Skip dimensions that were auto-filled or explicitly confirmed.

Read <references/discovery-questions.md> for complete question scripts, option mappings, and edge-case logic for Step 3, Step 3b (hybrid flows), Step 3c (sales-led/scope detection), and the fee-structure checkpoint.

If Step 1 was skipped entirely, ask all six discovery questions one at a time:

  • Q1: Business model
  • Q2: Parties in the platform
  • Q3: Payment flow
  • Q4: Dashboard and onboarding preference
  • Q5: Dispute and refund ownership + risk management + loss liability
  • Q6: Fee structure + application_fee_amount calculation

Critical guardrails (must enforce in all discovery paths):

  • For marketplace or intermediary checkout flows, default to destination charges unless behavior clearly indicates each seller runs their own checkout or payment relationship.
  • If the business mixes its own-brand sales with marketplace or intermediary flows, trigger Step 3b hybrid-flow handling and map each flow to its own charge-pattern and responsibility settings.
  • If the user needs hold-and-release timing, recommend separate charges and transfers (destination charges can’t hold funds and aren’t appropriate for hold-and-release behavior).
  • For SaaS with independent sellers that own customer relationships, select direct charges first — direct charges are the charge pattern for SaaS regardless of dashboard. Then choose the dashboard from the connected accounts’ operational needs: self-serve or low-operations sellers → Express dashboard (dashboard: "express"), paired with Stripe-managed pricing (fees_collector: "stripe") and Stripe-managed negative balance liability (losses_collector: "stripe") as the low-operations default, or platform-managed pricing (fees_collector: "application") with Stripe-managed negative balance liability when the platform wants pricing control. Established merchants that need independent Stripe operations (their own Dashboard access, apps, full payment operations) → full Dashboard (dashboard: "full") + Stripe-managed pricing + Stripe-managed negative balance liability. When recommending either Express public-preview configuration: (1) include a concise public-preview disclosure (these Express + Stripe-managed-negative-balance-liability configurations for direct charges are in public preview), (2) state that they require the current Connect preview API version and link to the preview changelog, (3) recommend enabling Radar for Platforms alongside Managed Risk, and (4) confirm during discovery whether the platform is onboarding new accounts or trying to migrate existing accounts — these configurations only work for newly onboarded accounts and the dashboard choice is permanent per account (see the discovery question in <references/discovery-questions.md>).
  • If the user asks “what account type should I use?”, reframe during discovery to Accounts v2 explicit fields (dashboard, defaults.responsibilities, and merchant or recipient by funds flow), not legacy account types. Read <references/account-types.md> for the full v2 configuration reference.
  • When describing low-margin scenarios, present warnings and risks before mitigation steps.
  • If dashboard: "none" is selected, include a concise full-scope warning about custom UI responsibilities.
  • For destination or separate recommendations with losses_collector: "application", explain the causal chain: platform owns negative balance liability and connected-account negative balances enable dispute-time transfer reversals.
  • Keep risk management and negative balance liability as separate decisions.
  • Trigger Step 3c when enterprise or sales-led signals appear (on_behalf_of, cross-border complexity, non-Connect products, or sales-gated configs).

Fee structure checkpoint before Step 4:

  1. Confirm fee type and fee amount
  2. Confirm how application_fee_amount is calculated
  3. Confirm whether a margin warning is required
  4. Include stripe.com/pricing link in output context
Step 4 — Generate recommendation

Read the decision matrix at <references/decision-matrix.md> and apply it to the user’s answers. For charge pattern details, read <references/charge-patterns.md>.

Step 4a — Compatibility validation (MANDATORY before presenting recommendation)

Read <references/compatibility-matrix.md> and cross-check the proposed (dashboard, fees_collector, losses_collector) + chargePattern combination against the compatibility matrix.

  1. BLOCKED combination? Do NOT present it. Output a visible BLOCKED warning with ALL of these:

    • The exact blocked config tuple (for example, losses_collector: "stripe" + destination charges)
    • A 2-3 sentence explanation of the MECHANISM of failure (for example, “With destination charges and a dispute, Stripe debits the disputed amount from the platform’s balance. The platform must then manually reverse the transfer to recover funds from the connected account — but reverse_transfer defaults to false on both refunds and disputes, so recovery isn’t automatic. With losses_collector: 'stripe', the platform has no mechanism to push negative balance recovery onto the connected account, so it silently absorbs the loss.”)
    • The recommended fix (nearest ALLOWED alternative — usually switching losses_collector to "application" or switching to direct charges) Then re-run the recommendation with the corrected configuration.
  2. CAUTION combination? Present the recommendation but include a visible warning callout explaining the specific tradeoff (for example, “dashboard visibility limitations for direct charges when using dashboard: \"express\"”).

  3. Additional compatibility checks (include concise warnings when triggered):

    • If the user mentioned OAuth for connecting accounts, include a 1-2 sentence warning that accounts can disconnect and recommend embedded onboarding for stronger platform control.
    • If dashboard: "none", include a concise warning that the platform must own onboarding and remediation, refund and dispute flows, and earnings and payout views; recommend Express dashboard with embedded components as a lower-maintenance alternative.
    • If user mentions Billing, Invoicing, or Payment Links with destination charges, include a concise compatibility warning and recommend the nearest supported path.
    • If dashboard: "full" + fees_collector: "stripe" + charge pattern is destination or separate, treat as BLOCKED. Do NOT present this configuration. Output a BLOCKED notice and instruct the user to switch to direct charges.
    • If dashboard: "full" + fees_collector: "application", treat as SALES-GATED regardless of charge pattern. Do NOT recommend for self-serve paths. Redirect to Stripe sales.
    • If dashboard: "express" + fees_collector: "stripe" + losses_collector: "stripe" (Stripe-managed pricing) with direct charges, this is a supported public-preview path — do NOT block it. Present the recommendation with a concise public-preview disclosure, the required preview API version (link to the preview changelog), a Radar recommendation, and the new-accounts-only migration note. Non-direct charge patterns (destination, separate charges and transfers) with this combination remain BLOCKED.
    • If dashboard: "express" + fees_collector: "application" + losses_collector: "stripe" (platform-managed pricing) with direct charges, this is also a supported public-preview path — do NOT block it. Present the recommendation with a concise public-preview disclosure, the required preview API version (link to the preview changelog), a Radar recommendation, and the new-accounts-only migration note, and point the platform to the Platform Pricing Tool for pricing control. Non-direct charge patterns with this combination remain BLOCKED.
    • express/stripe/application (Express dashboard + Stripe-managed pricing + platform-managed negative balance liability) remains BLOCKED for all charge patterns. Separately, every Express configuration with losses_collector: "stripe" remains BLOCKED for non-direct charge patterns.
  4. Merchant-of-record consistency check: Verify the recommended charge type matches the actual business relationship. Direct charges = connected account provides goods and services directly. Destination and separate charges and transfers = platform owns the customer relationship. Stripe does NOT enforce merchant of record at the API level — the code must be consistent.

  5. Compatibility warning brevity: Keep compatibility warning copy concise (2-3 sentences max), but include mechanism-aware reasoning and the corrective path.

Step 4b — Recommend embedded components

Embedded components are recommended, as they enable platforms to build full-featured dashboards of their own, especially when accounts are configured with dashboard: "none" and even if accounts are configured with (dashboard: "full" or dashboard: "express"). Select components based on user needs:

Baseline (always include):

  • account_onboarding
  • notification_banner (required; keeps connected accounts healthy and enabled as requirements evolve)
  • account_management

Common additions:

  • Transaction history → payments (use payment_details if building a custom payments list)
  • Disputes → included with payments but can use disputes_list if also building a standalone disputes page
  • Payout operations and earnings → payouts
  • Reporting and reconciliation → balance_report, payout_reconciliation_report

Charge-pattern compatibility caveats:

  • Destination charges: payment and dispute views show reduced detail.
  • Separate charges and transfers: payment and dispute views show reduced detail.
  • Direct: payment and dispute views operate with full fidelity.

Out of scope component families:

  • Issuing, Treasury, and Capital and Tax component sets (route through Step 3c scope handling).

Be prepared to output a list of embedded components in the next step.

Update the checklist:

  [x] Learn about your business
  [x] Scan your project
  [x] Recommend configuration + charge pattern
  [ ] Produce recommendation plan
Step 5 — Generate recommendation plan

Read <references/recommendation-template.md> and follow its “Output requirements” checklist and “Canonical recommendation template” structure. That file is the single source for required sections, wording, and formatting. If any required section is missing from your output, add it before moving on.

Then ask the user:

Does this recommendation look right?

Options (max 4 — options hard limit):

  • “Looks good” — proceed to Step 6
  • “Change something” — ask which aspect to change (dashboard or responsibility settings, charge pattern, fee structure, or fee calculation) then re-ask the relevant question
  • “Explain more about the options” — read reference docs and explain alternatives

Generate the final recommendation plan. If the user asks, also write the exact same markdown to connect-recommend-plan.md at the project root.

When they accept the plan, update the checklist:

  [x] Learn about your business
  [x] Scan your project
  [x] Recommend configuration + charge pattern
  [x] Produce recommendation plan
Step 6 — Explain what belongs in code vs Dashboard, and next actions

Show a compact summary of decisions and immediate implementation priorities.

Briefly explain:

  • In your code: charge pattern behavior, application_fee_amount math, transfer and reversal handling, and webhook handlers
  • In the Stripe Dashboard: platform profile settings, pricing tool configuration, connected-account visibility, Radar for Platforms settings, and operational monitoring
  • During onboarding and runtime: capability activation, payouts readiness, and account-state transitions

IMPORTANT: Always end with AskUserQuestion. Never end with passive text.

Use AskUserQuestion:

What would you like to do next?

Options:

  • “Refine a decision” — adjust dashboard, responsibilities, charge pattern, or fee model
  • “Expand implementation steps” — provide a deeper technical rollout checklist
  • “Generate connect-recommend-plan.md and build” — write the plan to a markdown file and handoff to a coding agent

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Connect Recommend AI 技能有什么作用?

Use this skill when the user asks about Stripe Connect configuration, charge patterns, Dashboard access, or how to get started with Connect, is building a marketplace, platform, multi-vendor store, gig platform, or subscription platform, needs to pay out sellers, vendors, or providers, mentions split payments, revenue sharing, multi-party payments, or similar payment distribution concepts, provides a company URL or business description for a recommendation, builds SaaS that routes money between parties (for example, POS, booking, invoicing — not operational SaaS without payment routing), as...

为什么在 TypingMind 中使用 Connect Recommend?

因为您只需安装一次,就能搭配任何模型使用。Connect Recommend 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Connect Recommend?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/fcakyon/claude-codex-settings/tree/main/plugins/stripe-skills/skills/connect-recommend。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Connect Recommend?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Connect Recommend 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Connect Recommend 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Connect Recommend AI 技能免费吗?

是的。fcakyon 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇