/acp-agentic-commerce:acp-dev-patternsfrom acp-agentic-commerce
Covers ACP development patterns for idempotency, error handling, 3D Secure flows, request signing, rate limiting, and security best practices. Useful when designing payment architecture or solving production concerns.
Ships in acp-agentic-commerce. 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.
None: SKILL.md is the whole skill.
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.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin acp-agentic-commerce17 skills in this plugin
/acp-affiliate-attributionImplement ACP affiliate attribution — privacy-preserving affiliate tracking without cookies using token-based first-touch and last-touch attribution. Use when building affiliate programs, referral tracking, or partnership attribution./acp-capability-negotiationImplement ACP capability negotiation — dynamic discovery of mutually supported capabilities, extensions, payment handlers, and interventions. Use when building multi-feature merchant servers or agents that adapt to merchant capabilities./acp-cartImplement the ACP Cart API — the pre-checkout REST surface for collecting line items without payment configuration, covering create, retrieve, full-replacement update, and cancel, plus estimated totals, `continue_url`, and expiry. Use when building ACP cart sessions ahead of an agentic checkout./acp-checkout-mcpImplement ACP checkout as an MCP server, exposing checkout operations as MCP tools. Use when building an MCP-based commerce server for AI agents that use tool-calling to complete purchases./acp-checkout-restImplement the ACP REST checkout API — create, update, retrieve, complete, and cancel checkout sessions. Use when building merchant-side checkout endpoints, handling the checkout session state machine, or integrating with AI agent checkout flows./acp-conformanceValidate an ACP implementation against the protocol specification — schema validation, flow testing, error handling, idempotency, security checks, and production readiness. Use when preparing for launch or certifying compliance.Other plugins' skills for the same job