hydrogen-collection-browser
Skill by Shopify
Guides building collection and search browsing UI with @shopify/hydrogen. It covers filters, sort controls, active filter chips and URL-synced browse state. Intended for developers creating or reviewing Hydrogen collection and search pages.
Install hydrogen-collection-browser
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Shopify/hydrogen /tmp/hydrogen && mkdir -p ~/.claude/skills && cp -r /tmp/hydrogen/packages/hydrogen/skills/hydrogen-collection-browser ~/.claude/skills/hydrogen-collection-browserRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install hydrogen-collection-browser in Claude Code
git clone --depth 1 https://github.com/Shopify/hydrogen /tmp/hydrogen && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/hydrogen/packages/hydrogen/skills/hydrogen-collection-browser ~/.gemini/antigravity-cli/skills/hydrogen-collection-browserAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install hydrogen-collection-browser in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
hydrogen-collection-browser is a Shopify agent skill for building collection and search browsing UI with @shopify/hydrogen. It covers /collections, /collections/:handle and /search routes, product grid filtering and sorting, active filter chips, clear links, and no-JS GET form fallbacks. Hydrogen's collection store manages browse intent such as filters, sort, URL params and loading status. The framework loader or server component owns Storefront API queries and passes products into the UI.
The skill sets rules for the server data contract, filter and sort controls, currency-aware price inputs, load-more links, and search terms kept in the q parameter. It also lists anti-patterns and verification steps, such as checking that filters persist after reload and work with JavaScript disabled. It is aimed at developers who build, modify or review storefront collection and search pages in Hydrogen.
Written from the project's SKILL.md and checked against it.
What it can do
- Collection routesGuides building /collections and /collections/:handle pages with parsed filter, sort and URL params.
- Search resultsCovers /search pages that reuse collection browse state and keep the search term in q.
- Filter controlsChooses checkboxes for list and boolean filters and min/max inputs for price range filters.
- Sort controlsBuilds sort options with getSortByValue and submits sort changes immediately on change.
- Active filter chipsSerializes active filters into chips and removes one filter with getFilterRemovalUrl.
- No-JS fallbacksUses a GET form with an explicit action and GET load-more links so filtering works without JavaScript.
- Currency-aware price inputsShows the narrow currency symbol from formatMoney and labels inputs with the currency code.
- Analytics view elementsPoints to ProductView and CollectionView wrapping rules in the hydrogen-analytics skill.
What you need
- @shopify/hydrogen package
- Storefront API access for product and filter queries
Try asking
- Add a price range filter with a currency symbol to my Hydrogen collection page
- Review my search page so filters keep the q parameter
- Make my collection filters and sort work with JavaScript disabled
Good to know
- Price inputs use type number, so comma decimals may submit empty in some browsers.
- Search sorts other than price map back to RELEVANCE.
- Products are not stored in the collection store and must come from the framework data response.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/hydrogen/skills/hydrogen-collection-browser/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB -
references/nextjs.md5 KB -
references/nuxt.md4 KB -
references/react.md13 KB
Alternatives to hydrogen-collection-browser
All alternatives →Shopify skill that lets an AI assistant set up and run a Shopify store through Shopify's official MCP server. It is for people who want to sell online, start a store, or manage an existing Shopify store.
Guides an AI assistant through building Shopify apps, extensions and themes. It covers the GraphQL Admin API, Shopify CLI, Polaris UI and Liquid. Intended for Shopify developers.
Searches Ticketmaster events and seat listings with pricing for people looking for event tickets. It returns Ticketmaster checkout links but cannot complete a purchase itself.
Analyzes ecommerce SEO for product pages, product schema, Google Shopping visibility, Amazon marketplace signals and keyword gaps. Built for stores, catalogs and product listings. Live Shopping and Amazon data needs the optional DataForSEO Merchant API.
Drafts replies to customer emails and tickets using order, refund, CRM and support desk data, in the owner's writing voice. Refunds and sends need the owner's approval, and with Shopify it also flags orders needing attention.
Reviews generated or changed WooCommerce code before it ships. It is for developers building extensions, payment and shipping integrations, checkout customizations, and order or product logic.
Compare with shopify, shopify-development or ticketmaster
hydrogen-collection-browser: common questions
Does this skill fetch product data itself?
No. The source says the framework loader or server component owns Storefront API queries, and the collection store does not hold products.
How do filters work without JavaScript?
The browse form uses method get with an explicit action, so submitting loads the filtered URL. Load-more links carry the next-page cursor as a plain GET link.
How are price filter values written to the URL?
Price inputs are type number with min 0 and step any, so the URL carries plain numeric filter.v.price.gte and filter.v.price.lte values without a symbol.
How do I install hydrogen-collection-browser?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is hydrogen-collection-browser free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is hydrogen-collection-browser safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to hydrogen-collection-browser?
Similar skills: shopify, shopify-development, ticketmaster, seo-ecommerce.
