Skip to content
travisjneuman avatar

Electron Desktop

Cross-platform Electron guide covering secure main, preload, and renderer architecture for Windows, macOS, and Linux.

CCM score
48 of 100
skills.sh installs
242
GitHub stars
115
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the main process, preload bridge, React renderer, IPC handlers, and custom title bars across all three platforms
  • Includes working examples for main.ts, preload.ts, ipc.ts, window controls, system tray, and native menus
  • Enforces contextIsolation, sandbox, and disabled nodeIntegration, exposing only whitelisted APIs through contextBridge
  • Designed for teams packaging web apps for desktop or adding native OS features to existing front ends

Install

$ npx -y skills add travisjneuman/.claude --skill electron-desktop -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Electron Desktop Development

Build cross-platform desktop applications using web technologies.

Platforms Supported

PlatformArchitectureNotes
Windowsx64, arm64, ia32Windows 10+
macOSx64, arm64 (Apple Silicon)macOS 10.15+
Linuxx64, arm64, armv7lMost 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;

Details

Repository
github.com/travisjneuman/.claude
Categories
Frontend & UI Code, CLI & Terminal, Backend & APIs
First seen
Jun 3, 2026

Questions

What does the electron-desktop skill help me build?

The electron-desktop skill guides development of cross-platform desktop applications with Electron for Windows, macOS, and Linux. It covers native OS features and packaging web apps for desktop.

How do I install the electron-desktop skill?

Run npx -y skills add travisjneuman/.claude --skill electron-desktop -y in your project. Once installed, the agent can set up main process, preload, IPC and renderer code for an Electron app.

Which platforms and architectures does electron-desktop support?

The skill lists Windows 10 and later on x64, arm64 and ia32, macOS 10.15 and later on x64 and Apple Silicon, and most Linux distributions on x64, arm64 and armv7l. It shows how to add a system tray, native menus and custom title bars.

Where does electron-desktop stand in the Frontend & UI Code category?

It sits in the Frontend & UI Code category on Claude Marketplaces, next to skills such as vercel-react-best-practices and web-design-guidelines. Its focus is desktop packaging with Electron rather than web UI patterns alone.

More from travisjneuman/.claude

All 32

Similar to Electron Desktop

More Frontend & UI Code