Agent skill

Shopify Local Dev Loop

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Configure Shopify local development with Shopify CLI, hot reload, and ngrok tunneling.

MITAuto-check: notesTesting & QA

Install Shopify Local Dev Loop

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill shopify-local-dev-loop -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace shopify-local-dev-loop --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/shopify-local-dev-loop .claude/skills/shopify-local-dev-loop && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
shopify-local-dev-loop
GitHub stars
2.8k
Token cost
~1.3k tokens
SKILL.md length
249 words
Files
3 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Configure Shopify local development with Shopify CLI, hot reload, and ngrok tunneling.

  • Works in 6 steps: Scaffold with Shopify CLI → Project Structure → Configure shopify.app.toml → …
  • Setting up a development environment
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 3 more sections
  • Calls shopify, npm and curl; needs SHOPIFY_API_KEY

What it does

Shopify Local Dev Loop is an agent skill from jeremylongshore/tons-of-skills-marketplace. Configure Shopify local development with Shopify CLI, hot reload, and ngrok tunneling. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Shopify. Trigger with phrases like "shopify dev setup", "shopify local development", "shopify dev environment", "develop with shopify", "shopify CLI dev".

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/app-toml-config.md` and `references/vitest-shopify-mock.md`). Compatibility notes: Designed for Claude Code

It sits in Testing & QA. It works with Shopify, npm and Vitest. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Setting up a development environment
  • Configuring test workflows
  • Establishing a fast iteration cycle with Shopify
  • With phrases like shopify dev setup

Example prompts

  • “shopify dev setup”
  • “shopify local development”
  • “shopify dev environment”
  • “/shopify-local-dev-loop”

Requirements

  • Node.js
  • A credential in SHOPIFY_API_KEY
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash(npm:*), Bash(pnpm:*), Bash(npx:*), Bash(shopify:*), Grep

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Scaffold with Shopify CLI
  2. Project Structure
  3. Configure shopify.app.toml
  4. Start Dev Server with Tunnel
  5. Set Up Testing
  6. GraphQL Explorer for Development

What it can do on your machine

Read from SKILL.md and the folder at commit 23ea8d4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash(npm:*)
    • Bash(pnpm:*)
    • Bash(npx:*)
    • Bash(shopify:*)
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • shopify
    • npm
    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • shopify.dev
    • github.com
    • vitest.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • SHOPIFY_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Shopify Local Dev Loop loads about 1.3k tokens when it runs, and up to ~1.9k if it reads all its reference files. Until then it costs about 96 tokens; SKILL.md has 249 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~96
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:68
    ├── .env                         # Local secrets (git-ignored)
  • NoteMentions a .env fileSKILL.md:129
    | `SHOPIFY_API_KEY not set` | Missing .env | Copy from `.env.example` and fill in values |

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit 23ea8d4, republished under its MIT licence (© jeremylongshore). 249 words, ~1,327 tokens.

Download SKILL.mdSave it as .claude/skills/shopify-local-dev-loop/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
shopify-local-dev-loop
description
Configure Shopify local development with Shopify CLI, hot reload, and ngrok tunneling. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Shopify. Trigger with phrases like "shopify dev setup", "shopify local development", "shopify dev environment", "develop with shopify", "shopify CLI dev".
allowed-tools
Read, Write, Edit, Bash(npm:*), Bash(pnpm:*), Bash(npx:*), Bash(shopify:*), Grep
compatibility
Designed for Claude Code
version
2.7.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, ecommerce, shopify

Shopify Local Dev Loop

Overview

Set up a fast, reproducible local development workflow using Shopify CLI, ngrok tunneling for webhooks, and Vitest for testing against the Shopify API.

Prerequisites

  • Completed shopify-install-auth setup
  • Node.js 18+ with npm/pnpm
  • Shopify CLI 3.x (npm install -g @shopify/cli)
  • A Shopify Partner account and development store

Instructions

Step 1: Scaffold with Shopify CLI
bash
# Create a new Remix-based Shopify app (recommended)
shopify app init

# Or scaffold manually
mkdir my-shopify-app && cd my-shopify-app
npm init -y
npm install @shopify/shopify-api @shopify/shopify-app-remix \
  @shopify/app-bridge-react @remix-run/node @remix-run/react
Step 2: Project Structure
my-shopify-app/
├── app/
│   ├── routes/
│   │   ├── app._index.tsx      # Main app page
│   │   ├── app.products.tsx    # Products management
│   │   ├── auth.$.tsx          # OAuth callback
│   │   └── webhooks.tsx        # Webhook handler
│   ├── shopify.server.ts       # Shopify API client setup
│   └── root.tsx
├── extensions/                  # Theme app extensions
├── shopify.app.toml             # App configuration
├── .env                         # Local secrets (git-ignored)
├── .env.example                 # Template for team
└── package.json
Step 3: Configure shopify.app.toml

Central app configuration with scopes, auth redirects, and mandatory GDPR webhook subscriptions.

See App TOML Config for the complete configuration file.

Step 4: Start Dev Server with Tunnel
bash
# Shopify CLI handles ngrok tunnel + OAuth automatically
shopify app dev

# This will:
# 1. Start your app on localhost:3000
# 2. Create an ngrok tunnel
# 3. Update your app URLs in Partner Dashboard
# 4. Open your app in the dev store admin
# 5. Hot reload on file changes
Step 5: Set Up Testing

Vitest setup with mocked Shopify API client and recommended package.json scripts for the dev workflow.

See Vitest Shopify Mock for the complete test setup.

Step 6: GraphQL Explorer for Development
bash
# Open the Shopify GraphiQL explorer for your store
# Navigate to: https://your-store.myshopify.com/admin/api/2025-04/graphql.json
# Use the Shopify Admin GraphiQL app (install from admin)

# Or use curl to test queries directly:
curl -X POST \
  "https://your-store.myshopify.com/admin/api/${SHOPIFY_API_VERSION:-2025-04}/graphql.json" \
  -H "Content-Type: application/json" \
  -H "X-Shopify-Access-Token: shpat_xxx" \
  -d '{"query": "{ shop { name } }"}'

Output

  • Shopify CLI dev server running with hot reload
  • Ngrok tunnel forwarding to localhost
  • Test suite with mocked Shopify API calls
  • GraphQL explorer available for API exploration

Error Handling

ErrorCauseSolution
Could not find a Shopify partner organizationCLI not logged inRun shopify auth login
Port 3000 already in useAnother process on portKill process or use --port 3001
Tunnel connection failedngrok issuesCheck ngrok status or use --tunnel-url
App not installed on storeFirst time setupOpen the URL CLI provides, accept install
SHOPIFY_API_KEY not setMissing .envCopy from .env.example and fill in values

Examples

Debug with Request Logging
typescript
// Enable verbose request logging in development
import { LogSeverity } from "@shopify/shopify-api";

const shopify = shopifyApi({
  // ... other config
  logger: {
    level: LogSeverity.Debug, // Logs all requests/responses
    httpRequests: true,
    timestamps: true,
  },
});
Seed Test Data
typescript
// scripts/seed-dev-store.ts — create test products
async function seedStore(client: any) {
  const products = [
    { title: "Test Widget", productType: "Widget", vendor: "Dev" },
    { title: "Test Gadget", productType: "Gadget", vendor: "Dev" },
  ];

  for (const product of products) {
    await client.request(`
      mutation { productCreate(product: {
        title: "${product.title}",
        productType: "${product.productType}",
        vendor: "${product.vendor}"
      }) {
        product { id title }
        userErrors { field message }
      }}
    `);
  }
}

Resources

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/.curated/shopify-local-dev-loop of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/app-toml-config.md
  • references/vitest-shopify-mock.md

Open the folder on GitHubat commit 23ea8d4

Compare with similar skills

Shopify Local Dev Loop next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Shopify Local Dev Loop compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Shopify Local Dev Loop this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.3kAutomated safety check: NotesMIT
Running TestsNangoHQ/nango13k—~876Automated safety check: PassCustom licence
Tsed Migrationtsedio/tsed3.1k—~2.5kAutomated safety check: PassMIT
Test Detectdavila7/claude-code-templates32k—~989Automated safety check: PassMIT
Writing Unit Tests Typescriptmicrosoft-foundry/foundry-agent-webapp127—~1.5kAutomated safety check: PassMIT
Test Coverage Analyzeraiskillstore/marketplace430—~1.8kAutomated safety check: NotesNone

Similar skills

  • Running Tests

    NangoHQ/nango

    A skill your agent uses when running tests in the Nango monorepo - knows unit vs integration configs, vitest commands, Docker setup, and common test patterns

    13k GitHub stars~876 tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Tsed Migration

    tsedio/tsed

    Migrates an application to Ts.ED v8 from v7, with pointers for v6 and plain Express apps.

    3.1k GitHub stars~2.5k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Test Detect

    davila7/claude-code-templates

    Auto-detect testing framework and run relevant tests. An agent skill from davila7/claude-code-templates.

    32k GitHub stars~989 tokensUpdated today
    Testing & QAAuto-check passed
  • Writing Unit Tests Typescript

    microsoft-foundry/foundry-agent-webapp

    Guidelines and patterns for writing unit tests in TypeScript using Vitest.

    127 GitHub stars~1.5k tokensUpdated 5 mo ago
    Testing & QAAuto-check passed
  • Test Coverage Analyzer

    aiskillstore/marketplace

    Analyzes test coverage gaps and suggests test cases for untested code paths.

    430 GitHub stars~1.8k tokensUpdated yesterday
    Testing & QAAuto-check: notes
  • 覆盖 Blade Code 跨测试、构建、资格验证、发布与双语文档的工程质量闭环. An agent skill from echoVic/blade-code.

    181 GitHub stars~1.4k tokensUpdated 11 days ago
    Testing & QAAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Analyzing Text With NLP

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to perform natural language processing and text analysis using the nlp-text-analyzer plugin.

    2.8k GitHub starsUsed in 1 repo~819 tokens
    Auto-check passed
  • Building Neural Networks

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill allows AI assistant to construct and configure neural network architectures using the neural-network-builder plugin.

    2.8k GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Detecting Data Anomalies

    jeremylongshore/tons-of-skills-marketplace

    Process identify anomalies and outliers in datasets using machine learning algorithms.

    2.8k GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Explaining Machine Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill enables AI assistant to provide interpretability and explainability for machine learning models.

    2.8k GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Optimizing Prompts

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill optimizes prompts for large language models (llms) to reduce token usage, lower costs, and improve performance.

    2.8k GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed

Questions about Shopify Local Dev Loop

What does Shopify Local Dev Loop do?

Configure Shopify local development with Shopify CLI, hot reload, and ngrok tunneling. Shopify Local Dev Loop is an agent skill from jeremylongshore/tons-of-skills-marketplace. Configure Shopify local development with Shopify CLI, hot reload, and ngrok tunneling.

When should I use Shopify Local Dev Loop?

Shopify Local Dev Loop fits situations like: setting up a development environment; configuring test workflows; establishing a fast iteration cycle with Shopify; with phrases like shopify dev setup.

How do I install Shopify Local Dev Loop in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill shopify-local-dev-loop -a claude-code`. Or copy the skill folder (skills/.curated/shopify-local-dev-loop in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/shopify-local-dev-loop in your project. Claude Code loads it when a task matches its description.

How do I install Shopify Local Dev Loop in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill shopify-local-dev-loop -a codex`. Or copy the skill folder (skills/.curated/shopify-local-dev-loop in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/shopify-local-dev-loop in your project. Codex loads it when a task matches its description.

Can I use Shopify Local Dev Loop in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill shopify-local-dev-loop -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/shopify-local-dev-loop, .gemini/skills/shopify-local-dev-loop, .github/skills/shopify-local-dev-loop and .opencode/skills/shopify-local-dev-loop in your project.

What does Shopify Local Dev Loop need to run?

Going by SKILL.md and its folder, Shopify Local Dev Loop needs the command-line tools its instructions call (shopify, npm and curl) and credentials named SHOPIFY_API_KEY. Our summary lists: Node.js; A credential in SHOPIFY_API_KEY. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash(npm:*), Bash(pnpm:*), Bash(npx:*), Bash(shopify:*), Grep. Compatibility (from SKILL.md): Designed for Claude Code.

Does Shopify Local Dev Loop access the network?

SKILL.md names 3 domains. As links in the text: shopify.dev, github.com and vitest.dev. This is read from the text; nothing was executed.

Is Shopify Local Dev Loop safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Shopify Local Dev Loop use?

Shopify Local Dev Loop is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Shopify Local Dev Loop use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 535 tokens, read only when the agent opens those files.

What are the alternatives to Shopify Local Dev Loop?

Skills that share tags, products or a category with Shopify Local Dev Loop: Running Tests (NangoHQ/nango, 13k stars), Tsed Migration (tsedio/tsed, 3.1k stars), Test Detect (davila7/claude-code-templates, 32k stars) and Writing Unit Tests Typescript (microsoft-foundry/foundry-agent-webapp, 127 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Shopify Local Dev Loop?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,821 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 8, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.