跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
设计与 UI

hydrogen-cookbooks

Step-by-step implementation guides for building features in a Shopify Hydrogen storefront — bundles, combined listings, customer accounts, 3D models, performance, variant media, and Weaverse integration.

Weaverse · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add Weaverse/shopify-hydrogen-skills --skill hydrogen-cookbooks

技能说明


name: hydrogen-cookbooks description: "Step-by-step implementation guides for building features in a Shopify Hydrogen storefront — bundles, combined listings, customer accounts, 3D models, performance, variant media, and Weaverse integration."

Hydrogen Cookbooks

Concrete, step-by-step guides for building specific features in a Shopify Hydrogen storefront. Each cookbook is a self-contained recipe with code, file changes, and implementation notes.

Live Documentation

For the latest Hydrogen cookbook recipes from Shopify:

node scripts/search_shopify_docs.mjs "hydrogen cookbook <topic>"

For Weaverse-specific patterns:

node scripts/search_weaverse_docs.mjs "<topic>"

The references below are curated guides that may include Weaverse-specific patterns not available in the live docs.

Available Cookbooks

CookbookDescription
bundles.mdDisplay product bundles with badges and bundled variant line items in the cart
combined-listings.mdHandle combined listings — utilities, filters, media grouping, price range display
customer-account-api.mdSet up the Customer Account API with tunnel for local dev
hydrogen-react-router.mdImport replacement guide: Remix v2 → React Router v7
model-viewer.md3D model support (.glb/.usdz) with ModelViewer component and AR
performance-best-practices.mdCaching strategies, streaming, deferred data, third-party scripts, query optimization
variant-media-grouping.mdGroup product media by variant option (e.g. Color)
weaverse-hydrogen-integration.mdComplete Weaverse integration: component registration, theme schema, data fetching

How to Use

Each cookbook describes:

  • What the feature does
  • Prerequisites to check first
  • Step-by-step implementation — file changes, code snippets, diffs
  • Troubleshooting — common issues and fixes

Recipe file names reference the Hydrogen skeleton template. Adapt file paths to match your project's structure.