Why Your Single Claude Code Prompt Is Not Enough Anymore
If you have been using Claude Code for a few months, you have probably noticed the same problem every Shopify Partner hits around week three: one giant CLAUDE.md file that tries to teach the agent everything — Liquid conventions, your metafield taxonomy, theme speed budgets, app submission rules, SEO rules — starts to contradict itself. The agent refactors a section perfectly but ships a 90 KB hero image. It writes a beautiful product description but forgets the schema markup. One monolithic prompt is a generalist, and Shopify work rewards specialists.
That is the problem subagents solve. A subagent is a self-contained, single-purpose agent with its own system prompt, its own toolset, and its own context window that the primary Claude Code agent can delegate to. Think of it as a mini-employee who only does one job and does it flawlessly every time. The community has published hundreds of them — VoltAgent's awesome-claude-code-subagents list on GitHub alone catalogs over 100 — but almost none are tuned for Shopify merchants. This guide is the Shopify-specific roundup that list is missing.
We will cover what subagents are, why the best Claude Code subagents for Shopify merchants are specialists rather than generalists, the 10 essentials every merchant should install, how to write your own, when to swap vs combine them, and the common mistakes that turn a helpful fleet into a chaotic committee. If you are newer to the tool, pair this with our pillar guide on Claude Code for Shopify development first, then come back.
What a Claude Code Subagent Actually Is

A subagent is a lightweight markdown file that lives in .claude/agents/ (project scope) or ~/.claude/agents/ (user scope). It has YAML frontmatter declaring the agent's name, description, allowed tools, and model, followed by a system prompt that defines its personality and behavior. When the primary Claude Code agent hits a task that matches the subagent's description, it spawns the subagent in a fresh context window, hands it the task, and receives the result.
Three properties make subagents powerful:
- Isolated context. Each subagent gets its own context window, so a giant Liquid refactor does not pollute the context of your next SEO task.
- Scoped tool access. A "read-only auditor" subagent can be prevented from editing files. A "writer" subagent can be given write access only to
sections/andsnippets/. - Automatic delegation. Claude Code reads each subagent's
descriptionfield and picks the right one based on the task, without you having to@mentionit.
The official Claude Code subagents documentation covers the full spec. For Shopify merchants, what matters is this: subagents let you encode hard-won Shopify conventions — Liquid best practices, image weight budgets, Polaris copy rules, schema.org product markup — once, then reuse them across every store you work on.
Project vs User Subagents
Project subagents live in .claude/agents/ inside a specific store's repo and are checked into git. Use these for store-specific rules — a client's voice guide, their bespoke metafield namespace, custom theme sections. User subagents live in ~/.claude/agents/ and follow you across projects. Use these for Shopify-general rules that apply to every merchant you work with.
How Subagents Differ From Slash Commands
Slash commands (in .claude/commands/) are single-shot prompts you invoke manually with /name. Subagents are delegatable workers the primary agent calls automatically. If you find yourself typing /lint-liquid ten times a day, you want a subagent, not a slash command.
Why Shopify Merchants Need Specialized Subagents
Generic "code reviewer" or "frontend developer" subagents from developer-focused lists miss the point for Shopify merchants. Shopify is not a generic web stack. It has Liquid, a specific templating language with its own filters and security rules. It has theme check, a Shopify-specific linter with 40+ rules. It has metafields and metaobjects, which have conventions around namespace and type. It has the App Store review process, which rejects submissions for reasons that would never fail a generic code review.
Consider a real workflow: you are launching a new product line with 200 SKUs. A generic "CSV validator" subagent might check for malformed rows. A Shopify-specific CSV import validator checks for the 19-field Shopify product CSV format, validates that option names match variants, flags images over 20 MB, confirms weight units are supported, and double-checks tax codes. The difference between generic and specialist is the difference between "helpful" and "ship it."
This matters at scale. Merchants running the automation playbooks we cover across the blog report that the subagents they use most often are the ones tuned to Shopify's quirks — not the ones borrowed from general web-dev lists. Specialists win because Shopify is specific. As the Anthropic engineering team has written about building effective agents, narrow, well-defined agents consistently outperform broad ones.
How to Install a Subagent in Claude Code

The installation flow is almost comically simple, which is partly why adoption has been so fast. Here is the full process.
- Open Claude Code inside your Shopify theme or app repo.
- Run `/agents` to open the subagent manager.
- Pick "Create New Agent" and choose project or user scope.
- Describe what the subagent should do in plain English. Claude generates a starter YAML + system prompt.
- Edit the generated file to tighten tool access, add Shopify-specific rules, and clarify the
descriptionfield so delegation is crisp. - Save. The subagent is now available in every future session.
You can also install subagents manually by dropping a markdown file into .claude/agents/. The YAML frontmatter looks like this:
---
name: liquid-linter
description: Use PROACTIVELY for any Liquid file edits. Validates syntax, theme check rules, and performance patterns before commit.
tools: Read, Grep, Bash
model: sonnet
---
You are a strict Shopify Liquid reviewer. You only lint — you never write code. You check:
- Liquid syntax via `shopify theme check`
- No inline CSS in sections
- No more than 3 nested `for` loops
- All product images use `image_url` with a `width:` parameter
- ...The description field is the most important part. Claude Code uses it to decide when to delegate, so be specific — "Use PROACTIVELY for Liquid edits" beats "helps with Liquid." See DEV Community's deep dive on building subagents for more pattern details.
The 10 Essential Shopify Subagents Every Merchant Should Install
This is the core of the roundup. Each subagent below includes its primary job, why it beats a generic alternative, and a recommended tool scope. We run all 10 on our own theme work in the Talk Shop community.
| # | Subagent | Primary Job | Scope | Best Invoked |
|---|---|---|---|---|
| 1 | Liquid Linter | Theme check + Liquid style rules | Read-only | Before every commit |
| 2 | Theme Speed Auditor | Image weights, render-blocking JS, LCP | Read + shell | Before deploy |
| 3 | Metafields Designer | Namespace, type, validation design | Read + GraphQL | New product feature |
| 4 | App Submission Reviewer | App Store review checklist | Read-only | Before shopify app release |
| 5 | CSV Product Import Validator | Shopify CSV schema + image weight | Read-only | Before bulk import |
| 6 | Shopify Flow Writer | Flow JSON + trigger/action validation | Read + write | Building automations |
| 7 | Schema Markup Generator | Product / FAQ / Breadcrumb JSON-LD | Read + write | New product / blog post |
| 8 | PDP Copy Reviewer | Voice, length, feature-to-benefit | Read + write | New product launches |
| 9 | Accessibility Checker | WCAG 2.2 AA, alt text, color contrast | Read-only | Before theme publish |
| 10 | SEO Meta Auditor | Title/description length, keyword placement | Read-only | Before new page publish |
1. Liquid Linter
Why a specialist wins: Generic linters do not know {% render %} vs {% include %} deprecation, or that {{ 'theme.css' | asset_url | stylesheet_tag }} beats inlining CSS. A Liquid-specific subagent runs shopify theme check and layers on your house rules.
System prompt highlights: refuse to edit files, report findings as a numbered list with file path and line number, flag any {{ content_for_header }} duplication, reject inline event handlers.
2. Theme Speed Auditor
Why a specialist wins: A generic web performance auditor will complain about bundle size without knowing Shopify serves assets via CDN, or that Liquid render time is limited to 1.5 seconds. The Shopify variant checks hero image weight (target: under 200 KB), counts render-blocking script tags, flags jquery imports, and cross-references results against Shopify's official theme performance best practices.
Scope: Give it Bash access so it can run shopify theme check --category performance and a Lighthouse CI command against your preview URL.
3. Metafields Designer
Why a specialist wins: Merchants always get metafield design wrong on the first try — wrong namespace, wrong type, no validation. This subagent asks the right questions (where will this render? which apps need read access? is it per-variant or per-product?) and produces a clean metafield definition plus the GraphQL mutation to create it. Pair it with the metafields guide on our blog for context.
4. App Submission Reviewer
Why a specialist wins: Shopify's App Store review checklist has 50+ items. A generic code reviewer will miss the Shopify-specific ones — GDPR webhooks, billing API usage, app bridge integration, mandatory uninstall callbacks. This subagent walks the full Shopify submission checklist and writes a readiness report before you click submit.
5. CSV Product Import Validator
Why a specialist wins: The Shopify product CSV has a strict 19-column schema. This subagent validates it row by row, checks for common issues (trailing whitespace in handles, image URLs over 20 MB, missing variant combinations), and outputs a cleaned file. Saves hours of "why did 47 products fail to import?"
6. Shopify Flow Writer
Why a specialist wins: Shopify Flow automations are declarative JSON workflows with specific trigger and action schemas. A Flow-specific writer knows the valid triggers (order_created, product_added_to_store), the action catalog (tag customer, send email, call webhook), and will not hallucinate a gift_with_purchase action that does not exist. This plugs directly into the patterns we cover in our Shopify Flow automation examples guide.
7. Schema Markup Generator
Why a specialist wins: Product schema.org JSON-LD has required fields (@type, name, sku, offers). A Shopify-tuned generator pulls live product data via the Storefront API and emits valid JSON-LD that passes Google's Rich Results Test. It also knows when to add FAQPage, BreadcrumbList, and Organization schema.
8. PDP Copy Reviewer
Why a specialist wins: Generic copy reviewers optimize for grammar. A PDP reviewer knows ecommerce conversion patterns — lead with benefits, mirror the search query in the H1, keep features scannable as bullets, put objection handling above the fold. It reads your product description and returns a marked-up version with specific rewrites.
9. Accessibility Checker
Why a specialist wins: Shopify themes have common a11y traps — decorative images getting alt text, color contrast on "Sold out" badges, focus traps in modal carts. This subagent runs axe-core against your preview URL, flags WCAG 2.2 AA failures, and suggests Liquid-compatible fixes. Deque's axe-core docs are the reference it should cite.
10. SEO Meta Auditor
Why a specialist wins: A general SEO tool will tell you your title is 78 characters. A Shopify-specific auditor knows Shopify renders {{ page_title }} and appends store name, so your effective title is page_title + " – " + shop.name. It audits character budget after the shop suffix, checks that the target keyword appears in the first 60 characters, and confirms meta descriptions are under 160 characters.
How to Write Your Own Shopify Subagent

Once you have installed the essentials, you will hit a case the roundup doesn't cover. Maybe you ship a lot of bundles and want a Bundles QA subagent. Maybe you run a subscriptions store and want a Subscription Contract Reviewer. Writing one takes twenty minutes.
The Four-Part Anatomy
Every subagent has four components:
- A crisp `name` — kebab-case, descriptive, under 30 characters.
- A delegation-ready `description` — "Use PROACTIVELY when X" or "Use when Y" so the primary agent picks it correctly.
- A minimal `tools` list — only the tools it actually needs. Most review subagents need only
ReadandGrep. - A system prompt that is strict about scope — spell out what it will and will not do. Say "you never write code, you only report findings" if that is the rule.
Keep It Opinionated
The best subagents are opinionated. Instead of "review this PDP copy," write "review this PDP copy against the following five rules: lead with benefit, 3-5 bullet features, one social-proof line, objection handling in the FAQ, CTA is a verb." Opinionated subagents produce consistent output across every invocation. For more design patterns, see Sabrina Ramonov's Claude Code subagents explainer — she makes the case well.
Test It in Isolation
Before committing a subagent to the repo, invoke it directly with > Use the liquid-linter subagent to review sections/product-card.liquid. Watch the output. Adjust the system prompt until the results are what you want every time. This is the same tight feedback loop we preach for conversion optimization — measure, adjust, repeat.
When to Swap vs Combine Subagents
A common rookie mistake is activating every subagent on every task. That wastes tokens and creates decision paralysis. Use this rule of thumb: one primary goal, one primary subagent, plus up to two reviewers.
Swap Pattern
Swap when the task fundamentally changes. Writing a new product page? Use the PDP Copy Reviewer, then swap to the Schema Markup Generator once copy is finalized. Do not try to run both simultaneously — they will trip over each other's edits.
Combine Pattern
Combine when one agent writes and another audits. The Shopify Flow Writer produces a workflow; the Liquid Linter and the SEO Meta Auditor are idle because the task is not about them. But the App Submission Reviewer can sit alongside the Accessibility Checker as parallel pre-flight reviewers before you ship. The primary agent orchestrates the hand-off.
Chain Pattern
Chain when outputs flow into each other. Bulk-import new products: first CSV Product Import Validator (clean the data), then Metafields Designer (set up custom fields), then Schema Markup Generator (emit JSON-LD for each product). Each agent's output is the next agent's input.
YAML Frontmatter: A Real Example
Here is a complete, working subagent file you can drop into .claude/agents/shopify-liquid-linter.md:
---
name: shopify-liquid-linter
description: Use PROACTIVELY before any commit that touches .liquid files. Runs shopify theme check and enforces house Liquid style rules. Never edits files — only reports findings.
tools: Read, Grep, Bash
model: sonnet
---
You are a senior Shopify theme reviewer. Your only job is to lint Liquid
files and return findings. You never edit code.
## Process
1. Run `shopify theme check --output json` and parse results.
2. For each .liquid file in the changed set, also check:
- No inline `<style>` blocks (use asset_url + stylesheet_tag)
- No `{% include %}` (deprecated — use `{% render %}`)
- No more than 3 nested `{% for %}` loops
- All `image_url` calls include a `width:` parameter
- No direct `{{ customer.email }}` output without filter
- No jQuery dependencies
3. Return findings as a numbered list:
`[file:line] SEVERITY — Rule — Short fix suggestion`
## Style

- Terse. Engineers read this in a diff.
- Sort by severity: Error > Warning > Info.
- End with a one-line summary: "X errors, Y warnings across Z files."Save that file, restart Claude Code, and it will pick up the linter automatically on your next Liquid edit. The Claude Code settings reference covers the full list of tools and fields you can use.
Where to Find More Subagents
You do not have to write every subagent from scratch. Several community lists aggregate reusable ones:
- VoltAgent's awesome-claude-code-subagents (linked above) — the canonical list, 100+ subagents, dev-generic
- wshobson/agents on GitHub — another large curated list with categories
- ClaudeLog community subagents — user-submitted workflows
- Subagents.sh directory — searchable web index of community subagents
Fork them, strip the parts you do not need, and add Shopify-specific constraints. Most developer-focused subagents become 10x more useful when you tell them "this is a Shopify Liquid codebase, not a generic Node app."
Common Mistakes Merchants Make With Subagents

We have watched a dozen Shopify teams roll out subagents over the past six months. Same five mistakes every time.
1. Installing Too Many at Once
Ten subagents is the ceiling, not the floor. Start with three, prove the workflow, add more. Teams that install 25 subagents on day one end up with overlapping descriptions, Claude Code cannot pick the right one, and delegation degrades.
2. Vague Description Fields
description: "helps with Shopify" is useless. The primary agent cannot tell when to call it. Write specific trigger phrases: "Use PROACTIVELY before any product CSV import to validate schema and image weights." Specificity is what makes automatic delegation work.
3. Giving Every Subagent Full Tool Access
If your Liquid Linter has Write and Bash access, it will eventually "fix" something it should not. Lock it down to Read, Grep only. The rule is least privilege — same principle as Shopify's own app permission model.
4. One Giant System Prompt Instead of Several Subagents
If your subagent's system prompt is longer than 200 lines, it is probably doing three jobs. Split it. A 60-line subagent with one job beats a 300-line subagent that does everything badly.
5. Not Checking Subagents Into Git
Project subagents should live in .claude/agents/ and be committed. Your team benefits, your future self benefits, and you stop reinventing the same linter across three repos. The community-built merchant_developer subagent referenced by SuperAGI is a good example of the shared-agent pattern.
| Mistake | Symptom | Fix |
|---|---|---|
| Too many subagents | Delegation picks wrong one | Start with 3, grow to 10 max |
| Vague description | Agent never gets called | Use "Use PROACTIVELY when X" |
| Full tool access | Unintended edits | Minimum viable tool list |
| Giant system prompt | Inconsistent output | Split into specialists |
| Not in git | Reinvented per project | Commit .claude/agents/ |
How Subagents Fit Into a Merchant's Weekly Workflow
Concrete example from a DTC apparel brand we work with. Their week looks like this:
- Monday — new product launch. CSV Product Import Validator runs against the drop sheet, flags 4 bad image URLs, they get fixed in 10 minutes instead of "why did the import break?" post-mortem.
- Tuesday — PDP copy review. PDP Copy Reviewer marks up 12 new product descriptions with rewrites. The copywriter accepts 9, rejects 3.
- Wednesday — theme tweaks. Every Liquid edit triggers the Liquid Linter. Two commits get blocked for deprecated
includetags. - Thursday — pre-publish audit. Accessibility Checker + SEO Meta Auditor + Theme Speed Auditor run in parallel. Three issues caught before the theme goes live.
- Friday — Shopify Flow work. Flow Writer builds the new abandoned-cart sequence. Validates against real store data.
Total human time spent on review tasks: under three hours. Same review coverage as a full-time QA engineer. This is not speculative — it is the pattern we see across stores using the workflows documented in our Shopify development resources. The Foundry10x writeup on Shopify subagents reaches the same conclusion from a different dataset.
Wrapping Up: Which Three Should You Install First

If you only install three subagents this week, make them the Liquid Linter, the SEO Meta Auditor, and the Accessibility Checker. Those three cover 80% of what breaks between "it works on my machine" and "it broke on the live store." Once those feel natural, add the PDP Copy Reviewer and the Theme Speed Auditor. After a month, you will have a fleet of specialists that catch mistakes before they cost a customer.
The best Claude Code subagents for Shopify merchants are opinionated, narrow, and versioned with your codebase. They turn the ad-hoc "AI pair" into a reliable QA team that never takes a day off. Ship them into your workflow the same way you would ship any new process: start small, measure, iterate.
Which subagent would save your store the most time this week? Drop into our Talk Shop community and tell us — we are building a public registry of merchant-tested Shopify subagents, and your use case could be the next one we document. For more on agentic workflows, browse the ai-emerging-tech section of our blog.

About Talk Shop
The Talk Shop team — insights from our community of Shopify developers, merchants, and experts.
