Help us improve
Share bugs, ideas, or general feedback.
From ucp-agentic-commerce
Authors UCP schemas for capabilities, services, payments, components, types, metas, and extensions using JSON Schema 2020-12 composition and allOf. Use when extending UCP protocols.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin ucp-agentic-commerceHow this skill is triggered — by the user, by Claude, or both
Slash command
/ucp-agentic-commerce:ucp-schema-authoringThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Fetch live spec**: Web-search `site:ucp.dev documentation schema-authoring` and fetch the page for the exact schema metadata requirements, category rules, and composition patterns.
Implements UCP patterns: capability negotiation with caching, idempotency keys via Redis/DB, error resolution loops for checkouts, multi-binding REST/MCP/A2A servers. For UCP internal architecture.
Guides authoring custom ACP extensions—composable add-ons with JSONPath targeting, schema composition, versioning for proprietary or domain-specific features beyond built-ins.
Applies AP2 development patterns for multi-agent payment architecture, UCP integration, x402 crypto payments, mock provider testing, and production deployment in agentic payment systems.
Share bugs, ideas, or general feedback.
Fetch live spec: Web-search site:ucp.dev documentation schema-authoring and fetch the page for the exact schema metadata requirements, category rules, and composition patterns.
Also fetch https://ucp.dev/specification/reference/ for the base type schemas you'll reference.
The official 6 schema categories are:
| Category | Required Metadata | Purpose | Examples |
|---|---|---|---|
| Capability | $schema, $id, title, description, name, version | Major functional domain | checkout, order, identity_linking |
| Service | $schema, $id, title, description | Transport binding definition | REST, MCP, A2A |
| Payment Handler | $schema, $id, title, description | Payment method specification | Google Pay, Shop Pay |
| Component | $schema, $id, title, description | Reusable structural unit | payment, payment_data |
| Type | $schema, $id, title, description | Primitive data model | buyer, line_item, postal_address, total |
| Meta | $schema, $id, title, description | Schema about schemas | ucp.json, capability.json |
Note on Extensions: Extensions (e.g., fulfillment, discount, buyer_consent, ap2_mandate) are NOT a separate top-level category. They are Capabilities with an extends field that references their parent capability. An extension has the same required metadata as a Capability ($schema, $id, title, description, name, version) plus the extends field.
allOfExtensions compose with their parent capability using JSON Schema allOf:
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.com/schemas/my-extension.json",
"title": "My Extension",
"description": "Adds X to checkout",
"name": "com.example.my_extension",
"version": "2026-01-11",
"extends": "dev.ucp.shopping.checkout",
"allOf": [
{ "$ref": "https://ucp.dev/schemas/shopping/checkout.json" },
{
"properties": {
"my_field": { "type": "object" }
}
}
]
}
dev.ucp.* — Governed by ucp.dev (official standard)com.example.* — Governed by example.com (your organization)com.shopify.* — Governed by shopify.comUse your organization's reverse-domain name for custom extensions.
schema URIallOfhttps://json-schema.org/draft/2020-12/schema)/.well-known/ucp profile with the extends field