electron

Installation
Summary

Comprehensive Electron framework guidance for building cross-platform desktop applications.

  • Covers main process, renderer process, preload scripts, and IPC communication patterns with code examples
  • Includes API reference and practical examples for BrowserWindow, Menu, Tray, Dialog, and other core modules
  • Provides best practices for security (nodeIntegration, preload scripts), process separation, and resource management
  • Addresses packaging, auto-updates, native module compatibility, and cross-platform testing workflows
SKILL.md

When to use this skill

Use this skill whenever the user wants to:

  • Build cross-platform desktop applications with Electron
  • Understand Electron architecture (main process, renderer process, preload)
  • Implement IPC (Inter-Process Communication) between processes
  • Create and manage BrowserWindow instances
  • Implement menus, tray icons, and native features
  • Package and distribute Electron applications
  • Use Electron Forge for project scaffolding and building
  • Debug and test Electron applications
  • Implement security best practices
  • Use Electron APIs (app, BrowserWindow, ipcMain, ipcRenderer, etc.)

How to use this skill

This skill is organized to match the Electron official documentation structure (https://www.electronjs.org/zh/docs/latest/, https://www.electronjs.org/zh/docs/latest/api/app). When working with Electron:

  1. Identify the topic from the user's request:
Related skills

More from teachingai/full-stack-skills

Installs
1.9K
GitHub Stars
381
First Seen
Jan 24, 2026