
Electron Desktop
This covers the essentials of building cross-platform desktop apps with Electron, from main process setup to renderer communication. You get practical examples of the preload script pattern for secure IPC, native features like system trays and file dialogs, and the boilerplate for custom title bars that don't look like web apps pretending to be native. The structure guidance is solid, showing how to separate main, renderer, and shared code properly. It's comprehensive enough to get a production app started without wading through Electron's documentation maze, though you'll still need to figure out code signing and auto-updates on your own. Good reference for the security model alone.
- skills.sh installs
- 229
- GitHub stars
- 108
- last updated
- Aug 21, 2026
Install
$ npx -y skills add travisjneuman/.claude --skill electron-desktop --agent claude-codeInstalls into .claude/skills of the current project.
Files
Electron Desktop Development
Build cross-platform desktop applications using web technologies.
Platforms Supported
| Platform | Architecture | Notes |
|---|---|---|
| Windows | x64, arm64, ia32 | Windows 10+ |
| macOS | x64, arm64 (Apple Silicon) | macOS 10.15+ |
| Linux | x64, arm64, armv7l | Most distributions |
Project Structure
my-app/
├── src/
│ ├── main/
│ │ ├── main.ts # Main process
│ │ ├── preload.ts # Preload scripts
│ │ └── ipc.ts # IPC handlers
│ ├── renderer/
│ │ ├── index.html
│ │ ├── App.tsx
│ │ └── components/
│ └── shared/
│ └── types.ts
├── resources/
│ ├── icon.icns # macOS
│ ├── icon.ico # Windows
│ └── icon.png # Linux
├── electron-builder.yml
├── package.json
└── forge.config.ts
Main Process
Entry Point
// src/main/main.ts
import { app, BrowserWindow, ipcMain } from "electron";
import path from "path";
let mainWindow: BrowserWindow | null = null;
Sponsors
Details
- Repository
- github.com/travisjneuman/.claude
- First seen
- Jun 3, 2026
More from travisjneuman/.claude
All 33- Video Production225
- Sustainability Esg221
- Investment Memo Generator219
- Statistics Verifier218
- Hr Talent215
- Contract Redliner202
- Devops Cloud200
- Monetization Strategy188
- Generic React Design System187
- Ios Development181
- Kotlin Multiplatform180
- Recipe Card Creator178
- Application Security177
- Document Skills3.3K
- Brand Identity1.8K
- Travel Planner516
- Graphic Design514
- Business Strategy501
- Real Estate Analyzer409
- Course Material Creator401
- Legal Compliance381
- Finance378
- Career Path Planner340
- Supply Chain Optimizer339