setup-local-dev

setup-local-dev is a command for Claude Code from mentilead/shopify-app-skill. It costs 0 tokens per session (523 once invoked), scanned A, original, MIT.

A command that checks and configures the local environment for a Shopify embedded app, an app that runs inside Shopify's admin or storefront tools.

In plain words
What is it for?
Checking Docker, Node.js, Shopify CLI, dependencies, and required files; starting local DynamoDB and LocalStack services; and creating the environment file when needed.
Why use it?
It catches missing tools, dependencies, services, or configuration that could prevent local development from starting.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths.

Part of the shopify-app-skill plugin — 1 skill, 10 commands shipped together

Good fit Checking Docker, Node.js, Shopify CLI, dependencies, and required files; starting local DynamoDB and LocalStack services; and creating the environment file when needed.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/mentilead/shopify-app-skill/setup-local-dev
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.

Clone the repo
git clone --depth 1 https://github.com/mentilead/shopify-app-skill

Made for: Claude Code.

Or install shopify-app-skill, the plugin that ships this one along with the rest of its 1 skill, 10 commands.

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 setup-local-dev

README.md
[![agentmods](https://agentmods.dev/badge/commands/mentilead/shopify-app-skill/setup-local-dev/github.svg)](https://agentmods.dev/commands/mentilead/shopify-app-skill/setup-local-dev)
Your own site
<a href="https://agentmods.dev/commands/mentilead/shopify-app-skill/setup-local-dev"><img src="https://agentmods.dev/badge/commands/mentilead/shopify-app-skill/setup-local-dev/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-local-dev

Your own site · 80×15
<a href="https://agentmods.dev/commands/mentilead/shopify-app-skill/setup-local-dev"><img src="https://agentmods.dev/badge/commands/mentilead/shopify-app-skill/setup-local-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 523 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00000 $0.00523
Opus 5.5 $0.00000 $0.00209
Sonnet 5.5 $0.00000 $0.00105
Haiku 4.5 $0.00000 $0.00052

Measured 1mo ago against content hash 71274a7203d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup-local-dev 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 1mo 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.

commands/setup-local-dev.md · 42 lines

How it starts

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

Setup Local Dev

Verify and configure the local development environment for a Shopify embedded app.

Arguments

$ARGUMENTS = optional flags (e.g., "reset" to start fresh, "check" to only verify without changes)

Instructions

  1. Read .claude/skills/shopify-app/references/local-dev-patterns.md for Docker Compose setup, startup sequence, and environment variables.
  2. Read .claude/skills/shopify-app/SKILL.md for key environment variables table and gotcha #10 (cached store association).
  3. Run pre-flight checks:
    • Verify Docker is installed and running: docker info
    • Verify Node.js version matches requirements: node --version
    • Verify Shopify CLI is installed: shopify version
    • Verify npm dependencies are installed: check node_modules/ exists
    • Check if docker-compose.yml exists in the project root
  4. If $ARGUMENTS contains "check", report the status of each check and stop. Do not make changes.
  5. Start infrastructure services:
    • Run docker compose up -d to start DynamoDB Local, DynamoDB Admin, and LocalStack
    • Wait for services to be healthy: check ports 8000 (DynamoDB), 8001 (Admin), 4566 (LocalStack)
  6. Set up the .env file if it doesn't exist:
    • Copy from .env.example if available
    • Ensure these local development values are set:
      • DYNAMODB_ENDPOINT=http://localhost:8000
      • AWS_S3_ENDPOINT=http://localhost:4566
      • EMAIL_QUEUE_URL pointing to LocalStack SQS
    • Ask the user for SHOPIFY_API_KEY and SHOPIFY_API_SECRET if not set
  7. Create the DynamoDB table if it doesn't exist:
    • Run npm run setup or the table creation script
    • Verify the table was created via DynamoDB Admin at http://localhost:8001
  8. If $ARGUMENTS contains "reset":
    • Warn the user this will delete local data
    • Run docker compose down -v to remove volumes
    • Restart from step 5
  9. Report the final status:
    • List all running services and their ports
    • Confirm .env is configured
    • Confirm DynamoDB table exists
    • Print the next step: shopify app dev to start the app

Read the full file on GitHub · 42 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. 1mo ago First seen · 42 lines · 0 tokens per session scan A 71274a7203d1

Subscribe to this mod's changes

setup-local-dev is a command published in the GitHub repository mentilead/shopify-app-skill (6 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 523 tokens. 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.