electron
Cross-platform desktop apps using Chromium and Node.js — main/renderer process, IPC, contextBridge, native APIs, electron-builder, auto-update, and security…
от skeletorflet★ 48 звёзд на GitHub
Установить electron в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Electron
Main and Renderer Processes
Two process types: main (Node.js backend) and renderer (Chromium frontend). Main process manages windows, menus, and system APIs. Renderer handles the UI.
IPC (Inter-Process Communication)
ipcMain / ipcRenderer for async message passing. Use invoke/handle for request-response patterns and send/on for fire-and-forget events.
Context Bridge and Preload
Security boundary between main and renderer. Preload scripts run before renderer code and use contextBridge.exposeInMainWorld() to expose specific APIs.
Native APIs
dialog (file pickers), Notification, Tray, Menu, shell.openExternal, clipboard, desktopCapturer, and screen for native functionality.
electron-builder
Package apps for distribution. Supports .dmg / .zip (macOS), .exe / .msi (Windows), .AppImage / .deb (Linux). Auto-update via electron-updater.
Auto-Update
electron-updater checks for updates, downloads in background, and installs on restart. Supports GitHub Releases, S3, and custom servers.
Security Best Practices
Enable sandbox: true, set restrictive Content-Security-Policy, disable nodeIntegration in renderers, validate IPC inputs, and use contextIsolation: true.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл electron?
Cross-platform desktop apps using Chromium and Node.js — main/renderer process, IPC, contextBridge, native APIs, electron-builder, auto-update, and security best practices.
Как установить скилл electron?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл electron запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…