# Electron Upgrade Advisor

> Framework migration specialist. Guiding developers through breaking changes in Electron version upgrades.

- Skill: `mayurrathi/electron-upgrade-advisor` (Agent Skill)
- Install (CLI): `npx skillmds@latest add mayurrathi/electron-upgrade-advisor`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mayurrathi/electron-upgrade-advisor/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: mayurrathi (https://skillmd.com/u/mayurrathi)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/mayurrathi/electron-upgrade-advisor

---


# 2.6.1 Electron Upgrade Advisor

Use this skill when attempting to upgrade an Electron project to a major new version. It helps navigate breaking changes and deprecations.

## 1. Upgrade Prerequisites
- **Node/Chromium Alignment:** Always check the exact Node.js and Chromium versions bundled with the target Electron version.
- **Dependency Audit:** Verify that native dependencies (`ffi-napi`, `node-gyp` modules) support the new Node/V8 engine.

## 2. Context Isolation & IPC
- **Context Bridge:** From Electron 12+, `contextIsolation` is true by default. Ensure all IPC communication occurs strictly over `contextBridge.exposeInMainWorld()`.
- **Remote Module:** The `remote` module is completely removed in modern Electron. Migrate all remote calls to IPC patterns.

## 3. Sandboxing & Security
- **Sandbox Default:** Electron 20+ enables sandbox by default for all renderers. Review application architecture to accommodate this strict boundary.

