Most agencies discover the same problem during their first month rolling out Cursor and Claude across client projects: when an engineer works on a Shopify Liquid storefront on Monday and switches to a BigCommerce Catalyst Next.js build on Tuesday, unconfigured AI assistants leak bad habits across both stacks.
Left unguided, an assistant drops heavy client-side React patterns or 'use client' directives across BigCommerce Catalyst Server Components—hurting mobile speed—or invents deprecated Liquid tags
and unlocalized schema keys inside Shopify themes. Developers spend half their saved time undoing subtle architectural messes during code review.
The fix isn’t writing longer chat prompts. It’s treating AI context like production infrastructure: checking scoped .cursor/rules,
clean CLAUDE.md architecture guides, live MCP servers, and mandatory compiler/linter loops directly into every client repository.
Here is the exact playbook our agency uses across both Shopify Liquid and BigCommerce Catalyst builds.
Shopify Liquid vs. BigCommerce Catalyst: How AI Context Rules Differ
Even though both stacks share similar agency workflows—Figma tokens in, modular storefront out, automated browser QA at the end—their guardrails differ sharply:
| Workflow Layer | Shopify Liquid (Dawn / Horizon) | BigCommerce Catalyst (Next.js / GraphQL) | Cursor & Claude Guardrail |
|---|---|---|---|
| Core Language & Rendering | Server-rendered Liquid + CSS tokens + Vanilla Web Components | Next.js App Router, React Server Components (RSC), TypeScript & Tailwind CSS | Forbid jQuery/React in Liquid; forbid unnecessary 'use client' in Catalyst routes |
| Data & Catalog Layer | Liquid objects (product, collection) & Metafields |
Strongly typed BigCommerce Storefront GraphQL queries inside client/ |
Enforce pagination limits in Liquid; require typed GraphQL fragments in Catalyst |
| Visual Merchandising | Theme Customizer {% schema %} section & block settings |
Optional Makeswift component registration inside makeswift/ |
Validate schema translations in Liquid; keep visual props typed in Makeswift |
| Automated Gate | shopify theme check + shopify theme dev |
tsc --noEmit + ESLint + next build |
Agents must pass CLI checks cleanly before opening any pull request |
Step 1: Never Rely on Chat Memory—Standardize CLAUDE.md and .cursor/rules
Senior engineers never repeat “please use Shopify’s image_tag filter and keep sections accessible” in every prompt.
Every new repository at our agency boots with two lightweight markdown instruction layers versioned in Git:
CLAUDE.mdat the repo root: Explains folder conventions, build/lint commands, checkout constraints, SEO schema expectations, and forbidden patterns so both Claude Code CLI sessions and human onboarding follow identical rules.- Scoped
.cursor/rules/*.mdcfiles: Attach rules automatically by file glob—so editingsections/*.liquidloads Shopify Liquid + Horizon block standards, while editingapp/**/*.tsxorclient/**/*.tsloads Catalyst RSC + BigCommerce GraphQL rules.
Step 2: The Cursor & Claude Playbook for Shopify Liquid Themes
Whether building on Dawn or Shopify’s modular Horizon architecture (covered in our breakdown of our AI tech stack for custom Shopify themes), our Shopify rule file prevents the five most common AI Liquid mistakes:
# .cursor/rules/shopify-liquid.mdc (Excerpt)
- Always use {% render 'snippet' %} — never deprecated {% include %}.
- Never query all_products inside collection or search loops (causes TTFB spikes).
- Render media via Shopify image_url + image_tag with explicit widths and loading="lazy" (except above-the-fold LCP hero = fetchpriority="high").
- Keep section {% schema %} settings concise, merchant-friendly, and wired to locales/en.default.schema.json keys.
- Use CSS custom properties and lightweight vanilla Web Components; never inject jQuery or external CSS frameworks.
- After editing any .liquid or .json file, run `shopify theme check` and resolve every error before finishing.
Pair Cursor & Claude With the Official Shopify Dev MCP
Liquid evolves constantly—especially around Horizon nested theme blocks, llms.txt.liquid overrides, and Shopify Plus Functions schemas.
Connecting Cursor and Claude Code to the official Shopify Dev MCP server lets the agent look up live Liquid documentation and run Theme Check validation mid-task
instead of guessing deprecated syntax from memory.
Where Claude Excels vs. Where Cursor Excels on Liquid
- Use Cursor Composer / Tab when scaffolding individual
sections/*.liquidfiles from Figma Dev Mode specs, wiring responsive CSS grid rules, and refactoring JavaScript Web Components for variant drawers. - Use Claude Code CLI for cross-repo architectural tasks—like auditing 25 theme snippets for unescaped translations, generating
ProductGroupJSON-LD backed by Shopify Metafields, or migrating legacy Dawn templates into Horizon modular blocks cleanly.
Step 3: The Playbook for BigCommerce Catalyst (Next.js + GraphQL + Makeswift)
BigCommerce Catalyst has quickly become our go-to architecture when merchants outgrow classic Stencil themes and want modern Next.js App Router performance without sacrificing hosted PCI checkout security (read our full BigCommerce Stencil vs. Catalyst comparison).
Scaffolded via pnpm create @bigcommerce/catalyst@latest (or with --gh-ref @bigcommerce/catalyst-makeswift@latest when pairing visual page editing),
Catalyst gives Cursor and Claude a strongly typed TypeScript + Tailwind + GraphQL codebase that AI coding tools navigate far more reliably than messy custom headless stacks.
# CLAUDE.md — BigCommerce Catalyst Standards (Excerpt)
1. Server-First Rendering: Keep routes in app/ as React Server Components (RSC) wrapped in Suspense boundaries. Isolate 'use client' strictly to small interactive leaves (variant picker, cart drawer, filter toggles).
2. Storefront GraphQL Discipline: Colocate typed BigCommerce Storefront API queries/fragments in client/. Never fetch raw REST endpoints inside client components when GraphQL RSC queries handle it in one round trip.
3. Hosted Checkout Integrity: Preserve BigCommerce Cart & Checkout API handoffs; never store raw payment inputs or bypass BigCommerce checkout redirects.
4. Makeswift Marketing Autonomy: When registering new components under makeswift/, expose clean visual controls (spacing, headlines, collection pickers) without leaking raw API keys.
5. Mandatory Verification: Run `pnpm typecheck` (`tsc --noEmit`), `pnpm lint`, and `pnpm build` after multi-file edits.
Unlocking Marketing Speed With Makeswift + Cursor
One reason agencies love Catalyst + Makeswift—a core theme in our guide on giving marketing teams control over headless landing pages—is clean division of labor.
Engineers use Cursor to build a responsive, TypeScript-checked React product showcase component in 20 minutes and register its editable props inside makeswift/.
From that point on, the client’s marketing team builds seasonal campaign pages visually inside Makeswift without filing a single Jira ticket.
Step 4: The 5-Gate Review Loop That Keeps Speed From Creating Debt
Shipping 2x to 3x faster only strengthens an agency’s reputation if the production store stays fast, accessible, and bug-free during Q4 traffic surges. Every pull request generated with Cursor or Claude passes five non-negotiable checks before merging:
- Static Analysis Gate:
shopify theme checkmust pass cleanly on Shopify builds;tsc --noEmit, ESLint, andnext buildmust pass cleanly on Catalyst builds. - Client-Bundle & Core Web Vitals Check: Review diffs specifically for accidental
'use client'additions in Catalyst or bloated third-party script loads in Liquid that hurt Interaction to Next Paint (INP)—a failure mode we unpack in our BigCommerce mobile INP optimization guide. - Real GraphQL & Liquid Query Audit: Confirm Catalyst GraphQL fragments request only needed fields (no over-fetching 50 unused variant attributes on PLPs) and Liquid loops respect clean pagination.
- Cross-Viewport Browser Smoke Test: Run automated Playwright checks across
375pxmobile and1440pxdesktop on home, PLP filters, multi-variant PDP selection, cart drawer updates, and checkout redirects. - Human Senior Architectural Sign-Off: A principal engineer reads the final diff for caching headers, edge-case fallback states (out-of-stock variants, empty search queries), SEO schema alignment, and merchant editor usability.
How to Roll Out This Playbook Across an Agency Team This Week
Don’t push 10 developers to reinvent their own prompts separately. Standardize across one afternoon:
- Create two golden starter templates: One Shopify Liquid repo (with
.cursor/rules/shopify-liquid.mdc,CLAUDE.md, and GitHub Actions runningshopify theme check) and one BigCommerce Catalyst repo (with GraphQL, RSC, and Makeswift rules baked in). - Install Shopify Dev MCP team-wide so every engineer’s Cursor/Claude setup queries live official Shopify documentation automatically.
- Measure PR review friction, not lines of code: Whenever a reviewer catches a recurring AI mistake—like missing
sizesattributes on responsive product images—add one crisp line to.cursor/rulesso the entire team never hits that bug again.
Frequently Asked Questions: Cursor & Claude for Shopify & Catalyst
Does Cursor or Claude work better for Shopify Liquid and BigCommerce Catalyst?
Most senior agency teams get the best results using both together: Cursor shines inside day-to-day component styling, Tailwind tweaks, and inline Liquid/TypeScript refactoring, while Claude Code excels at multi-file migrations, schema/GraphQL restructuring, and running full CLI validation loops across large repositories.
Can AI assistants break BigCommerce Catalyst Server Components without strict rules?
Yes. Without explicit CLAUDE.md or .cursor/rules constraints, AI coding tools trained on older React tutorials frequently add
'use client' at the top of page components—pushing unnecessary JavaScript to mobile browsers and breaking RSC performance advantages.
Is BigCommerce Catalyst a better fit than Stencil for every BigCommerce brand?
Not always. Smaller single-region catalogs with tight budgets still launch rapidly on classic Stencil themes. Catalyst excels for brands wanting sub-second Next.js App Router performance, GraphQL flexibility, custom frontend UX, and Makeswift visual landing pages.
How do agencies keep client code and proprietary store data safe when using AI dev tools?
Use enterprise/business tiers with zero-data-retention guarantees, never commit .env secrets or store API tokens inside prompt files or Git repos,
and keep every build inside staging sandboxes with standard pull-request security checks.
Need Senior Engineers Who Ship Cleanly at AI Speed?
At Northstar, disciplined AI tooling backs real senior commerce engineering—never replacing it. Whether you need a high-converting BigCommerce Catalyst build, a bespoke Shopify Liquid storefront, or headless Next.js & Hydrogen architecture delivered cleanly for your brand or partner agency, we build for speed, maintainability, and conversion from Day 1.
Explore our shipped builds in our case studies, or connect with our engineering leads to scope your next build.




