hydrogen-dev-workflow
Installation
SKILL.md
Hydrogen Development Workflow
Development practices and workflow guide for engineers working on Shopify's headless storefront ecosystem. The Hydrogen framework repo is Shopify/hydrogen. For domain context, see the headless-storefronts-context skill. For repo locations, see the shopify-repos skill.
Testing Customer Accounts Locally
To test anything in Hydrogen that requires a customer login (order history, account page, etc.):
-
Start the dev server with the customer account push flag:
# Using npm pnpm run dev -- --customer-account-push # Using Hydrogen CLI directly (h2 is the Hydrogen CLI binary) h2 dev --customer-account-pushNote the
--separator when usingpnpm run dev. -
Place a test order using the bogus gateway test payment details.