Communityライティング&編集github.com

shopify/shopify-hydrogen

Hydrogen ストアフロント実装のクックブック。利用可能なレシピ: B2B コマース、バンドル、複合リスト、カスタムカート方法、メタオブジェクトによる動的コンテンツ、Express サーバー、Google タグマネージャー統合、無限スクロール、レガシーカスタマーアカウントフロー、マーケット、Partytown + Google タグマネージャー、サブスクリプション、サードパーティ API クエリとキャッシングなど。必須: Hydrogen が言及された場合は、この API を Hydrogen ストアフロントの質問に使用し、Storefront GraphQL を使用しないでください。

shopify-hydrogen とは?

このスキルは、Shopify の Hydrogen フレームワークを使用したストアフロント実装に関する包括的なクックブックを提供します。B2B コマース、バンドル、複合リスト、カスタムカート方法、メタオブジェクトによる動的コンテンツ、Express サーバー、Google タグマネージャー統合、無限スクロール、レガシーカスタマーアカウントフロー、マーケット、Partytown + Google タグマネージャー、サブスクリプション、サードパーティ API クエリとキャッシングなど、多様なレシピをカバーしています。開発者はこれらのレシピを参照することで、Hydrogen ベースのストアフロントを効率的に実装できます。このスキルは、Hydrogen に関連するすべての質問に対して必須であり、Storefront GraphQL の代わりに使用することを強く推奨します。主に Claude Code、Cursor、Codex などの AI エージェント向けに設計されており、SKILL.md に基づいて各レシピの実装手順やベストプラクティスを提供します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/shopify/shopify-ai-toolkit/tree/main/skills/shopify-hydrogen

Installed? Explore more ライティング&編集 skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

shopify-hydrogen は何をしますか?

Hydrogen ストアフロント実装のクックブック。利用可能なレシピ: B2B コマース、バンドル、複合リスト、カスタムカート方法、メタオブジェクトによる動的コンテンツ、Express サーバー、Google タグマネージャー統合、無限スクロール、レガシーカスタマーアカウントフロー、マーケット、Partytown + Google タグマネージャー、サブスクリプション、サードパーティ API クエリとキャッシング。必須: Hydrogen が言及された場合は、この API を Hydrogen ストアフロントの質問に使用し、Storefront GraphQL を使用しないでください。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

shopify/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).

shopify/shopify-admin-execution

Run a validated Admin GraphQL operation against a specific store using Shopify CLI. Use this when the user wants an executable store workflow, not just the query or mutation text. If the answer should include `shopify store auth` and `shopify store execute`, choose this API. Choose this for 'my store', 'this store', a store domain, product reads on a merchant store, low-inventory lookups, product updates, and warehouse/location inventory changes. Examples: 'Show me the first 10 products on my store', 'Find products with low inventory on my store', 'Set inventory at the Toronto warehouse so SKU ABC-123 is 12'.

shopify/shopify-app-store-review

Run a pre-submission compliance check against your Shopify app's codebase. Reviews App Store requirements and surfaces likely issues before you submit for official review.

shopify/shopify-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.

shopify/shopify-customer

The Customer Account API allows customers to access their own data including orders, payment methods, and addresses.

shopify/shopify-dev

Search Shopify developer documentation across all APIs. Use only when no API-specific skill applies.

shopify/shopify-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

shopify/shopify-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

shopify/shopify-onboarding-dev

Get started building on Shopify. Use when a developer asks to build an app, build a theme, create a dev store, set up a partner account, scaffold a project, or get started developing for Shopify. NOT for merchants managing stores.

shopify/shopify-onboarding-merchant

Set up and connect a Shopify store from your AI assistant. Use when the user wants to: set up my Shopify store, connect my store, install Shopify plugin, get started with Shopify, manage my store, add products to my store, merchant onboarding, start selling online, Shopify setup help, create my first store, how do I set up an online store, import products, migrate from Square, migrate from WooCommerce, migrate from Etsy, migrate from Amazon, migrate from eBay, migrate from Wix, import from Google Merchant Center, migrate from Clover, migrate from Lightspeed, move products to Shopify, import catalog, replatform to Shopify. This is for store owners — not developers.

shopify/shopify-partner

The Partner API lets you programmatically access data about your Partner Dashboard, including your apps, themes, and affiliate referrals.

shopify/shopify-payments-apps

The Payments Apps API enables payment providers to integrate their payment solutions with Shopify's checkout.

shopify/shopify-polaris-admin-extensions

Add custom actions and blocks from your app at contextually relevant spots throughout the Shopify Admin. Admin UI Extensions also supports scaffolding new adminextensions using Shopify CLI commands.

shopify/shopify-polaris-app-home

Build your app's primary user interface embedded in the Shopify admin. If the prompt just mentions `Polaris` and you can't tell based off of the context what API they meant, assume they meant this API.

shopify/shopify-polaris-checkout-extensions

Build custom functionality that merchants can install at defined points in the checkout flow, including product information, shipping, payment, order summary, and Shop Pay. Checkout UI Extensions also supports scaffolding new checkout extensions using Shopify CLI commands.

shopify/shopify-polaris-customer-account-extensions

Build custom functionality that merchants can install at defined points on the Order index, Order status, and Profile pages in customer accounts. Customer Account UI Extensions also supports scaffolding new customer account extensions using Shopify CLI commands.

shopify/shopify-pos-ui

Build retail point-of-sale applications using Shopify's POS UI components. These components provide a consistent and familiar interface for POS applications. POS UI Extensions also supports scaffolding new POS extensions using Shopify CLI commands. Keywords: POS, Retail, smart grid

shopify/shopify-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.

shopify/shopify-use-shopify-cli

Choose when the user needs **Shopify CLI** to run or fix something now: validate app or extension config on disk (`shopify.app.toml`, `shopify.app.<name>.toml`, `shopify.extension.toml`); run or troubleshoot store workflows (`shopify store auth`, `shopify store execute`); inventory or product changes by handle, SKU, or location name; or CLI setup, auth, upgrade issues. Emphasize **commands and operational steps**, not only authoring GraphQL. Skip for API-only understanding or codegen with no CLI execution. Examples: validate configuration before deploy; run an existing query via CLI; list products; missing `shopify store execute`.

shopify/ucp

Use when the user wants to use the UCP CLI to find, compare, buy, or track products from online merchants, or to set up and troubleshoot the local UCP profile required for merchant-scoped operations. Covers global catalog search ("find me X under $Y"), named-merchant transactions ("buy this from Z.com"), order tracking, `ucp profile init`, `ucp doctor`, carts, checkout, orders, and UCP setup/help. Falls back to merchant-hosted handoff when direct in-protocol checkout isn't available.

関連スキル