Acp extensions authoring

From OrcaQubits/agentic-commerce-skills-plugins · View interactive version

Acp extensions authoring is an AI agent skill from the GitHub repository OrcaQubits/agentic-commerce-skills-plugins. Author custom ACP extensions — composable protocol add-ons with JSONPath targeting, schema composition, and independent versioning. Use when building proprietary or domain-specific extensions beyond the built-in ones.

How to use this skill

Skill file

ACP Custom Extension Authoring

Before writing code

Fetch live docs:

  1. Web-search site:github.com agentic-commerce-protocol rfcs extensions for the extensions framework RFC
  2. Web-search site:github.com agentic-commerce-protocol examples for extension examples
  3. Fetch https://developers.openai.com/commerce/specs/checkout/ for how extensions integrate with checkout
  4. Study the built-in discount extension as a reference: web-search site:github.com agentic-commerce-protocol rfcs discount_extension

Conceptual Architecture

What Extensions Are

Extensions are composable, optional add-ons that augment ACP's core capabilities. They allow the protocol to grow without bloating the core spec — new features are added as extensions with independent lifecycles.

Extension Properties

Every extension defines:

JSONPath Targeting

Extensions use JSONPath (RFC 9535) to inject fields into core schema locations:

Extension Lifecycle

draft → experimental → stable → deprecated → retired

Schema Composition Rules

Naming Conventions

Built-in Extensions as Reference

Study these before authoring custom extensions:

  1. Discount — Discount codes, applied/rejected discounts, allocations
  2. Intent Traces — Cart abandonment signals with reason codes
  3. Affiliate Attribution — Privacy-preserving attribution tracking

Custom Extension Ideas

Best Practices

Fetch the extensions framework RFC for the exact extension manifest structure, JSONPath targeting syntax, and schema composition rules before implementing.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.