Skip to content

Commit 6eb235f

Browse files
chore(deps): update agent skills (plugins/agentic-engineering/skills/stripe-best-practices) (#720)
* chore(deps): update agent skills (plugins/agentic-engineering/skills/stripe-best-practices) * chore(deps): refresh plugin metadata for synced content --------- Co-authored-by: botantler-1[bot] <185060876+botantler-1[bot]@users.noreply.github.com>
1 parent 176c9e3 commit 6eb235f

7 files changed

Lines changed: 33 additions & 15 deletions

File tree

‎.claude-plugin/marketplace.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{
2121
"name": "agentic-engineering",
2222
"description": "The autonomous engineering system for repository portfolios and everything its agents need — engineer, read-only surveyor, meta-engineer and Flux troubleshooter agents; portfolio, product, spend and improvement workflows; GitHub, CodeRabbit review, security, library documentation, Go, Kubernetes, Flux, Talos, SvelteKit frontend, Stripe payments, engineering-practice, design, product-management, marketing, finance and productivity skills; and the MCP servers they use; configured by the consumer AGENTS.md",
23-
"version": "7.8.8",
23+
"version": "7.8.9",
2424
"source": "./plugins/agentic-engineering"
2525
},
2626
{

‎plugins/agentic-engineering/.claude-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "agentic-engineering",
33
"description": "The autonomous engineering system for repository portfolios and everything its agents need — engineer, read-only surveyor, meta-engineer and Flux troubleshooter agents; portfolio, product, spend and improvement workflows; GitHub, CodeRabbit review, security, library documentation, Go, Kubernetes, Flux, Talos, SvelteKit frontend, Stripe payments, engineering-practice, design, product-management, marketing, finance and productivity skills; and the MCP servers they use; configured by the consumer AGENTS.md",
4-
"version": "7.8.8",
4+
"version": "7.8.9",
55
"author": {
66
"name": "devantler-tech",
77
"url": "https://github.com/devantler-tech"

‎plugins/agentic-engineering/.codex-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "agentic-engineering",
33
"description": "The autonomous engineering system for repository portfolios and everything its agents need — engineer, read-only surveyor, meta-engineer and Flux troubleshooter agents; portfolio, product, spend and improvement workflows; GitHub, CodeRabbit review, security, library documentation, Go, Kubernetes, Flux, Talos, SvelteKit frontend, Stripe payments, engineering-practice, design, product-management, marketing, finance and productivity skills; and the MCP servers they use; configured by the consumer AGENTS.md",
4-
"version": "7.8.8",
4+
"version": "7.8.9",
55
"author": {
66
"name": "devantler-tech",
77
"url": "https://github.com/devantler-tech"

‎plugins/agentic-engineering/CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog — `agentic-engineering`
22

3+
## 7.8.9 — 2026-11-21
4+
5+
**Changed** — sync `stripe-best-practices` from `https://github.com/stripe/ai` at `refs/heads/main`.
6+
37
## 7.8.8 — 2026-11-21
48

59
**Changed** — sync `golang-pro` from `https://github.com/Jeffallan/claude-skills` at `refs/tags/v0.4.21`.

‎plugins/agentic-engineering/skills/stripe-best-practices/SKILL.md‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@ metadata:
44
github-path: skills/stripe-best-practices
55
github-ref: refs/heads/main
66
github-repo: https://github.com/stripe/ai
7-
github-tree-sha: a78c5020f98df8948ebdc94f747313bdd3a1cb2c
7+
github-tree-sha: 98ee18488de861d869b64a3b0af35bfbfb07c51a
88
name: stripe-best-practices
99
---
10-
Latest Stripe API version: **2026-10-28.endive**. Always use the latest API version and SDK unless the user specifies otherwise.
10+
Latest Stripe API version: **2026-11-18.endive**. Always use the latest API version and SDK unless the user specifies otherwise.
1111

1212
Development and testing environment default: For new integration development, use separate [sandboxes](https://docs.stripe.com/sandboxes.md) instead of the account’s shared test mode sandbox. Sandboxes isolate settings and test data from live mode. Use separate sandboxes for local development and CI. When stronger isolation is useful, dedicate sandboxes to development teams or testing scenarios. Use the shared test mode sandbox only for an existing integration that depends on it or when a required feature doesn’t support general sandboxes.
1313

1414
Latest SDK versions:
1515

1616
| Language | Latest version |
1717
| --- | --- |
18-
| Ruby | 20.0.0 |
19-
| Python | 16.0.0 |
20-
| Node.js | 23.0.0 |
21-
| PHP | 22.0.0 |
22-
| Java | 34.0.0 |
23-
| Go | 87.0.0 |
24-
| .NET | 53.0.0 |
18+
| Ruby | 21.1.0 |
19+
| Python | 17.1.0 |
20+
| Node.js | 23.2.0 |
21+
| PHP | 23.1.0 |
22+
| Java | 34.2.0 |
23+
| Go | 87.2.0 |
24+
| .NET | 53.2.0 |
2525

2626
If you don’t have a Stripe account, you can use the CLI to generate a sandbox test account with no registration required. [Install the Stripe CLI](https://docs.stripe.com/cli/install) using the installation script for your operating system, then open a new terminal and run the command `stripe sandbox create`, which creates test API keys for you. When you recommend this, explain that [a sandbox is a Stripe test environment](https://docs.stripe.com/sandboxes.md).
2727

@@ -45,7 +45,7 @@ API key default: Always recommend a [restricted API key (RAK)](https://docs.stri
4545
| Embedded financial accounts / banking | v2 Financial Accounts | <references/treasury.md> |
4646
| Security (key management, RAKs, webhooks, OAuth, 2FA, Connect liability) | See security reference | <references/security.md> |
4747

48-
Read the relevant reference file before answering any integration question or writing code.
48+
Read the relevant reference file before answering any integration question or writing code. Reference paths are relative to this skill’s directory, not to the docs.stripe.com root. If you don’t have the skill files locally, append the path to **https://docs.stripe.com/.well-known/skills/stripe-best-practices/**. For example, fetch **https://docs.stripe.com/.well-known/skills/stripe-best-practices/references/connect.md**.
4949

5050
## Critical rules
5151

‎plugins/agentic-engineering/skills/stripe-best-practices/references/connect.md‎

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Critical rules (never violate)
44

5-
1. **ALWAYS use Accounts v2 API** (`POST /v2/core/accounts`). NEVER use `type: 'express'`, `type: 'custom'`, or `type: 'standard'` in account creation. NEVER use `stripe.accounts.create({ type: ... })`. These are deprecated v1 patterns.
5+
1. **ALWAYS use Accounts v2 API** (`POST /v2/core/accounts`). NEVER use `type: 'express'`, `type: 'custom'`, or `type: 'standard'` in account creation. NEVER use `stripe.accounts.create({ type: ... })`. These are deprecated v1 patterns. For a live platform that already has v1 connected accounts, see [Existing v1 platforms](#existing-platforms) for how to adopt v2 incrementally.
66
2. **ALWAYS check v2 capability status** before processing. See “Go-live readiness” section below.
77
3. **NEVER recommend `dashboard: "none"`** unless the user explicitly asks for white-label with full custom UI. Default to `express` for marketplaces and `full` for SaaS. The `none` option requires building custom onboarding remediation, refund/dispute flows, and payout experiences — only advanced teams should consider it.
88
4. **ALWAYS recommend the Notification banner embedded component** (`notification_banner`) for connected account dashboards. It keeps accounts healthy as requirements evolve.
@@ -40,7 +40,7 @@ Configure connected accounts using three independent dimensions:
4040
- **SaaS platform** → `dashboard: "full"` — full Stripe Dashboard for independent businesses
4141
- **White-label (advanced only)** → `dashboard: "none"` — platform must build ALL UX including onboarding remediation, disputes, payouts
4242

43-
If dashboard is `express`, provide access through [login links](https://docs.stripe.com/api/accounts/login_link/create.md). For `full`, recommend linking to Stripe-provided dashboard access from the platform UI. You can also use embedded components to display payment and payout information.
43+
If dashboard is `express`, provide access through Dashboard Account Links: create one with the [Account Links v2 API](https://docs.stripe.com/api/v2/core/account-links/create.md), `use_case.type` set to `account_dashboard`, and `use_case.account_dashboard.refresh_url` set to a URL that creates a new link. Generate a new link for each Open Dashboard action. For `full`, recommend linking to Stripe-provided dashboard access from the platform UI, or, to send a `full` dashboard user to their durable dashboard link, you can also create a Dashboard Account Link. These links don’t bypass Stripe authentication. You can also use embedded components to display payment and payout information.
4444

4545
### SaaS vs. Marketplace responsibility defaults
4646

@@ -52,6 +52,8 @@ If dashboard is `express`, provide access through [login links](https://docs.str
5252
- Charge pattern: Direct charges (connected account is merchant of record)
5353
- Code sample: [/connect/saas/tasks/create#code-sample](https://docs.stripe.com/connect/saas/tasks/create.md#code-sample)
5454

55+
**Customer-only accounts**: Setting `dashboard` or `defaults.responsibilities` on an account with only the Customer configuration fails with `unsupported_field_for_configs`. If a later update request adds `configuration.merchant` or requests `stripe_balance.stripe_transfers` for `configuration.recipient`, that request must include `dashboard` and `defaults.responsibilities`. You can’t change them after you set them.
56+
5557
**Marketplace (destination charges):**
5658

5759
- `dashboard: "express"`
@@ -154,6 +156,16 @@ Default to embedded onboarding (account_onboarding component or account links).
154156
- `dashboard: "full"` with destination or separate charges has limited functionality; prefer `dashboard: "express"` for those charge patterns
155157
- Express + destination/separate requires platform-run webhook recovery for disputes and transfer reversals
156158

159+
## Existing v1 platforms
160+
161+
The v2 rules in this reference apply to new integrations and new connected accounts. For a live platform whose connected accounts were created with v1 account types (`type: 'standard'`, `'express'`, or `'custom'`):
162+
163+
- **Don’t recreate accounts**: Accounts v2 endpoints work with existing v1 accounts without changing them, and v1 endpoints work with accounts created through v2. A newly created v1 account might take up to 10 minutes before it’s available to v2 endpoints. It sends a `v2.core.account.created` event when it’s ready.
164+
- **Migrate in stages**: Use this order: listen for v2 (thin) events on a new endpoint, then move `create` calls to `/v2/core/accounts`, then `update` calls, then `retrieve` calls. Both API versions work during the transition, so you don’t need to switch everything at once. Follow [Use the Accounts v2 API in your existing integration](https://docs.stripe.com/connect/accounts-v2/migrate-integration.md).
165+
- **Keep charge flows as they are**: Destination charges and direct charges reference the connected account by the same `acct_` ID in either API version. On subscriptions, `application_fee_percent` and `transfer_data[destination]` don’t change. The customer reference changes only when you bill a customer-configured account: pass it as `customer_account` instead of `customer`. See [Create subscriptions with Stripe Billing](https://docs.stripe.com/connect/subscriptions.md).
166+
- **Some features still require v1**: These include OAuth, the recipient service agreement, and the `treasury` and `card_issuing_*` capabilities. See the limitations section of the migration guide.
167+
- **Staying on v1 is acceptable**: If the platform doesn’t need v2 features, such as customer-configured accounts or paying the platform from a connected account’s Stripe balance, it can keep its v1 integration. Don’t recommend a rewrite only to replace `type`.
168+
157169
## Traps to avoid
158170

159171
- Using legacy account types (`type: 'standard'`, `type: 'express'`, `type: 'custom'`) — use v2 dimensions instead
@@ -171,3 +183,4 @@ Default to embedded onboarding (account_onboarding component or account links).
171183
- [Interactive platform guide](https://docs.stripe.com/connect/interactive-platform-guide.md) — Step-by-step platform builder.
172184
- [Design an integration](https://docs.stripe.com/connect/design-an-integration.md) — Detailed risk and responsibility decisions.
173185
- [Connected account configuration (v2)](https://docs.stripe.com/connect/accounts-v2/connected-account-configuration.md) — Account setup reference.
186+
- [Use the Accounts v2 API in your existing integration](https://docs.stripe.com/connect/accounts-v2/migrate-integration.md) — Incremental migration for platforms with v1 connected accounts.

‎plugins/agentic-engineering/skills/stripe-best-practices/references/payments.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ Don’t call other deprecated or outdated API endpoints unless there is a specif
9494
| Sources API | Deprecated | Setup Intents | [Setup Intents docs](https://docs.stripe.com/api/setup_intents.md) |
9595
| Tokens API | Outdated | Setup Intents or Checkout Sessions | — |
9696
| Card Element | Legacy | Payment Element | [Migration guide](https://docs.stripe.com/payments/payment-element/migration.md) |
97+
| `payment_method_types` | Not recommended | Dynamic payment methods | [Migration guide](https://docs.stripe.com/payments/payment-methods/dynamic-payment-methods.md#migrate-to-dynamic-payment-methods) |
9798

9899
## PCI compliance
99100

0 commit comments

Comments
 (0)