neuro-shopify-graphql

Generates Shopify Admin and Storefront GraphQL queries, mutations, and bulk operations with cost optimization.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/webdevarif/claude-skills --skill neuro-shopify-graphql-webdevarif
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neuro-shopify-graphql
Source: https://github.com/webdevarif/claude-skills/tree/main/neuro-shopify-graphql
Command: npx skills add https://github.com/webdevarif/claude-skills --skill neuro-shopify-graphql-webdevarif

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing Shopify GraphQL queries that respect rate limits, query cost budgets, pagination rules, and API versioning is error-prone, and mistakes lead to throttled requests, over-cost queries, or broken mutations. This Skill enforces correct patterns for every Shopify Admin and Storefront API operation. ## Core Features & Use Cases - Query Cost & Rate Limit Management: Calculates query costs, reads the extensions.cost throttle status, and implements exponential backoff for THROTTLED responses. - Full Resource Coverage: Provides ready-to-use queries and mutations for products, orders, customers, collections, inventory, metafields, metaobjects, discounts, and webhook subscriptions. - Bulk Operations & Pagination: Supplies bulk operation patterns for large dataset exports and cursor-based pagination helpers capped at the 250-record limit. - Use Case: When building a Shopify app that syncs inventory across locations, use this Skill to generate a compare-and-set inventorySetQuantities mutation that prevents race conditions between concurrent writers. ## Quick Start Ask the assistant to write a Shopify GraphQL mutation that creates a product with variants and publishes it to a sales channel using API version 2026-01.

Frequently Asked Questions about neuro-shopify-graphql

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle Shopify GraphQL rate limits and throttling?

Shopify GraphQL uses a calculated query cost bucket that refills at a plan-dependent restore rate. Check extensions.cost.throttleStatus in every response and implement exponential backoff when errors contain the THROTTLED code, retrying up to five times with capped delays.

How do I paginate through all products with the Shopify GraphQL API?

Use cursor-based pagination with first and after arguments, reading pageInfo.hasNextPage and pageInfo.endCursor to fetch subsequent pages. The maximum first value is 250; for larger datasets, use bulk operations instead of looping queries.

How do I create or update Shopify metafields with GraphQL?

Use the metafieldsSet mutation, which idempotently creates or updates metafields by ownerId, namespace, key, type, and value. It accepts a maximum of 25 metafields per call, so larger batches must be split into multiple requests.

When should I use Shopify bulk operations instead of regular queries?

Use bulkOperationRunQuery when exporting datasets larger than a few thousand records, since it avoids pagination and rate limit pressure. Bulk queries must have exactly one top-level field, omit first/last arguments, and use edges/node syntax, returning results as a JSONL file.

Why does my Shopify GraphQL query get rejected for exceeding cost limits?

A single query cannot exceed 1,000 points regardless of plan tier, and deeply nested connections multiply costs quickly. Reduce first/last values, prefer nodes over edges, avoid nesting more than two connection levels, and split large queries into multiple requests.

How do I safely update Shopify inventory quantities concurrently?

Use the inventorySetQuantities mutation with the compareQuantity field to implement compare-and-set semantics. If the current quantity does not match compareQuantity, the mutation returns a userError instead of overwriting, preventing lost updates in multi-writer environments.