electron

Installation
SKILL.md

When to Use

Triggers: When building Electron apps, working with main/renderer processes, IPC communication, or native OS integrations.

Load when: building Electron desktop apps, implementing IPC between main and renderer, handling native OS features, or setting up auto-updates.

Critical Patterns — SECURITY

// ✅ ALWAYS: contextIsolation + NO nodeIntegration
new BrowserWindow({
  webPreferences: {
    contextIsolation: true,      // MANDATORY
    nodeIntegration: false,      // NEVER enable
    preload: path.join(__dirname, 'preload.js'),
    sandbox: true,               // Recommended
  }
});
Related skills
Installs
3
GitHub Stars
1
First Seen
Mar 22, 2026