From acp-agentic-commerce
Provides ACP patterns for idempotency, error handling, 3D Secure flows, request signing, rate limiting, monitoring, and security best practices. Use when designing architecture or addressing production issues.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin acp-agentic-commerceThis skill is limited to using the following tools:
**Fetch live docs**:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
Fetch live docs:
https://developers.openai.com/commerce/specs/checkout/ for error codes and idempotency ruleshttps://developers.openai.com/commerce/guides/production/ for operational requirementssite:docs.stripe.com agentic-commerce for PSP-side patternssite:github.com agentic-commerce-protocol CHANGELOG for latest changesEvery POST request MUST include Idempotency-Key (UUID v4, max 255 chars).
Server-side implementation:
Idempotent-Replayed: true headeridempotency_conflictidempotency_in_flight with Retry-After headerClient-side implementation:
Retry-After then retryingACP uses a flat error structure:
{type, code, message, param}
type: invalid_request | processing_error | service_unavailablecode: Well-known identifier (e.g., idempotency_conflict, invalid_card, rate_limit_exceeded)message: Human-readable descriptionparam: JSONPath (RFC 9535) to the offending fieldRetry strategy:
429 rate_limit_exceeded — Exponential backoff with jitter409 idempotency_in_flight — Wait per Retry-After header5xx — Retry with same idempotency key, exponential backoff4xx (except 429) — Do not retry, fix the requestWhen complete returns authentication_required:
complete again with authentication_result:
three_ds_cryptogramelectronic_commerce_indicatortransaction_idversionHandle authentication timeouts and failures gracefully.
For request integrity verification:
Merchant → Agent webhook best practices:
API-Version: YYYY-MM-DD headerRetry-After header when exceededRetry-After, add jitter to prevent thundering herd$19.99 = 1999 (cents)decimal in Python, BigInt in JS)Fetch the latest spec and production guide for current error codes, header requirements, and security recommendations before implementing.