Ucp fulfillment

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

Ucp fulfillment is an AI agent skill from the GitHub repository OrcaQubits/agentic-commerce-skills-plugins. Implement the UCP Fulfillment extension — shipping and pickup methods, destinations, fulfillment groups, selectable options, and estimated delivery. Use when adding shipping/pickup logic to a UCP checkout.

How to use this skill

Skill file

UCP Fulfillment Extension

Before writing code

Fetch live spec: Web-search site:ucp.dev specification fulfillment and fetch the page for the exact fulfillment schema, method types, group structure, and configuration options.

Conceptual Architecture

Extension Relationship

Fulfillment extends dev.ucp.shopping.checkout. It is pruned from negotiation if the Checkout capability is not in the intersection. Declared as "extends": "dev.ucp.shopping.checkout" in the schema.

Key Concepts

Configuration

The fulfillment extension has two configuration scopes:

platform_config (set by the platform, describes platform-level behavior):

merchant_config (set by the merchant/business, describes business-level behavior):

Flow

  1. Platform creates checkout with line items
  2. Business returns fulfillment methods with empty destinations and groups
  3. Platform updates checkout with shipping address(es)
  4. Business recalculates and returns fulfillment groups with selectable options
  5. Platform selects an option per group (or lets user choose)
  6. Business updates totals to include fulfillment costs
  7. Checkout becomes ready_for_complete

Implementation Guidance

Fetch the exact current schema from the live spec before implementing. The fulfillment data model has nested structures (methods → destinations → groups → options) that evolve across spec versions.

Also check the sample server at https://github.com/Universal-Commerce-Protocol/samples for reference fulfillment implementation.

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.