All products

Configure Shopify storefront routes with AI

Keep Hydrogen route templates aligned with the pages your app serves. Check product links, redirects and predictive search across market or language prefixes.

Configure Shopify storefront routes with AI when a product opens from the menu but a predictive-search result leads to a missing page. The menu may point straight to a custom path while another part of the store still builds the standard Shopify URL.

The hydrogen-routing skill explains how route templates describe the application to the systems that create links or redirect visitors. A template does not implement a route in the web framework. Locale and market prefixes also need a clear owner, otherwise a valid product path can gain the same prefix twice.

What it does

  • Map product and collection templates to real app routes
  • Keep generated links consistent with a custom path
  • Check redirects from standard storefront routes
  • Trace predictive-search results to their destination
  • Test language prefixes across more than one entry point

Install and use

  1. Install the skill in a compatible coding agent and supply the permitted Hydrogen project, framework routes and market settings. Use a test storefront with representative products before applying a routing change.
  2. Ask, “Our menu opens the new product path but search still links to the old one. Trace the two paths and test the equivalent link in another language.”
  3. Open the same product from each entry point. Check the final address and confirm that an old link still has the intended outcome.

FAQ

Source

Made by Shopify. Original skill: hydrogen-routing, published on GitHub under the MIT licence.

View on GitHub