electron-desktop-implementation
Installation
SKILL.md
Electron Desktop Implementation
Implement Electron desktop apps with explicit process boundaries, narrow preload APIs, validated IPC, hardened windows and sessions, deliberate storage/API choices, and verification that includes packaged-app behavior.
Process
- Inspect repo conventions,
.itsol.md, package manager, Electron/builder versions, frontend framework, existingmain/preload/rendererlayout, test commands, packaging target, and release channel. - For existing repos, use the repo-pinned Electron and tooling versions unless the task includes an approved upgrade. For new projects, use latest stable Electron and current stable tooling.
- Use
itsol-current-tech-contextfor Electron, Electron Forge, electron-builder, WebdriverIO, Playwright Electron, signing, auto-update, or version decisions that depend on current official docs. - Decide the smallest architecture that matches the product: single-window MVP, modular medium app, or workspace/monorepo for large multi-window/offline apps.
- Keep renderer as web UI, preload as a narrow typed bridge, main as system/lifecycle/OS boundary, and utility processes/workers for CPU-heavy or crash-prone work.
- Define IPC contracts, storage ownership, error handling, logout/tenant cleanup, offline behavior, and QA scenarios before editing broad cross-process behavior.
- Verify with the repo's typecheck, lint, unit/integration tests, build/package command, and a packaged-app smoke test when the change touches preload paths, storage, signing, updater, native modules, or production flags.
Coordination
Use with itsol-current-tech-context, itsol-tdd-workflow, security-frontend-browser-review, security-files-integrations-review, security-secrets-config-review, ui-frontend-testing-qa, ui-accessibility-motion, and framework-specific frontend skills as relevant.