Skill · em Publicar e operar

upgrade-stripe

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

Procedência

Antes de instalar

1 arquivo · 8,6 KB · só texto, nenhum script

Instalar na sua CLI

O comando baixa a versão fixada (commit af7c088) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/skills/upgrade-stripe/.

d=".claude/skills/upgrade-stripe"
u="https://raw.githubusercontent.com/stripe/ai/af7c088ac40115e23ab5fa60b5b968d71e801b97/skills/upgrade-stripe"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/stripe/ai/af7c088ac40115e23ab5fa60b5b968d71e801b97/LICENSE"

Global: instala em ~/.claude/skills/upgrade-stripe/.

d="$HOME/.claude/skills/upgrade-stripe"
u="https://raw.githubusercontent.com/stripe/ai/af7c088ac40115e23ab5fa60b5b968d71e801b97/skills/upgrade-stripe"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/stripe/ai/af7c088ac40115e23ab5fa60b5b968d71e801b97/LICENSE"

Codex

Neste projeto: instala em .agents/skills/upgrade-stripe/.

d=".agents/skills/upgrade-stripe"
u="https://raw.githubusercontent.com/stripe/ai/af7c088ac40115e23ab5fa60b5b968d71e801b97/skills/upgrade-stripe"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/stripe/ai/af7c088ac40115e23ab5fa60b5b968d71e801b97/LICENSE"

Global: instala em ~/.agents/skills/upgrade-stripe/.

d="$HOME/.agents/skills/upgrade-stripe"
u="https://raw.githubusercontent.com/stripe/ai/af7c088ac40115e23ab5fa60b5b968d71e801b97/skills/upgrade-stripe"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/stripe/ai/af7c088ac40115e23ab5fa60b5b968d71e801b97/LICENSE"

Antigravity

Neste projeto: instala em .agents/skills/upgrade-stripe/.

d=".agents/skills/upgrade-stripe"
u="https://raw.githubusercontent.com/stripe/ai/af7c088ac40115e23ab5fa60b5b968d71e801b97/skills/upgrade-stripe"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/stripe/ai/af7c088ac40115e23ab5fa60b5b968d71e801b97/LICENSE"

Global: instala em ~/.gemini/antigravity-cli/skills/upgrade-stripe/.

d="$HOME/.gemini/antigravity-cli/skills/upgrade-stripe"
u="https://raw.githubusercontent.com/stripe/ai/af7c088ac40115e23ab5fa60b5b968d71e801b97/skills/upgrade-stripe"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/stripe/ai/af7c088ac40115e23ab5fa60b5b968d71e801b97/LICENSE"

Peça ao Rook

Já usa o Rook Labs? Cole no chat do Rook: instale a skill https://rooklabs.sh/marketplace/stripe.ai.upgrade-stripe

Prévia do SKILL.md

---
name: upgrade-stripe
description: >-
  Guide for upgrading Stripe API versions, webhook endpoints, server-side SDKs,
  Stripe.js, and mobile SDKs

---

# Upgrading Stripe Versions

## Choose a target API version

If the user specifies a target API version, use it. Otherwise, look up the current version on docs.stripe.com with any documentation or web tool available to you, for example `stripe docs /api/versioning` with the Stripe CLI. The [API versioning](https://docs.stripe.com/api/versioning.md) page states it in the sentence…

Bundled fallback API version: `2026-08-26.dahlia`. This value is only a snapshot from the last time this skill was generated, on 2026-09-25. Version identifiers start with their release date in YYYY-MM-DD format and new stable versions are released monthly, so a fallback version dated more than a month ago is probably …

Before making changes, compare the target with each API version the integration pins: client configuration, per-request overrides, and webhook endpoints. Unless the user explicitly asks for it, don’t move any pin to an older version or a stable pin to a preview version. If a pin already matches the target, report it as…

When reviewing webhook endpoints and event destinations, distinguish snapshot events from thin events. Thin event payloads are unversioned, so they don’t need to be upgraded when you change your API version. API calls that retrieve the full event or related resource remain versioned.

For SDKs that support explicit API version overrides, use the selected target in client configuration and per-request overrides. Use it in curl `Stripe-Version` test headers, too. Replace bundled API versions shown in those examples with the selected target before copying or running them. For Java, Go, and .NET, select…

## Understanding Stripe API Versioning

Stripe uses date-based API versions (e.g., `2026-08-26.dahlia`, `2025-08-27.basil`, `2024-12-18.acacia`). Your account’s API version determines request/response behavior.

### Types of Changes

**Backward-Compatible Changes** (don’t require code updates):

- New API resources
- New optional request parameters
- New properties in existing responses
- Changes to opaque string lengths (e.g., object IDs)
- New webhook event types

**Breaking Changes** (require code updates):

- Field renames or removals
- Behavioral modifications
…

Ver todo o marketplace