implement-mockup-module

implement-mockup-module is a command for Claude Code from jameywarren/shopify-claude-quickstart. It costs 13 tokens per session (576 once invoked), scanned A, original, MIT.

A Shopify theme implementation command for one finalized design module. It reads the module's mockup or specification and matches it to an existing theme section or block.

In plain words
What is it for?
Use it to implement modules such as a hero, review, or promotional section, identify the theme files involved, and assess any schema or code gaps.
Why use it?
It turns a visual design into a concrete build decision while exposing whether the existing theme is a good fit or needs custom changes.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/jameywarren/shopify-claude-quickstart/implement-mockup-module
Clone the repo
git clone --depth 1 https://github.com/jameywarren/shopify-claude-quickstart

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for implement-mockup-module

README.md
[![agentmods](https://agentmods.dev/badge/commands/jameywarren/shopify-claude-quickstart/implement-mockup-module.svg)](https://agentmods.dev/commands/jameywarren/shopify-claude-quickstart/implement-mockup-module)
Your own site
<a href="https://agentmods.dev/commands/jameywarren/shopify-claude-quickstart/implement-mockup-module"><img src="https://agentmods.dev/badge/commands/jameywarren/shopify-claude-quickstart/implement-mockup-module.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 576 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.00576
Opus 5 $0.00006 $0.00288
Sonnet 5 $0.00003 $0.00115
Haiku 4.5 $0.00001 $0.00058

Measured 5d ago against content hash c0785aff0345, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

implement-mockup-module scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/implement-mockup-module.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are implementing one module from a finalized design. Design decisions are already made — your job is translation, not proposal.

Module: $ARGUMENTS

If no module name was provided, list the files in design/ and ask which one to implement.

Step 1 — Read the design artifact

Look in design/ for files matching the module name (e.g., design/hero.*, design/hero/). This may be:

  • An image (.png, .jpg, .webp) — read it visually
  • A spec file (.md, .txt, .json) — read the contents
  • A folder — read everything inside

Also read:

  • client-brief/design-brief.md (or client-brief-QUICK.md) for colors, fonts, spacing intent
  • client-brief/voice-style-guide.md for any copy in the module

Step 2 — Identify the matching theme section

Scan store-data/theme/sections/ and store-data/theme/blocks/ for the section(s) that best implement this module. State:

  • Which section file you're using and why
  • Whether it's a native fit, a close fit, or a stretch — be honest
  • If it's a stretch: what gap exists and whether a schema addition can close it vs. requiring custom code

Do not propose a new custom section unless no native section can do the job. If you must, say so explicitly.

Step 3 — Output the implementation

Produce three things:

1. Settings mapping — a table or annotated list: design element → section setting → value. Every visible design decision should map to a named setting.

2. JSON settings block — the exact JSON for this section in templates/index.json, ready to paste or upsert. Use real values from the design, not placeholders.

3. Upsert mutation — validated by shopify-plugin:shopify-admin, ready to run:

shopify store execute --store {STORE}.myshopify.com --allow-mutations \
  --query 'mutation themeFilesUpsert(...) { ... }'

Show the mutation but do not execute until confirmed.

Step 4 — Flag gaps

List anything that blocks clean execution:

  • Images referenced in the design that aren't yet uploaded to Shopify Files
  • Copy the client still needs to provide
  • Settings the section schema doesn't support (and whether a schema addition is needed)
  • Any ordering dependency (e.g., this section must come after another)

Read the full file on GitHub · 58 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 58 lines · 13 tokens per session scan A c0785aff0345

Subscribe to this mod's changes

implement-mockup-module is a command published in the GitHub repository jameywarren/shopify-claude-quickstart (2 stars, last pushed 4mo ago), licensed MIT. It adds 13 tokens to every session and 576 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.