/flexport-pack:flexport-local-dev-loop [surface-and-feature]from flexport-pack
Develop Flexport integrations locally using sanitized contract fixtures for REST v3 parsers, MCP tool adapters, webhook verification, and failure handling, with explicit live-test boundaries.
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.
Most development should run without credentials. Model official v3, MCP, and webhook shapes as fixtures, then use a separately approved read-only live smoke test only for gaps fixtures cannot prove.
Name the exact REST endpoint, MCP tool, or webhook event and expected business outcome.
Build synthetic fixtures from documented field names/types. Replace all identifiers, routes, parties, financials, and document content.
Cover required fields, unknown additive fields, opaque cursors/links, status/code/message errors, and missing authorization.
Sign exact synthetic bytes with a test secret and test malformed, wrong-length, duplicate, and valid SHA-256 signatures before parsing.
If needed, use an approved credential for one read-only operation. Never create bookings, documents, purchase orders, or invoices from the local loop.
Commit fixtures and assertions, not tokens or live payloads; record schema source and review date.
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 developer implements browse_shipments pagination using synthetic end_cursor fixtures, adds an unknown field to prove tolerant parsing, and keeps the real MCP connection disabled in default tests.
| Failure | Response |
|---|---|
| Fixture contains live data | Replace it with synthetic values and purge the original from artifacts. |
| Docs and observed shape differ | Record a minimal field-name diff and verify version/account context. |
| Test requests a mutation | Block it at the adapter and require an explicit higher environment. |
| Credential discovered in repository | Revoke or rotate, remove it from history, and repair secret injection. |
What SKILL.md sets; muted values are Claude Code's defaults
inherithighThree short reads, in order
flexport, contract-fixtures, webhook-testing, local-development, oauth2
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