hydrogen-branches
Skill by Shopify
Maps the branches of the Shopify/hydrogen repository, showing where the new version of Hydrogen and classic Hydrogen live. Useful for choosing a base branch, retargeting a PR, or porting changes between the two lines.
Install hydrogen-branches
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/skills/hydrogen-branches ~/.claude/skills/hydrogen-branchesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Shopify/hydrogen /tmp/hydrogen && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/hydrogen/skills/hydrogen-branches ~/.gemini/antigravity-cli/skills/hydrogen-branchesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a branch map for the Shopify/hydrogen repository. It explains that main holds the new version of Hydrogen, while classic Hydrogen lives on the 2026-04 branch. It describes what each branch is used for, including a frozen backup branch and the retired preview branch.
It also covers the June to October 2026 divergence between the two lines and how git history misleads after the October takeover. Ancestry no longer implies content, so it says to verify against file content. It includes git commands for auditing changes and for moving retargeted PR commits. It is aimed at developers picking a base branch, rebasing a PR, or porting changes between new and classic Hydrogen.
Written from the project's SKILL.md and checked against it.
What it can do
- Branch mapLists which branch holds the new version of Hydrogen and which holds classic Hydrogen, and what each is for.
- Base branch selectionGuides which branch to target when opening or picking a base for a PR.
- PR retargetingExplains how to retarget a preview-based PR to main and move only its own commits.
- Divergence auditProvides a git command to list classic Hydrogen commits that landed after the June fork.
- Line identificationExplains which packages and paths belong only to classic Hydrogen, so changes can be routed correctly.
What you need
- Git
- Access to the Shopify/hydrogen repository
Try asking
- Which branch should my Hydrogen fix target, main or 2026-04?
- Help me retarget my preview-based PR to main without a plain rebase.
- Which Hydrogen line does a change to templates/skeleton belong to?
Good to know
- Covers only the Shopify/hydrogen repository.
- Git history is unreliable after the takeover, so verify against file content.
- The 2026-04 branch and the backup branch are protected and must not be targeted or deleted.
- The preview branch is dead and should not be used as a target.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/hydrogen-branches/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to hydrogen-branches
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
hydrogen-branches: common questions
Which branch holds the new version of Hydrogen?
The main branch holds the new version of Hydrogen, released as 2026.10.0 on 2026-10-09. Classic Hydrogen lives on the 2026-04 branch.
What happened to the preview branch?
Its final tree became main through PR #4162, which merged a rebuilt copy of its history with new SHAs. The preview branch itself is no longer used.
Can I plain rebase a PR that was based on preview?
The source advises against it, because a plain rebase replays about 2,800 old commits. It suggests moving only the PR's own commits with git rebase --onto.
How do I install hydrogen-branches?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is hydrogen-branches free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is hydrogen-branches safe to use?
It scores 78 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-branches?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
