Skip to content

About

Claude Code plugin and AGENTS.md for Shopify Online Store 2.0 themes: a conventions skill with cited sources, a diff reviewer agent, a /new-section scaffolder, a hook that runs Theme Check after each Liquid/JSON edit, and a theme CI workflow you can copy.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Shopify Theme Agent Kit

CI

A Claude Code plugin and an AGENTS.md for Shopify Online Store 2.0 theme development: sourced theme conventions, a diff reviewer, a section scaffolder, and a hook that runs Theme Check after every edit to a .liquid or .json theme file.

Why

  • Coding agents write Liquid that renders but breaks theme conventions: inline scripts, hardcoded English in schema labels, img_url without srcset, clickable <div>s.
  • Theme Check catches part of that, but only when someone runs it. This kit runs it after each edit, so the agent sees errors immediately.
  • A reviewer agent covers what Theme Check does not.

Install

Inside Claude Code:

/plugin marketplace add plazorax/shopify-theme-agent-kit
/plugin install shopify-theme-agent-kit@plazorax

The hook needs Node 20+ and the Shopify CLI (npm install -g @shopify/cli); without the CLI it reports that the check was skipped. Shell and local-checkout installs: docs/usage.md.

Usage

Scaffold a section, then let the reviewer check your diff:

/shopify-theme-agent-kit:new-section hero-banner
@agent-shopify-theme-agent-kit:theme-reviewer review my changes

When Claude writes a file with errors, such as examples/bad-section.liquid, the hook blocks and Claude sees:

Theme Check found 3 error(s) in sections/bad-section.liquid. Fix them before moving on:
  sections/bad-section.liquid:5:1 [error] ParserBlockingScript: Avoid parser blocking scripts by adding `defer` or `async` on this tag
  sections/bad-section.liquid:15:7 [error] ImgWidthAndHeight: Missing width and height attributes on img tag
  ... (full output in docs/usage.md)

What's inside

  • theme-conventions skill: rules with ids (SCH-1, IMG-3, ...), each citing shopify.dev, the Theme Store requirements or Dawn.
  • new-section skill: creates a section with schema, t: labels, {% stylesheet %} and a preset, then runs Theme Check.
  • theme-reviewer agent: read-only diff review, findings ranked by severity with path:line, rule and fix.
  • Theme Check hook: blocks on errors in the edited file, passes warnings as context.
  • AGENTS.md: the same conventions for agents that do not use Claude Code plugins.
  • ci/: copyable theme CI workflow and a JSON/schema validator that runs without the Shopify CLI.

Docs: usage · configuration · how it works · development · limitations

Status

v0.1.0 — reference implementation. The plugin passes claude plugin validate --strict and loads with --plugin-dir, but the reviewer agent and /new-section have not yet been run end to end in a live Claude Code session. Not tested on Windows. See docs/limitations.md.

License

MIT © 2026 Oleksii Shaposhnikov

About

Claude Code plugin and AGENTS.md for Shopify Online Store 2.0 themes: a conventions skill with cited sources, a diff reviewer agent, a /new-section scaffolder, a hook that runs Theme Check after each Liquid/JSON edit, and a theme CI workflow you can copy.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages