From vercel-shop
References Vercel Shop GraphQL patterns, fragments, cache conventions, and transforms for Shopify GraphQL queries, mutations, validation, and debugging in the template.
How this skill is triggered — by the user, by Claude, or both
Slash command
/vercel-shop:shopify-graphql-referenceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill as the reference source for Shopify GraphQL work in the template. It keeps queries, mutations, schema validation, fragment changes, locale handling, caching rules, and transforms aligned with the live Shopify schema and established storefront patterns.
Use this skill as the reference source for Shopify GraphQL work in the template. It keeps queries, mutations, schema validation, fragment changes, locale handling, caching rules, and transforms aligned with the live Shopify schema and established storefront patterns.
/vercel-shop:shopify-graphql-referenceshopify-ai-toolkit or the vercel-shop:fetch-shopify-schema skill when you need authoritative schema facts for the Storefront or Customer Account APIs.shopify-ai-toolkit before writing or changing GraphQL..claude folders to the template.lib/shopify/operations/ when the concern already exists there.shopifyFetch with a stable operation name, a GraphQL document string, and variables passed as an object.PRODUCT_FRAGMENT for PDP-level product data.PRODUCT_CARD_FRAGMENT for listings, search results, and other lighter product cards.lib/shopify/fragments.ts when several operations need the same fields.@inContext(...).lib/i18n to derive country and language codes instead of hardcoding them."use cache: remote", cacheLife(...), and cacheTag(...).invalidateCartCache() after the write succeeds.lib/shopify/**.shopify-ai-toolkit.shopifyFetch matches the GraphQL operation name.shopify-ai-toolkit.PRODUCT_CARD_FRAGMENT for listings and PRODUCT_FRAGMENT for PDP work unless there is a clear reason not to.invalidateCartCache().shopify-ai-toolkit.lib/shopify/fragments.ts.lib/shopify/transforms/product.ts.lib/types.ts if components need it."use cache: remote", cacheLife(...), and cacheTag(...).shopifyFetch with the query and variables object.shopifyFetch without read-cache directives.invalidateCartCache().DEBUG_SHOPIFY=true in .env.local to log Shopify requests with timing and variables.shopify-ai-toolkit.vercel-shop:fetch-shopify-schema skillreferences/REFERENCE.mdvercel-shop:enable-shopify-authvercel-shop:enable-shopify-cmsnpx claudepluginhub vercel/shop --plugin vercel-shopInspects live Shopify Storefront and Customer Account GraphQL schemas using shopify-ai-toolkit for Vercel Shop projects. Use before writing queries, checking fields, or debugging errors.
Executes direct GraphQL queries and mutations on Shopify Storefront API for custom storefront data fetching and cart operations when full UI control is needed, not for web components.
Use Shopify GraphQL Admin API for server CRUD on products/orders and Storefront API for client queries on products/cart, with versioning, rate limits, bulk ops, pagination.