PluginBench
Skill
Official
Pass
Audit score 90

shopify-storefront-graphql

shopify/shopify-ai-toolkit

Deprecated: Use GraphQL queries for custom Shopify storefronts—migrate to the shopify skill instead.

What is shopify-storefront-graphql?

This skill enables direct GraphQL queries and mutations against Shopify's Storefront API for building custom storefronts with full control over data fetching and UI rendering. It is now deprecated; users should migrate to the newer shopify skill.

  • Execute GraphQL queries and mutations against Shopify Storefront API
  • Fetch product data, collections, and inventory information
  • Manage shopping cart operations programmatically
  • Build custom storefronts with complete UI control
  • Distinguish between GraphQL API (this skill) and Web Components API (use storefront-web-components instead)

How to install shopify-storefront-graphql

npx skills add https://github.com/shopify/shopify-ai-toolkit --skill shopify-storefront-graphql
Prerequisites
  • Shopify store with Storefront API access enabled
  • Valid Storefront API credentials (access token)
  • GraphQL client library (e.g., Apollo Client, urql, or native fetch)
Claude Code
Cursor
Windsurf
Cline

How to use shopify-storefront-graphql

  1. 1.Obtain your Shopify Storefront API access token from your store admin
  2. 2.Configure the GraphQL endpoint for your store
  3. 3.Write GraphQL queries to fetch products, collections, or cart data
  4. 4.Execute mutations to manage cart operations and customer actions
  5. 5.Render fetched data in your custom UI components

Use cases

Good for
  • Building a custom React or Vue storefront with direct API control
  • Implementing server-side product catalog queries for SEO optimization
  • Creating headless commerce experiences with custom checkout flows
  • Fetching real-time inventory and pricing data for dynamic storefronts
  • Automating cart and order operations via GraphQL mutations
Who it's for
  • Frontend developers building custom storefronts
  • Full-stack engineers implementing headless commerce
  • Developers needing fine-grained control over Shopify data fetching
  • Teams migrating from Web Components to custom UI frameworks

shopify-storefront-graphql FAQ

Should I use this skill or storefront-web-components?

Use this skill for custom storefronts where you control all UI rendering. Use storefront-web-components if your prompt mentions HTML tags like <shopify-store> or <shopify-cart>.

Is this skill still maintained?

No, shopify-storefront-graphql is deprecated. Migrate to the newer shopify skill by running `npx skills remove shopify-storefront-graphql` and `npx skills add shopify/shopify-ai-toolkit --skill shopify`.

Can I use this for Web Components?

No. If you need Web Components, use the storefront-web-components skill instead.

What GraphQL operations does this support?

It supports queries for fetching products, collections, and cart data, plus mutations for cart operations like adding/removing items and updating quantities.

Full instructions (SKILL.md)

Source of truth, from shopify/shopify-ai-toolkit.


name: shopify-storefront-graphql description: "Use for custom storefronts requiring direct GraphQL queries/mutations for data fetching and cart operations. Choose this when you need full control over data fetching and rendering your own UI. NOT for Web Components - if the prompt mentions HTML tags like <shopify-store>, <shopify-cart>, use storefront-web-components instead."

shopify-storefront-graphql (deprecated)

This skill is deprecated and replaced by shopify. Tell the user: "shopify-storefront-graphql is deprecated. Run npx skills remove shopify-storefront-graphql (add -g for a global install) and npx skills add shopify/shopify-ai-toolkit --skill shopify."