shopify-storefront

Installation
SKILL.md

Shopify Storefront Checkout

Set up a cart with a product and an optional discount code, then give the user a checkout link.

Inputs

  • Product URL: A Shopify product URL (e.g. https://humanrequired.shop/products/cool-shirt)
  • Discount code (optional): Obtained from the shopify-agent-discount skill. Always check for one before proceeding.

Flow

1. Find the product

Use curl -s "<product_url>.json" (strip any query parameters first, then append .json) to fetch the raw product JSON. Pick the first variant from the response. Note the variant ID.

2. Build the checkout link

Construct the checkout URL directly:

Related skills
Installs
2
GitHub Stars
2
First Seen
Apr 18, 2026