Skill
desktop
Electron desktop development guide — IPC handlers, controllers, preload scripts, window/menu management.
Install
Install this Claude and Codex skill with the command below. The command stays visible even when copy support is unavailable.
Install command
git clone https://github.com/lobehub/lobehub /tmp/lobehub && ln -s /tmp/lobehub/.agents/skills/desktop ~/.claude/skills/desktop
From README
Desktop Development Guide Architecture Overview LobeHub desktop is built on Electron with main-renderer architecture: Main Process (apps/desktop/src/main): App lifecycle, system APIs, window management Renderer Process: Reuses web code from src/ Preload Scripts (apps/desktop/src/preload): Securely expose main process to renderer Adding New Desktop Features Create Controller Location: apps/desktop/src/main/controllers/ Register in apps/desktop/src/main/controllers/registry.ts.