electron-dev
Installation
SKILL.md
Electron Development Guide
This skill provides guidelines, patterns, and best practices for building production-grade Electron applications using Electron Vite and Electron Builder.
Quick Start
- Core Rules: For detailed Electron development patterns and guidelines, refer to
references/patterns.mdwithin this skill. - Security: Always enable
contextIsolation,sandbox, and disablenodeIntegration. - Architecture: Main process handles Node.js operations; renderer focuses on UI; preload bridges them securely.
Process Architecture
Main Process (Node.js Context)
The main process handles:
- Window creation and lifecycle
- File system and database operations
- IPC message handling
- Application-level events