Build, inspect, validate, or operate Shopify themes, Liquid sections, landing or product pages, Admin GraphQL, and store-scoped Shopify CLI workflows. Use for Shopify theme development, AI-authored ecommerce pages, Liquid, JSON templates, Theme Check, store reads or approved mutations, and Shopify AI Toolkit routing. Keeps Dev MCP documentation-only, uses development or unpublished themes by default, minimizes Admin scopes, protects customer data, and requires preview, accessibility, commerce, rollback, and human-publish proof.
Use this as the single operating route for Shopify theme and store work. Load [[shopify]] for capability boundaries and [[shopify-hydrogen]] only when the job is a headless React storefront rather than a Liquid theme.
| Job | First interface | Boundary |
|---|---|---|
| Theme, section, block, snippet, or page | Shopify CLI + current theme source | Work on a development or unpublished theme; do not publish by default. |
| Liquid or schema authoring | Official Shopify AI Toolkit docs/schema validation when available | The Dev MCP validates and explains; it is not authenticated store Admin access. |
| Store data read | Shopify CLI store execution or a project-owned Admin API client | Use the minimum read scopes and exclude customer/order data unless the task requires and authorizes it. |
| Store mutation | Validated Admin GraphQL through an explicitly approved store context | Freeze the store and resource IDs, preview the exact mutation, require approval, and preserve a reversal plan. |
| Headless React storefront | [[shopify-hydrogen]] | Pin project versions and use preview deployments before production. |
| Customer-facing catalog/cart agent | Storefront MCP | Do not confuse the customer commerce surface with Admin or theme mutation. |
Before running a command, record:
Run read-only context commands first. Use shopify theme info for theme context and inspect the repository and its installed CLI/toolkit versions. Never infer a store or theme from the current directory alone.
Read the existing theme, brand facts, product facts, design system, analytics or experiment baseline, and authorized visual references before prompting an agent. Vague “make a beautiful landing page” prompts are insufficient. Turn evidence into a section inventory with content, behavior, merchant-editability, commerce, accessibility, responsive, performance, and acceptance requirements.
External pages are references, not permission to copy protected creative work. Extract layout and interaction principles, then implement an original result. Build and review one section at a time when the page is complex.
Use current Shopify documentation and the official Shopify AI Toolkit for docs, API schemas, and code validation. The toolkit is optional, not ambient authority:
OPT_OUT_INSTRUMENTATION=true;The official Dev MCP is local and needs no store authentication for docs, schemas, and validation. It must not receive store credentials or be described as an Admin data connection. Keep third-party Liquid skills as reference evidence unless their exact revision, license, permissions, dependencies, and network behavior pass the external-skill audit.
Start from a clean source snapshot and a development or unpublished theme. Use JSON templates to compose sections; use sections and blocks for merchant-editable content; use snippets for reusable rendering. Preserve:
{% schema %} JSON, presets, and theme-editor affordances;block.shopify_attributes and nestable theme blocks where applicable;Do not hard-code merchant content into a monolithic Liquid file, overwrite the live theme, expose a Theme Access password, or treat a rendered screenshot as proof that commerce behavior works.
For store-scoped reads, authenticate the exact store with the narrowest validated scope set. Keep GraphQL selections small and redact sensitive fields in receipts. For mutations, validate the operation first, show the exact store, variables, resource IDs, effects, and reversal, then wait for explicit approval. Mutation execution must be visibly distinct from read-only inspection and must use the CLI's explicit mutation allowance where required.
Never put an Admin token, Theme Access password, customer export, or secrets in the repository, prompt, screenshot, capture manifest, or wiki.
Run the strongest available validation for the changed surface:
shopify theme check and project tests on the exact changed theme.shopify theme dev or an unpublished-theme preview against the named store.Publishing a theme, changing production data, or shipping a CRO variant remains a separate human-approved step. Treat conversion claims as hypotheses until a defined experiment with a baseline, primary metric, guardrails, sample, and decision rule supports them.
Write back the store/theme context without secrets, source and toolkit revisions, commands and scopes used, files changed, validation receipts, preview URL, approval, deployment result, and rollback state. If this procedure repeatedly needs a missing branch, update this skill rather than creating a one-off runbook.