Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
shopify avatar

Shopify Hydrogen

  • 6.6k installs
  • 476 repo stars
  • Updated July 27, 2026
  • shopify/shopify-ai-toolkit

shopify-hydrogen is a Shopify AI toolkit skill for Hydrogen storefront cookbooks with mandatory doc search and validation before returning code.

About

The shopify-hydrogen skill guides headless Shopify storefront work using Hydrogen cookbooks rather than generic Storefront GraphQL alone. Agents must search developer docs with scripts/search_docs.mjs, write Hydrogen React UI code, then validate through scripts/validate.mjs before returning any snippet. Mandatory rules forbid Hydrogen React shortcuts, require api hydrogen for Image, Video, Money, and MediaFile components, and prioritize cookbook recipes for bundles, B2B, markets, subscriptions, infinite scroll, and third-party API caching. Each response follows search, implement, validate, and retry up to three times on failure. Version flags such as 2026-04 or unstable target specific API releases. Telemetry hooks track skill invocations when the Shopify plugin root is present. Use when users mention Hydrogen storefront features, cookbook paths, or component rendering patterns that consume Storefront API data through Hydrogen UI primitives for production storefront releases.

  • Mandatory search_docs.mjs query before writing any Hydrogen storefront code.
  • validate.mjs gate with base64 user prompt, session id, and artifact revision retries.
  • Cookbook-first guidance for bundles, B2B, markets, subscriptions, and caching recipes.
  • Forbids api storefront for Hydrogen Image, Video, Money, and MediaFile React components.
  • Requires complete JSX examples using api hydrogen only, never Hydrogen React shortcuts.

Shopify Hydrogen by the numbers

  • 6,577 all-time installs (skills.sh)
  • +279 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #77 of 2,277 Frontend Development skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

shopify-hydrogen capabilities & compatibility

Capabilities
mandatory doc search before codegen · hydrogen jsx validation workflow · cookbook recipe prioritization · version aware api targeting · component api hydrogen enforcement
Use cases
frontend · api development
From the docs

What shopify-hydrogen says it does

{ "admin": [ { "name": "unstable" }, { "name": "2026-07", "releaseCandidate": true }, { "name": "2026-04", "
SKILL.md
npx skills add https://github.com/shopify/shopify-ai-toolkit --skill shopify-hydrogen

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs6.6k
repo stars476
Security audit2 / 3 scanners passed
Last updatedJuly 27, 2026
Repositoryshopify/shopify-ai-toolkit

How do I implement Hydrogen storefront features with correct components, API versions, and validated snippets instead of generic GraphQL guesses?

Hydrogen storefront cookbooks with mandatory doc search, validation scripts, and React component patterns for headless Shopify commerce.

Who is it for?

Headless Shopify storefront developers implementing Hydrogen UI components, cookbook recipes, and versioned Storefront integrations.

Skip if: Skip when the task is Admin API only, POS extensions, or pure Storefront GraphQL without Hydrogen UI components.

When should I use this skill?

User mentions Hydrogen storefront, cookbook recipes, Hydrogen components, or headless Shopify UI implementation.

What you get

Search-backed Hydrogen JSX that passes validate.mjs with the right api hydrogen targets and cookbook-aligned patterns.

  • Hydrogen storefront code
  • Storefront API GraphQL queries
  • admin GraphQL operations

By the numbers

  • Documents six named admin API versions from 2025-07 through 2026-07 plus unstable
  • Tracks parallel storefront-graphql and partner API version lines with 2026-04 marked latestVersion

Files

SKILL.mdMarkdownGitHub ↗

{ "admin": [ { "name": "unstable" }, { "name": "2026-07", "releaseCandidate": true }, { "name": "2026-04", "latestVersion": true }, { "name": "2026-01" }, { "name": "2025-10" }, { "name": "2025-07" } ], "storefront-graphql": [ { "name": "unstable" }, { "name": "2026-07", "releaseCandidate": true }, { "name": "2026-04", "latestVersion": true }, { "name": "2026-01" }, { "name": "2025-10" }, { "name": "2025-07" } ], "partner": [ { "name": "unstable" }, { "name": "2026-07", "releaseCandidate": true }, { "name": "2026-04", "latestVersion": true }, { "name": "2026-01" }, { "name": "2025-10" }, { "name": "2025-07" } ], "customer": [ { "name": "unstable" }, { "name": "2026-07", "releaseCandidate": true }, { "name": "2026-04", "latestVersion": true }, { "name": "2026-01" }, { "name": "2025-10" }, { "name": "2025-07" } ], "payments-apps": [ { "name": "unstable" }, { "name": "2026-07", "releaseCandidate": true }, { "name": "2026-04", "latestVersion": true }, { "name": "2026-01" }, { "name": "2025-10" }, { "name": "2025-07" } ], "polaris-app-home": [], "polaris-admin-extensions": [ { "name": "2026-04", "releaseCandidate": true }, { "name": "2026-01", "latestVersion": true }, { "name": "2025-10" }, { "name": "2025-07" } ], "polaris-checkout-extensions": [ { "name": "2026-07", "releaseCandidate": true }, { "name": "2026-04", "latestVersion": true }, { "name": "2026-01" }, { "name": "2025-10" }, { "name": "2025-07" } ], "polaris-customer-account-extensions": [ { "name": "2026-07", "releaseCandidate": true }, { "name": "2026-04", "latestVersion": true }, { "name": "2026-01" }, { "name": "2025-10" }, { "name": "2025-07" } ], "pos-ui": [ { "name": "2026-07", "releaseCandidate": true }, { "name": "2026-04", "latestVersion": true }, { "name": "2026-01" }, { "name": "2025-10" }, { "name": "2025-07" } ], "hydrogen": [ { "name": "2026-04", "latestVersion": true }, { "name": "2026-01" }, { "name": "2025-10" }, { "name": "2025-07" } ], "storefront-web-components": [], "functions_cart_checkout_validation": [ { "name": "unstable" }, { "name": "2026-07", "releaseCandidate": true }, { "name": "2026-04", "latestVersion": true }, { "name": "2026-01" }, { "name": "2025-10" }, { "name": "2025-07" } ], "functions_cart_transform": [ { "name": "unstable" }, { "name": "2026-07", "releaseCandidate": true }, { "name": "2026-04", "latestVersion": true }, { "name": "2026-01" }, { "name": "2025-10" }, { "name": "2025-07" } ], "functions_delivery_customization": [ { "name": "unstable" }, { "name": "2026-07", "releaseCandidate": true }, { "name": "2026-04", "latestVersion": true }, { "name": "2026-01" }, { "name": "2025-10" }, { "name": "2025-07" } ], "functions_discount": [ { "name": "unstable" }, { "name": "2026-07", "releaseCandidate": true }, {

Related skills

How it compares

Choose shopify-hydrogen for version-aware Hydrogen and GraphQL work instead of generic React ecommerce templates without Shopify schema pinning.

FAQ

Must I run validation before returning Hydrogen code?

Yes. Every response requires search_docs.mjs, code generation, then validate.mjs with required flags before the user sees output.

When should I use api hydrogen versus api storefront?

Always use api hydrogen for Hydrogen React components such as Image, Video, Money, and MediaFile that render Storefront data.

Where do cookbook recipes live?

Search /docs/storefronts/headless/hydrogen/cookbook and fetch recipe paths for bundles, B2B, subscriptions, and related features.

Is Shopify Hydrogen safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Frontend Developmentfrontendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.