electron-chromium-upgrade
Skill by electron
Guides developers through Chromium version upgrades in the Electron project. It covers fixing patch conflicts during `e sync --3` and adapting Electron code to Chromium changes until the build passes.
Install electron-chromium-upgrade
Built from the published package, never by AI.
git clone --depth 1 https://github.com/electron/electron /tmp/electron && mkdir -p ~/.claude/skills && cp -r /tmp/electron/.claude/skills/electron-chromium-upgrade ~/.claude/skills/electron-chromium-upgradeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install electron-chromium-upgrade in Claude Code
git clone --depth 1 https://github.com/electron/electron /tmp/electron && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/electron/.claude/skills/electron-chromium-upgrade ~/.gemini/antigravity-cli/skills/electron-chromium-upgradeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install electron-chromium-upgrade in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The electron-chromium-upgrade skill is a step-by-step guide for upgrading Chromium in the Electron project. It is used on the roller/chromium/main branch, which automation creates to update Electron's Chromium dependency SHA. The guide has the assistant run `e sync --3` repeatedly, fix patch conflicts, export patches, and commit changes in a required format. It also covers regenerating derived file lists.
The guide then moves to a second phase. It runs `e build -k 999 -- --quiet`, adapts Electron code to Chromium API changes, and runs the gn-check CI checks locally. It is for developers maintaining Electron's Chromium dependency. It sets firm rules, such as never skipping a patch and never editing Chromium code to fix Electron's build.
Written from the project's SKILL.md and checked against it.
What it can do
- Patch conflict resolutionRuns `e sync --3` repeatedly and fixes patch conflicts until the sync succeeds.
- Patch exportExports fixed patches with `e patches` after each successful `git am --continue`.
- Derived file regenerationRuns the script/gen-* generators to refresh lists that mirror Chromium's DEPS pins.
- Build fixingRuns `e build -k 999 -- --quiet` and adapts Electron code to Chromium changes.
- Local gn-checkRuns the gn-check CI job steps locally before a roll is submitted.
- Commit formattingApplies required commit titles and Ref lines for patch fixes and metadata updates.
What you need
- Electron repository checkout
- Chromium repository in the parent directory
- git
- The `e` command tool
- Node.js
- yarn
Try asking
- Fix the patch conflicts when running e sync --3 on the roller branch
- Run the Electron Chromium build and fix any compile errors
- Run the gn-check job locally and fix any include failures
Good to know
- Written for the roller/chromium/main branch only
- Do not delete patches unless certain they are no longer needed
- Do not edit Chromium code to fix Electron build issues
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/electron-chromium-upgrade/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md14 KB -
references/patch-analysis.md5 KB -
references/phase-one-commit-guidelines.md8 KB -
references/phase-two-commit-guidelines.md7 KB
Alternatives to electron-chromium-upgrade
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
electron-chromium-upgrade: common questions
What branch is this guide for?
It is for the roller/chromium/main branch, which automation creates to update Electron's Chromium dependency SHA.
Can the guide delete a patch that will not apply?
No, the source says patches should not be deleted or skipped unless certainly no longer needed. Hard conflicts should be presented to the user.
What commit format does it require?
Patch edits need the title `{CL-Number}: {upstream CL original title}` with a Ref URL in the body. Metadata-only updates use the exact message `chore: update patches`.
How do I install electron-chromium-upgrade?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is electron-chromium-upgrade free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is electron-chromium-upgrade safe to use?
It scores 89 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 electron-chromium-upgrade?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
