What this thread does
The problem
You ask a coding agent for a Shopify change: a GraphQL Admin API call, a Liquid section, a Function or an app extension. It writes plausible code with fields, filters or object properties that do not exist in your API version, and you only find out when the theme editor or the API returns an error.
What Shopify publishes (official)
Shopify's docs page for the AI Toolkit (shopify.dev/docs/apps/build/ai-toolkit) and the repo Shopify/shopify-ai-toolkit (MIT) describe:
- a
shopifyskill that loads guidance per surface only when the task needs it: GraphQL Admin API, Shopify Functions, Polaris, Liquid, Hydrogen, Shopify CLI; - a local Dev MCP server (
shopify-dev-mcp, needs no authentication); - code validation: GraphQL queries, Liquid templates and Shopify Extensions are checked against Shopify's schemas;
- store management through Shopify CLI's authenticated store context.
Install for Claude Code, as written in the README (I have not run it):
claude plugin install shopify-ai-toolkit@claude-plugins-official
Without plugins, the docs give npx skills add Shopify/shopify-ai-toolkit (you update it yourself with npx skills update) and claude mcp add --transport stdio shopify-dev-mcp -- npx -y @shopify/dev-mcp@latest. Older per-surface skills such as shopify-admin and shopify-liquid are listed as deprecated; the page says to use shopify. Needs Node.js 18 or newer.
How to ask so the validator is used
Name the surface and the check in the prompt, for example:
Write the product metafield update as a GraphQL Admin mutation. Search the Shopify docs for the exact input type first, then validate the query before showing it to me.
Tell it which API version your store or app targets, because fields change between versions.
Privacy: read this before installing
The README has a telemetry section. Telemetry is on by default. Per the README, the skill scripts send tool and skill names, model and client names, the search query text and response or error text, the validation result and the code that was validated; they can also send your latest message verbatim (truncated to 2,000 characters) when the agent passes it to a validation or skill-use script. On Claude Code a hook can also attach your most recent prompt verbatim (truncated to 2,000 characters) when a Shopify skill activates. Opt-out, as the README describes it: create the file ~/.config/shopify-ai-toolkit/opt-out (one mkdir -p and touch), which applies to the scripts, the MCP server and the hooks. Do not paste secrets or customer data into prompts while it is on.
Mistakes to check
- Treating validation as a test: it checks code against schemas, not that the change does what you wanted.
- Pointing store-management tasks at a live store. The docs page says you choose when to execute supported store-management tasks but does not specify dev or live stores; check Shopify CLI behaviour before any write, and use a development store first.
- Keeping both the old per-surface skills and the new
shopifyskill installed.
Limits
I have not tried the toolkit. The source is Shopify's own documentation and repository, so this is a vendor-published fix; I found no independent report of how often it removes the invented-field problem.
Sources
Primary sources, opened 18 October 2026: Shopify AI Toolkit docs and the shopify-ai-toolkit repo (README and metadata read through the GitHub API).
- Confirms: the
shopifyskill loading guidance per surface; a local Dev MCP server that needs no authentication; validation of GraphQL, Liquid and Shopify Extensions against Shopify schemas; store management through the Shopify CLI's authenticated context; theclaude plugin installcommand, thenpx skills addandnpx skills updatepair and theclaude mcp addcommand; deprecated per-surface skills; Node.js 18 or newer; MIT licence. The README's telemetry section confirms telemetry on by default, the tool, skill, model and client names, the validated code, and on Claude Code the latest prompt verbatim truncated to 2000 characters, plus the opt-out file under~/.config/shopify-ai-toolkit. It adds that the opt-out also stops local capture of the prompt. - Corrected above: the docs say "Shopify Extensions", not "UI extensions"; skills installed with
npx skillsdo not auto-update, while the plugin does. - Not confirmed: whether store management targets development or live stores (the page does not say), and any independent measurement of how often invented fields disappear. Nothing was run.
Started from a post by @Shopify, packaged by the editor. Original post