electrobun
Installation
SKILL.md
Electrobun
Desktop app framework using Bun runtime + native webview/CEF + Zig native bindings. Complete solution for building, updating, and shipping cross-platform desktop applications in TypeScript.
CRITICAL: Electrobun is NOT Electron. Never use Electron APIs (ipcMain, ipcRenderer, app.on('ready'), webContents, etc.).
Sub-Skill Routing
| Need | Load Skill | Trigger Phrases |
|---|---|---|
| Windows, views, menus, tray, system APIs | electrobun-app-shell |
BrowserWindow, BrowserView, Tray, ApplicationMenu, ContextMenu, clipboard, notifications, GlobalShortcut, Screen, Session, file dialogs, GpuWindow |
| RPC, typed communication, schemas | electrobun-rpc |
createRPC, defineElectrobunRPC, RPCSchema, request, message, Electroview, transport, handlers |
| Build, packaging, updates, signing | electrobun-release |
build, ship, Updater, code signing, notarization, release channels, electrobun.config.ts, targets, ASAR, bsdiff |
Load the specific sub-skill for detailed patterns and examples. This router skill covers the mental model, project structure, and non-negotiable rules.
Mental Model
Electrobun is a three-layer sandwich: