Shopify setup

From OrcaQubits/agentic-commerce-skills-plugins · View interactive version

Shopify setup is an AI agent skill from the GitHub repository OrcaQubits/agentic-commerce-skills-plugins. 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.

How to use this skill

Skill file

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:

Development Stores

Two types:

Shopify CLI

The primary development tool:

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:

Best Practices

Fetch the Shopify CLI docs and getting-started guides for exact commands and latest project structures before setting up.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.