electron-node-upgrade
Skill by electron
Guides an AI assistant through Electron Node.js version upgrades, covering patch conflicts, build fixes and test runs. Built for contributors working on the roller/node/main branch.
Install electron-node-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-node-upgrade ~/.claude/skills/electron-node-upgradeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/electron/electron /tmp/electron && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/electron/.claude/skills/electron-node-upgrade ~/.gemini/antigravity-cli/skills/electron-node-upgradeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install electron-node-upgrade in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through a Node.js version upgrade in the Electron project. It works on the roller/node/main branch, where it runs e sync --3 and fixes patch conflicts until the sync succeeds. It then exports patches with e patches and commits the changes following the repository's commit guidelines.
The later phases cover the build and the test suite. The build phase runs e build -k 999 and adapts Electron's own code to changes in Node.js, without editing Node.js to fix Electron's build. The final phase runs the Node.js test suite through script/node-spec-runner.js. It is meant for Electron contributors who handle Node.js rolls and patch fixes.
Written from the project's SKILL.md and checked against it.
What it can do
- Patch conflict resolutionWalks through fixing patch failures during e sync --3 in the Node.js repo.
- Patch exportExports fixed commits back to patch files with e patches node and e patches all.
- Build fixingRuns e build -k 999 and adapts Electron code to Node.js API changes.
- Launch checkRuns e start --version to confirm Electron launches after a successful build.
- Node.js test runsRuns the Node.js test suite with script/node-spec-runner.js and fixes failing tests.
- Fixup commitsCreates fixup commits against original patch commits and rebases them in.
- Commit formattingCommits changes following the phase commit guidelines in the references folder.
What you need
- An Electron repository checkout
- The e command tool
- A Node.js source checkout at ../third_party/electron_node
- Git
Try asking
- Run e sync --3 and fix any patch conflicts you find
- Fix the build errors from e build -k 999 in Electron code
- Run the Node.js spec runner and fix the failing tests
Good to know
- Intended for the roller/node/main branch and Electron Node.js upgrades
- Some tests are permanently disabled in script/node-disabled-tests.json and should not be run
- Complicated conflicts are meant to be presented to the user rather than skipped or deleted
- The source text ends partway through the Phase Three instructions
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/electron-node-upgrade/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md20 KB -
references/patch-analysis.md6 KB -
references/phase-one-commit-guidelines.md6 KB -
references/phase-three-commit-guidelines.md2 KB -
references/phase-two-commit-guidelines.md4 KB
Alternatives to electron-node-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-node-upgrade: common questions
When should I use this skill?
The skill is for upgrading Node.js in Electron when working on the roller/node/main branch to fix patch conflicts during e sync --3.
Can the assistant delete patches that fail to apply?
The skill says not to delete or skip patches unless the patch is certainly no longer needed. Hard conflicts should go to the user after other options are exhausted.
Does the skill change Node.js code to fix Electron's build?
No. The skill says to adapt Electron's code for Node.js changes and to avoid changing Node.js code to fix the Electron build.
How do I install electron-node-upgrade?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is electron-node-upgrade free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is electron-node-upgrade safe to use?
It scores 91 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-node-upgrade?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
