Agent skill

Shopify

by ericrisco in ericrisco/rsc-harness

A skill your agent uses when building or customizing a Shopify store across its three code surfaces — themes (Liquid, Online Store 2.0 sections, blocks and JSON templates), apps (Remix with the…

MITAuto-check passedBackend & APIs

Install Shopify

skills CLI
$ npx skills add ericrisco/rsc-harness --skill shopify -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ericrisco/rsc-harness shopify --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/shopify .claude/skills/shopify && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
shopify
GitHub stars
156
Token cost
~3.2k tokens
SKILL.md length
1,199 words
Files
7 (incl. scripts, references)
Skills in repo
229
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when building or customizing a Shopify store across its three code surfaces — themes (Liquid, Online Store 2.0 sections, blocks and JSON templates), apps (Remix with the…

  • Customizing a Shopify store across its three code surfaces — themes (Liquid
  • SKILL.md covers Pick your surface first, Theme surface — Online Store…, Liquid rules and CLI workflow, plus 5 more sections
  • Runs Shell scripts from its folder; calls shopify
  • Online Store 2.0 sections

What it does

Shopify is an agent skill from ericrisco/rsc-harness. Use when building or customizing a Shopify store across its three code surfaces — themes (Liquid, Online Store 2.0 sections, blocks and JSON templates), apps (Remix with the versioned GraphQL Admin API and its query-cost model), and checkout (UI extensions, Functions, Web Pixels), plus the CLI flow and checkout-extensibility migration. NOT WooCommerce or PHP stores (that is wordpress), NOT the React layer of a headless storefront (that is nextjs), NOT non-Shopify payment integrations (that is stripe).

Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `evals/README.md`, `evals/cases.yaml` and `references/apps-graphql.md`).

It sits in Backend & APIs, covering E-commerce operations, GraphQL and Payments and billing. It works with Shopify, GraphQL, React and Next.js. The repository describes itself as: Your agent invents things because it has no memory, and can't touch your database because it has no arms. rsc is the meta-harness that gives it both, plus the trade to know the… The licence is MIT.

When your agent uses it

  • Customizing a Shopify store across its three code surfaces — themes (Liquid
  • Online Store 2.0 sections
  • Blocks and JSON templates)
  • Apps (Remix with the versioned GraphQL Admin API and its query-cost model)

Example prompts

  • “/shopify”

Requirements

  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit 92fde8f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • shopify

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Shopify loads about 3.2k tokens when it runs, and up to ~6k if it reads all its reference files. Until then it costs about 130 tokens; SKILL.md has 1,199 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~130
When it runs · the whole SKILL.md, loaded when a task matches
~3.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from ericrisco/rsc-harness at commit 92fde8f, republished under its MIT licence (© ericrisco). 1,199 words, ~3,164 tokens.

Download SKILL.mdSave it as .claude/skills/shopify/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
shopify
description
Use when building or customizing a Shopify store across its three code surfaces — themes (Liquid, Online Store 2.0 sections, blocks and JSON templates), apps (Remix with the versioned GraphQL Admin API and its query-cost model), and checkout (UI extensions, Functions, Web Pixels), plus the CLI flow and checkout-extensibility migration. NOT WooCommerce or PHP stores (that is `wordpress`), NOT the React layer of a headless storefront (that is `nextjs`), NOT non-Shopify payment integrations (that is `stripe`).
tags
shopify, liquid, ecommerce, themes, checkout, graphql, storefront
recommends
nextjs, stripe, wordpress, api-design, seo-geo
origin
risco

Shopify themes, apps & checkout

The single authoritative skill for building and customizing a Shopify store. The mental model: a Shopify store is a hosted platform you extend at well-defined seams — never a server you control. You render on the storefront with Liquid, you mutate data through the versioned GraphQL Admin API, and you customize checkout through sandboxed extensions. The platform owns hosting, the database, PCI scope, and the checkout DOM; you own only the seams. Three surfaces, three toolchains — name the surface before you write a line of code.

Pinned stack (verify against shopify.dev before pinning in a repo):

  • Shopify CLI 4.x — auto-upgrades via the package manager it was installed with; skips CI, project-local installs, and major bumps. shopify app config push is removed; use shopify app deploy.
  • GraphQL Admin API 2026-04 — latest stable; supported window 2026-04 / 2026-01 / 2025-10 / 2025-07†. Each version is supported ~12 months. Pin apiVersion and bump quarterly. † 2025-07 is at the edge of its window — accessible only until 2026-07-16; treat it as sunsetting and do not pin it in new work. Re-check the live list at shopify.dev/docs/api/usage/versioning.
  • Remix app template (@shopify/shopify-app-remix, App Bridge, Polaris React). GraphQL > REST — REST Admin API is legacy; Shopify steers all new app work to GraphQL.
  • Dawn — Shopify's source-available reference theme; OS 2.0 architecture is the baseline.

Pick your surface first

Most Shopify mistakes are surface confusion — answering with a headless React build when the ask was a Liquid section, or editing checkout.liquid when the seam is now an extension. Branch here:

SurfaceYou're working on…Tool & entryReference
Theme.liquid files, {% schema %}, JSON templates, storefront rendering, merchant-editable contentshopify theme dev on a Dawn-based themereferences/liquid-themes.md
Appembedded admin UI, reading/writing store data, webhooks, automationshopify app dev on the Remix template + Admin GraphQLreferences/apps-graphql.md
Checkoutcheckout/thank-you/order-status UI or logic, discounts, shipping, trackingCheckout UI extensions / Functions / Web Pixelsreferences/checkout-extensibility.md

If the answer is "the React rendering layer of a headless storefront", that is ../nextjs/SKILL.md, not this skill — Shopify is only the data seam (Storefront API) there.

Theme surface — Online Store 2.0 architecture

OS 2.0 (GA 2021, sometimes marketed "3.0") is the architecture: JSON templates + sections- everywhere + theme blocks + @app blocks + dynamic sources. The file map:

text
layout/theme.liquid            # the HTML shell (one per theme)
templates/product.json         # JSON template: which sections render, in what order
sections/main-product.liquid   # a section: markup + {% schema %} of merchant settings
sections/*.liquid              # section groups (header/footer) live here too
blocks/*.liquid                # theme blocks (reusable, nestable) — OS 2.0
snippets/*.liquid              # partials rendered via {% render %}
config/settings_schema.json    # global theme settings

Rule: every section carries a {% schema %} with presets so merchants edit content in the theme editor without a deploy. The why: content belongs in section.settings and metafields, not in code — if a merchant has to ask you to change a headline, the section is built wrong.

liquid
<!-- Bad: copy hardcoded in Liquid; merchant can't touch it -->
<h2>Summer Sale — 20% off everything</h2>

<!-- Good: editable in the theme editor, with a preset so it appears in "Add section" -->
<h2>{{ section.settings.heading | escape }}</h2>
{% schema %}
{
  "name": "Promo banner",
  "settings": [
    { "type": "text", "id": "heading", "label": "Heading", "default": "Summer Sale" }
  ],
  "blocks": [{ "type": "@app" }],
  "presets": [{ "name": "Promo banner" }]
}
{% endschema %}

The { "type": "@app" } block lets merchant-installed apps drop content into your section. The Shopify Theme Store requires the main product and featured-product sections to support @app blocks. See references/liquid-themes.md for setting types, section groups, and dynamic sources.

Liquid rules

  • {% render %}, never {% include %}. render is scoped (the snippet only sees what you pass) and cacheable; include leaks the parent scope and is deprecated.

    liquid
    {% comment %} Bad {% endcomment %}
    {% include 'price' %}
    {% comment %} Good — explicit, scoped, cacheable {% endcomment %}
    {% render 'price', product: product, variant: variant %}
  • Bound every collection loop with limit: and never nest unbounded loops — storefront render cost is real and slow pages cost conversions. {% for p in collection.products limit: 8 %}.

  • Pipe all dynamic output. | money for prices (raw values render cents/locale wrong), | escape for any user/merchant string (XSS), | json when emitting data into a <script>.

  • Push branchy logic into metafields/metaobjects, not conditional chains. A case/if ladder over product types is data pretending to be code — bind a metafield and let Liquid do a lookup.

CLI workflow

Theme work (hot-reloads against a dev theme; never edits live unprompted):

bash
shopify theme dev                      # local preview + hot reload
shopify theme pull                     # sync live/named theme down
shopify theme push --only templates/*  # push a subset; --ignore excludes paths
shopify theme check                    # Theme Check linter — wire into CI

Multi-environment lives in shopify.theme.toml; --environment is repeatable (shopify theme push --environment staging --environment prod).

App work:

bash
shopify app dev      # tunnel + env + reload; provisions admin.graphql()
shopify app deploy   # release app + extensions  (NOT `app config push` — removed in 4.x)

CLI 4.x auto-upgrades via your package manager but skips CI and project-local installs — pin the version in CI so a silent bump never changes a release.

App surface — Remix + GraphQL Admin API

Apps are the Remix template. The shape:

text
app/shopify.server.js     # shopifyApp({ apiVersion, sessionStorage, webhooks, ... })
app/routes/app.*.jsx      # embedded admin pages (App Bridge + Polaris)
shopify.app.toml          # app config, scopes, webhook subscriptions
extensions/*              # app extensions (theme app ext, UI ext, Functions, Flow)
  • Pin apiVersion in shopify.server and bump it quarterly — an unpinned client silently follows Shopify's default and can break on a version rollover.

  • Use the GraphQL Admin API, not REST. REST is legacy; new fields ship to GraphQL only.

    js
    // Bad — legacy REST Admin endpoint
    await fetch(`https://${shop}/admin/api/2026-04/orders.json`);
    
    // Good — authenticated GraphQL through the template
    const { admin } = await authenticate.admin(request);
    const res = await admin.graphql(
      `#graphql
       query Orders { orders(first: 10) { nodes { id name } } }`
    );
  • Verify webhook HMAC before trusting any payload — authenticate.webhook(request) in the template does this; never parse a raw webhook body without it.

See references/apps-graphql.md for OAuth/session storage, mutations, App Bridge, and extensions.

Show full SKILL.md (508 more words)Show less

GraphQL query-cost model

Admin GraphQL meters by calculated query cost (points), not request count. Every response carries extensions.cost:

json
{ "extensions": { "cost": {
  "requestedQueryCost": 92, "actualQueryCost": 30,
  "throttleStatus": { "maximumAvailable": 2000, "currentlyAvailable": 1970, "restoreRate": 100 }
}}}
  • Over-budget returns HTTP 200 with a MAX_COST_EXCEEDED error — you must handle it in code; it is not an HTTP-level failure your client will throw on.
  • Read throttleStatus and back off on restoreRate (points restored per second) rather than blindly retrying.
  • Large reads use bulk operations, not paginated loops. A 10k-product export through first: pagination will throttle; bulkOperationRunQuery runs async and returns a JSONL file.

Checkout surface — the post-checkout.liquid model

checkout.liquid and additional scripts are deprecated and being removed. Dated facts:

  • 2024-08-13 — Information/Shipping/Payment steps lost checkout.liquid support.
  • 2025-08-28 — Plus self-migrate deadline for Thank-you & Order-status customizations (additional scripts, script tags, checkout.liquid). This was the deadline to act, not the auto-upgrade date.
  • 2026-01 — automatic upgrades of Thank-you & Order-status pages begin (30-day email notice); any remaining additional-scripts / script-tag / checkout.liquid customizations stop running.
  • 2026-04-15 — legacy Shopify Scripts can no longer be edited or published (existing scripts still run).
  • 2026-06-30 — legacy Shopify Scripts (Script Editor discount/shipping/payment scripts) stop executing entirely.

Migrate by surface — match the old mechanism to its new seam:

Old (deprecated)New seamNotes
checkout.liquid UI tweaksCheckout UI extensionssandboxed React/JS targets, not DOM access
Script Editor / additional-script discounts, shipping, payment logicFunctions (Rust or JS → Wasm)deterministic, run server-side
<script> tracking / analytics in checkoutWeb Pixels + server-side eventssandboxed; no arbitrary DOM scripts
custom checkout colors/fonts/CSSCheckout Branding APIGraphQL, not CSS injection

Several checkout surfaces (full checkout UI customization, some Functions) are Shopify Plus-only. The full migration map, extension targets, and Functions structure are in references/checkout-extensibility.md.

App extensions catalog

  • Theme app extension — your app injects an @app block / blocks into themes (no theme edit).
  • Admin UI extension — surfaces inside admin pages (product, order) without leaving Shopify.
  • Customer-account UI extension — extends the new customer accounts.
  • Functions — discount / shipping / payment / cart logic as Wasm; the checkout.liquid logic seam.
  • Flow — triggers/actions for Shopify Flow automation, exposed by your app.

Anti-patterns

Anti-patternWhy it's wrongDo instead
{% include %} in new codedeprecated, leaks parent scope, not cacheable{% render %} with explicit args
Raw {{ price }} / {{ user_input }}wrong locale/cents; XSS| money, | escape, | json
Editing checkout.liquid / additional scriptsdeprecated; auto-upgraded away starting 2026-01UI extensions / Functions / Web Pixels
REST Admin calls in a new applegacy; new fields are GraphQL-onlyadmin.graphql()
Unpinned or stale apiVersionbreaks on Shopify's version rolloverpin a supported version, bump quarterly
Paginated first: loop for big readsthrottles on query costbulkOperationRunQuery
Ignoring extensions.cost.throttleStatussilent MAX_COST_EXCEEDED at HTTP 200read cost, back off on restoreRate
Hardcoded copy in Liquidmerchant can't edit without a deploysection.settings / metafields
Section with no presetswon't appear in "Add section" in the editoradd a presets entry to {% schema %}
Secrets committed in shopify.app.tomlleaks API credentialsenv vars; keep secrets out of TOML
No Theme Check in CIregressions ship to the storefrontshopify theme check in the pipeline
Answering with a headless React buildwrong surface for a Liquid/theme askconfirm the surface; route React to ../nextjs/SKILL.md

Run scripts/verify.sh <theme-or-app-dir> for an advisory scan of these foot-guns.

© ericrisco, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references) in skills/shopify of ericrisco/rsc-harness.

  • SKILL.md
  • evals/README.md
  • evals/cases.yaml
  • references/apps-graphql.md
  • references/checkout-extensibility.md
  • references/liquid-themes.md
  • scripts/verify.sh

Open the folder on GitHubat commit 92fde8f

Compare with similar skills

Shopify next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Shopify compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Shopify this skillericrisco/rsc-harness156—~3.2kAutomated safety check: PassMIT
Apollo Clientapollographql/skills116—~1.9kAutomated safety check: PassMIT
Shopify ExpertJeffallan/claude-skills12k—~1.8kAutomated safety check: PassMIT
Shopify Developer Referencetech-leads-club/agent-skills7k—~1.9kAutomated safety check: PassCustom licence
Shopifyasgeirtj/system_prompts_leaks69k—~2kAutomated safety check: PassCC0-1.0
Data Client Setupreactive/data-client2k—~2.2kAutomated safety check: PassApache-2.0

Similar skills

  • Apollo Client

    apollographql/skills

    Guide for building React applications with Apollo Client 4.x.

    116 GitHub stars~1.9k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Shopify Expert

    Jeffallan/claude-skills

    Builds Shopify themes in Liquid, custom apps, Storefront API storefronts and checkout extensions, using the Shopify CLI to lint, run locally and deploy.

    12k GitHub stars~1.8k tokensUpdated 4 days ago
    Backend & APIsAuto-check passed
  • Shopify Developer Reference

    tech-leads-club/agent-skills

    Reference for Shopify work: Liquid templates, OS 2.0 themes, Admin and Storefront GraphQL APIs, apps, Functions and Hydrogen, on API version 2026-01.

    7k GitHub stars~1.9k tokensUpdated 17 days ago
    Backend & APIsAuto-check passed
  • Shopify

    asgeirtj/system_prompts_leaks

    Set up and operate a Shopify store with Shopify's official MCP server (the installed shopify command, NOT the npm Shopify CLI).

    69k GitHub stars~2k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Data Client Setup

    reactive/data-client

    Install and set up @data-client/react or @data-client/vue in a project.

    2k GitHub stars~2.2k tokensUpdated today
    MobileAuto-check passed
  • Senior Fullstack

    davila7/claude-code-templates

    Comprehensive fullstack development skill for building complete web applications with React, Next.js, Node.js, GraphQL, and PostgreSQL.

    32k GitHub starsUsed in 6 repos~1.1k tokens
    DevelopmentAuto-check: notes

More from ericrisco/rsc-harness

All 229 skills in this repo
  • Ab Testing

    ericrisco/rsc-harness

    A skill your agent uses when designing or analyzing a controlled experiment — falsifiable hypothesis, sample size from an MDE, reading significance/CI/power, CUPED, or rescuing tests that won't go…

    156 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Accessibility

    ericrisco/rsc-harness

    A skill your agent uses when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast…

    156 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Ads

    ericrisco/rsc-harness

    A skill your agent uses when running or fixing paid acquisition on Google or Meta — campaign structure (Performance Max, Demand Gen, Search, Advantage+), platform-fit creative, budget/scaling rules…

    156 GitHub stars~2.2k tokensUpdated yesterday
    Auto-check passed
  • Agent Eval

    ericrisco/rsc-harness

    A skill your agent uses when measuring whether an LLM or agent system actually got better and gating merges on it: golden sets, fixing an inflated LLM-as-judge, scoring RAG (faithfulness, contextual…

    156 GitHub stars~3.2k tokensUpdated yesterday
    Auto-check passed
  • AI Media

    ericrisco/rsc-harness

    A skill your agent uses when a creative goal must become a finished media file: pick and order generative-media models per modality — AI voiceover, image-to-video clips, score — then glue them with…

    156 GitHub stars~3.3k tokensUpdated yesterday
    Auto-check passed
  • Analytics

    ericrisco/rsc-harness

    A skill your agent uses when instrumenting product or web analytics — GA4/PostHog SDK wiring, event taxonomy, funnels, double-counted events, consent gating, PII scrubbing.

    156 GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Shopify

What does Shopify do?

A skill your agent uses when building or customizing a Shopify store across its three code surfaces — themes (Liquid, Online Store 2.0 sections, blocks and JSON templates), apps (Remix with the…. Shopify is an agent skill from ericrisco/rsc-harness.0 sections, blocks and JSON templates), apps (Remix with the versioned GraphQL Admin API and its query-cost model), and checkout (UI extensions, Functions, Web Pixels), plus the CLI flow and checkout-extensibility migration.

When should I use Shopify?

Shopify fits situations like: customizing a Shopify store across its three code surfaces — themes (Liquid; online Store 2.0 sections; blocks and JSON templates); apps (Remix with the versioned GraphQL Admin API and its query-cost model).

How do I install Shopify in Claude Code?

Run `npx skills add ericrisco/rsc-harness --skill shopify -a claude-code`. Or copy the skill folder (skills/shopify in ericrisco/rsc-harness) into .claude/skills/shopify in your project. Claude Code loads it when a task matches its description.

How do I install Shopify in Codex?

Run `npx skills add ericrisco/rsc-harness --skill shopify -a codex`. Or copy the skill folder (skills/shopify in ericrisco/rsc-harness) into .agents/skills/shopify in your project. Codex loads it when a task matches its description.

Can I use Shopify in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ericrisco/rsc-harness --skill shopify -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/shopify, .gemini/skills/shopify, .github/skills/shopify and .opencode/skills/shopify in your project.

What does Shopify need to run?

Going by SKILL.md and its folder, Shopify needs a shell for the scripts in its folder and the command-line tools its instructions call (shopify). Our summary lists: A Bash shell.

Does Shopify access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Shopify safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Shopify use?

Shopify is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Shopify use?

About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.8k tokens, read only when the agent opens those files.

What are the alternatives to Shopify?

Skills that share tags, products or a category with Shopify: Apollo Client (apollographql/skills, 116 stars), Shopify Expert (Jeffallan/claude-skills, 12k stars), Shopify Developer Reference (tech-leads-club/agent-skills, 7k stars) and Shopify (asgeirtj/system_prompts_leaks, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Shopify?

ericrisco (a GitHub user) maintains it in ericrisco/rsc-harness, which has 156 GitHub stars. The repository holds 229 skills in this directory. The repository was last updated on October 6, 2026.

Source: ericrisco/rsc-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.