shopify-setup
Set up a Shopify development environment — Shopify CLI installation, Partner account, development stores, environment variables, project structures for themes, apps, and Hydrogen. Use when starting a new Shopify project.
Best use case
shopify-setup is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Set up a Shopify development environment — Shopify CLI installation, Partner account, development stores, environment variables, project structures for themes, apps, and Hydrogen. Use when starting a new Shopify project.
Teams using shopify-setup should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/shopify-setup/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How shopify-setup Compares
| Feature / Agent | shopify-setup | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Set up a Shopify development environment — Shopify CLI installation, Partner account, development stores, environment variables, project structures for themes, apps, and Hydrogen. Use when starting a new Shopify project.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Shopify Development Setup ## Before writing code **Fetch live docs**: 1. Fetch `https://shopify.dev/docs/api/shopify-cli` for CLI installation and commands 2. Web-search `site:shopify.dev getting started app development` for app setup 3. Web-search `site:shopify.dev theme development getting started` for theme setup ## Prerequisites ### Shopify Partner Account All Shopify development starts with a Partner account: - Free at https://partners.shopify.com/ - Provides access to development stores (unlimited), app management, and theme development - Development stores have full Shopify features without charges ### Development Stores Two types: - **Development store** — full-featured test store, cannot process real payments - **Shopify Plus sandbox** — for testing Plus-specific features ### Shopify CLI The primary development tool: - Install: `npm install -g @shopify/cli` or `brew install shopify-cli` - Authenticate: `shopify auth login` - Key commands: `shopify app init`, `shopify theme init`, `shopify hydrogen init` ## Project Structures ### App Project (Remix) ``` shopify-app/ ├── app/ │ ├── routes/ │ │ ├── app._index.tsx # App dashboard │ │ ├── app.products.tsx # Products page │ │ └── webhooks.tsx # Webhook handler │ ├── shopify.server.ts # Shopify API client │ └── root.tsx ├── extensions/ │ ├── my-function/ # Shopify Function │ └── my-checkout-ui/ # Checkout UI extension ├── shopify.app.toml # App configuration ├── package.json └── .env ``` ### Theme Project ``` my-theme/ ├── assets/ # CSS, JS, images ├── config/ │ ├── settings_schema.json # Theme settings │ └── settings_data.json # Default settings values ├── layout/ │ └── theme.liquid # Main layout ├── locales/ # Translations ├── sections/ # Reusable sections ├── snippets/ # Reusable Liquid snippets ├── templates/ │ ├── index.json # Homepage template │ └── product.json # Product page template └── .shopify/ # CLI metadata ``` ### Hydrogen Project ``` hydrogen-storefront/ ├── app/ │ ├── routes/ │ │ ├── ($locale)._index.tsx │ │ ├── ($locale).products.$handle.tsx │ │ └── ($locale).collections.$handle.tsx │ ├── components/ │ ├── lib/ │ │ └── context.ts │ └── root.tsx ├── server.ts ├── hydrogen.config.ts ├── remix.config.js └── .env ``` ## Environment Variables ``` SHOPIFY_API_KEY=your-api-key SHOPIFY_API_SECRET=your-api-secret SHOPIFY_APP_URL=https://your-app.example.com SCOPES=read_products,write_products,read_orders SHOPIFY_STORE=your-dev-store.myshopify.com ``` Never hardcode secrets — always use `.env` files (excluded from version control) or your platform's secret manager. ## Deprecated Technologies Warning Do NOT use these deprecated tools: - **Slate** — deprecated theme build tool, replaced by Shopify CLI - **Theme Kit** — legacy theme deployment, replaced by `shopify theme` CLI commands - **Timber** — deprecated starter theme, replaced by Dawn ## Best Practices - Use `shopify app init` or `shopify theme init` to scaffold projects — do not set up manually - Always start with a development store — never develop against a production store - Use the latest stable API version (check `https://shopify.dev/docs/api/usage/versioning`) - Keep `.env` in `.gitignore` - Use `shopify app dev` for local development with hot reload and tunnel - Run `shopify theme check` before deploying themes Fetch the Shopify CLI docs and getting-started guides for exact commands and latest project structures before setting up.
Related Skills
woo-setup
Install WooCommerce, configure the development stack, and set up a local dev environment with WP-CLI, Docker, or wp-env. Use when setting up a new WooCommerce project or development environment.
webmcp-setup
Set up a WebMCP project — enable Chrome flags, install MCP-B polyfill, scaffold tool registration, and configure development environment. Use when starting a new WebMCP-enabled website from scratch.
ucp-setup
Set up a UCP project — scaffold a merchant server or platform client with discovery profile, SDK installation, and project structure. Use when starting a new UCP implementation.
mpp-setup
Scaffold an MPP project — install mppx SDK, configure payment methods, set up server middleware, and create a basic paid API endpoint. Use when starting a new MPP machine payments project from scratch.
spree-setup
Bootstrap a new Spree project — `create-spree-app` CLI (v5.2+), `spree-starter` Rails backend, the Next.js storefront repo, `bin/rails g spree:install`, sample data, Docker Compose, and the PostgreSQL + Redis + Sidekiq prerequisites. Use when starting a new Spree project from scratch or onboarding an existing repo.
shopify-webhooks
Implement Shopify webhooks — subscription methods (HTTP, EventBridge, Pub/Sub, SQS), HMAC verification, mandatory GDPR webhooks, delivery methods, retry policy, and idempotency. Use when building event-driven Shopify integrations.
shopify-themes
Develop Shopify themes — file structure, Online Store 2.0, sections and blocks, settings schema, Dawn reference theme, Theme Check linting, asset pipeline, and theme deployment. Use when building or customizing Shopify themes.
shopify-testing
Test Shopify applications — app testing with Vitest and Playwright, theme testing with Theme Check, Function testing, webhook testing, extension testing, and CI/CD pipelines. Use when writing tests for Shopify projects.
shopify-security
Secure Shopify applications — HMAC webhook verification, session token validation, OAuth scope management, Content Security Policy, GDPR mandatory webhooks, input validation, and secure coding practices. Use when implementing Shopify security features.
shopify-polaris
Build Shopify app UIs with Polaris — component categories, Web Components transition, React legacy components, App Design Guidelines, accessibility, @shopify/draggable, and design tokens. Use when building Shopify admin app interfaces.
shopify-performance
Optimize Shopify performance — Liquid rendering, asset optimization, CDN strategies, Core Web Vitals, Hydrogen caching, image optimization, preloading, and lazy loading. Use when improving Shopify store speed.
shopify-liquid
Write Shopify Liquid templates — objects, tags, filters, global objects, section schema, Online Store 2.0 JSON templates, and Liquid best practices. Use when customizing Shopify theme templates.