Claude-skill-registry commerce-checkout
Handle carts and checkout flows (rates, totals, and cart creation). Use when running `stateset-checkout` or working with cart/checkout MCP tools.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/commerce-checkout" ~/.claude/skills/majiayu000-claude-skill-registry-commerce-checkout && rm -rf "$T"
manifest:
skills/data/commerce-checkout/SKILL.mdsource content
Commerce Checkout
Run cart creation and checkout flows from start to finish.
How It Works
- Create or locate a cart for a customer.
- Add or update cart items.
- Set shipping address, rates, and payment details.
- Apply discounts and complete checkout.
Usage
- CLI:
orstateset-checkout ...stateset "create cart for customer@example.com" - Writes require
.--apply - MCP tools:
,create_cart
,add_cart_item
,update_cart_item
,set_cart_shipping_address
,set_cart_payment
,apply_cart_discount
,get_shipping_rates
.complete_checkout
Output
{"status":"completed","cart_id":"cart_123","order_number":"ORD-12345"}
Present Results to User
- Cart and order identifiers.
- Totals (subtotal, tax, shipping, discounts).
- Any missing fields needed to finalize checkout.
Troubleshooting
- Missing shipping/payment: collect required fields before completing.
- Coupon rejected: validate promotion rules and dates.
References
- references/checkout-flow.md
- /home/dom/stateset-icommerce/cli/.claude/skills/commerce-checkout/SKILL.md
- /home/dom/stateset-icommerce/examples/workflows.md