/flexport-pack:flexport-upgrade-migration [current-version-and-target-version]from flexport-pack
Upgrades a Flexport REST integration by managing account version settings and request overrides while handling backward-compatible additions. Use when changing Flexport-Version headers or testing new schemas.
Ships in flexport-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Flexport supports account-default version selection plus per-request Flexport-Version overrides. Backward-compatible additions can include attributes, resources, optional parameters, enum values, and event types, so readers and routers must be additive-tolerant.
Record the account default and explicit header behavior for every client; do not assume a hardcoded v2 path determines the contract.
Separate breaking target-version differences from compatible additions that may appear without an account-version switch.
Ignore or preserve unknown optional fields, route unknown enum/event values safely, and fail only when a required invariant is absent.
Exercise approved read-only calls using the target Flexport-Version header while production remains on its current default.
Deploy tolerant code first, switch a bounded read cohort, compare business outcomes, then enable mutations only after reconciliation passes.
Coordinate account-default changes after all clients are ready, retain explicit rollback overrides, and verify events plus in-flight operations.
REST calls authenticate with a cached OAuth 2.0 client-credentials Bearer token using audience https://api.flexport.com, or an explicitly accepted broad API key. Use distinct credentials per workload and never log credentials or tokens. MCP calls use the authenticated connection to https://mcp.flexport.com/mcp and remain subject to each tool's documented account permissions.
Use Read and Grep for discovery and evidence. Use Write or Edit only for the approved artifact, code, configuration, test, or receipt described by this workflow; do not make an unapproved Flexport-side change.
Return a machine-reviewable receipt in this shape; adapt the operation values, but never place credentials or provider payloads in it:
surface: rest-v3
operation: shipment-read
decision: approved
outcome: verified
evidence:
release_sha: recorded-out-of-band
provider_reference: redacted
rollback_owner: logistics-platform
A parser learns to preserve unknown shipment attributes and quarantine unknown event types. The team tests reads with Flexport-Version: 3, canaries them, then changes the account default only after every client passes.
| Failure | Response |
|---|---|
| Effective version unknown | Stop and inspect account settings plus outbound headers. |
| Unknown additive enum crashes routing | Quarantine safely and make parsing tolerant. |
| Read results diverge | Pause migration and reconcile semantic, expansion, and pagination differences. |
| Rollback header untested | Do not change the account default. |
What SKILL.md sets; muted values are Claude Code's defaults
inherithighThree short reads, in order
24 skills in this plugin
/flexport-ci-integrationGate Flexport integrations in CI with credential-free contract tests and an optional protected read-only smoke lane. Use when adding REST, MCP, webhook, version, or mutation safety checks. Trigger with: "test Flexport in CI", "Flexport contract tests", "secure Flexport CI"./flexport-common-errorsClassify Flexport REST, OAuth, webhook, and MCP failures into safe operator actions. Use when triaging status/code/message errors, permission failures, validation problems, or ambiguous mutations. Trigger with: "debug Flexport error", "Flexport 422", "Flexport permission denied"./flexport-npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin flexport-packOther plugins' skills for the same job