electron-dev · pedronauck — Claude Code skill: what it does, how to install
electron-dev guides agents through building Electron apps with Electron Vite and Electron Builder. It focuses on process separation, IPC safety, and native dependencies.
no license 311 installs ★ 655 updated 2026-10-20
npx skills add pedronauck/skills --skill electron-dev -a claude-codeWhat electron-dev does
The skill enforces architectural boundaries between the main process and UI renderers. The preload layer serves as the single bridge, exposing whitelisted channels via contextBridge.
Security settings remain strict across all browser windows. Direct Node.js access is barred via disabled nodeIntegration, while contextIsolation and sandbox stay active. For native C++ packages such as better-sqlite3, the instructions guide bundling: exclude them in Rollup, rebuild with @electron/rebuild, and declare them inside extraResources. Missing these packaging steps breaks the release build instantly.
What it helps with
- set up whitelisted IPC communication in preload scripts
- configure Electron Vite bundling for C++ native modules
- enforce sandbox and context isolation flags in web preferences
- package desktop distributions using Electron Builder
Example prompts for the agent
- Audit my preload script and IPC handlers against security leaks
- Configure electron-vite to bundle our app with better-sqlite3 externalized
- Help me debug a white screen error in our production Electron build
How to install electron-dev
1Skills CLI (Vercel)
npx skills add pedronauck/skills --skill electron-dev -a claude-code2Manually: put the files in place
~/.claude/skills/electron-dev/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/electron-dev/
1Skills CLI (Vercel)
npx skills add pedronauck/skills --skill electron-dev -a codex2Manually: put the files in place
.agents/skills/electron-dev/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add pedronauck/skills --skill electron-dev -a cursor2Manually: put the files in place
.cursor/skills/electron-dev/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install pedronauck/skills skills/curated/electron-dev2Manually: put the files in place
.github/skills/electron-dev/SKILL.md1Skills CLI (Vercel)
npx skills add pedronauck/skills --skill electron-dev -a gemini-cli2Platform CLI
gemini skills install https://github.com/pedronauck/skills --path skills/curated/electron-devManually: put the files in place
.devin/skills/electron-dev/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add pedronauck/skills --skill electron-dev -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about electron-dev
How to install electron-dev in Claude Code?
Run npx skills add pedronauck/skills --skill electron-dev -a claude-code. The skill file will be placed in ~/.claude/skills/electron-dev/SKILL.md.
What does electron-dev do?
It equips your assistant with guidelines for Electron architecture, covering secure IPC channels, Vite configurations, and distribution steps.
How does it handle native modules?
It directs you to externalize them in electron-vite.config.ts, rebuild them using @electron/rebuild, and register them under extraResources.
Similar skills
All skills for Frontend and UI →electron-dev by other authors comes first.