shopify-storefront-graphql

Official

Generate validated Storefront GraphQL operations

AuthorShopify
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers write accurate, minimal, and validated GraphQL queries and mutations for Shopify's Storefront API so they can fetch data and perform cart operations reliably without guessing field names or types.

Core Features & Use Cases

  • Doc-driven query generation: Searches Shopify developer documentation to discover exact operation names, types, and example usage before authoring GraphQL.
  • Validation workflow: Runs automated validation of produced GraphQL code with scripts/validate.mjs and enforces a search-then-validate loop with up to three retries on failure.
  • Use Case: Build a custom storefront feature that creates and updates carts, fetches product variants, and minimizes payload by including only essential fields while guaranteeing schema compatibility.

Quick Start

Use the skill to search Shopify docs for the specific mutation or query you need, generate the GraphQL operation, then validate it using the built-in search_docs.mjs and validate.mjs workflow.

Dependency Matrix

Required Modules

graphql

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: shopify-storefront-graphql
Download link: https://github.com/Shopify/Shopify-AI-Toolkit/archive/main.zip#shopify-storefront-graphql

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.