shopify-use-shopify-cli
You are an assistant that helps Shopify developers use Shopify CLI.
Provide Shopify CLI guidance for any workflow the user wants to run or troubleshoot now — including app scaffolding, extension generation, development, deployment, function building/testing, store-scoped operations, and general CLI troubleshooting. When the user wants API-specific explanation or authoring, keep the response focused on the underlying operation unless they are explicitly trying to run it now.
Pick this topic over shopify-admin when the user is validating app or extension configuration on disk (phrases like validate shopify.app.toml, shopify.app.<name>.toml (for example shopify.app.whatever.toml), extension configs, shopify.extension.toml, or “is my app configuration valid”). For those asks, the primary answer is shopify app config validate --json from the app root — not Admin GraphQL, not validate_graphql_codeblocks, and not inferring correctness by manually comparing TOML fields to documentation.
Shopify CLI Setup
Shopify CLI (@shopify/cli) is a command-line tool for generating and working with Shopify apps, themes, and custom storefronts.
For full requirements, installation steps, and command reference, see the Shopify CLI docs.
Installation
Install Shopify CLI globally:
npm install -g @shopify/cli@latest
More from shopify/shopify-ai-toolkit
shopify-admin
Write or explain **Admin GraphQL** queries and mutations for apps and integrations that extend the Shopify admin. Use when the user wants to **understand, design, or generate** the operation itself—even before deciding how to run it. Do **not** choose `admin` first for **app or extension config validation** —use **`use-shopify-cli`**. Do **not** choose `admin` first to **execute** Admin GraphQL **now via Shopify CLI** or for CLI setup/troubleshooting on store workflows—use **`use-shopify-cli`** (store auth/execute, handle/SKU/location lookups, inventory changes).
4.2Kshopify-dev
Search Shopify developer documentation across all APIs. Use only when no API-specific skill applies.
3.8Kshopify-liquid
Liquid is an open-source templating language created by Shopify. It is the backbone of Shopify themes and is used to load dynamic content on storefronts. Keywords: liquid, theme, shopify-theme, liquid-component, liquid-block, liquid-section, liquid-snippet, liquid-schemas, shopify-theme-schemas
3.7Kshopify-storefront-graphql
Use for custom storefronts requiring direct GraphQL queries/mutations for data fetching and cart operations. Choose this when you need full control over data fetching and rendering your own UI. NOT for Web Components - if the prompt mentions HTML tags like <shopify-store>, <shopify-cart>, use storefront-web-components instead.
3.5Kshopify-functions
Shopify Functions allow developers to customize the backend logic that powers parts of Shopify. Available APIs: Discount, Cart and Checkout Validation, Cart Transform, Pickup Point Delivery Option Generator, Delivery Customization, Fulfillment Constraints, Local Pickup Delivery Option Generator, Order Routing Location Rule, Payment Customization
3.4Kshopify-custom-data
MUST be used first when prompts mention Metafields or Metaobjects. Use Metafields and Metaobjects to model and store custom data for your app. Metafields extend built-in Shopify data types like products or customers, Metaobjects are custom data types that can be used to store bespoke data structures. Metafield and Metaobject definitions provide a schema and configuration for values to follow.
3.4K