run-desktop
Installation
SKILL.md
Run Desktop
Boots the packaged Electron cockpit through Playwright's _electron launcher — the same
harness e2e/*.spec.ts uses — so an agent with no display can launch, screenshot, and inspect
the running app. All commands below run from apps/desktop.
Prerequisites
bun installat the repo root (or inapps/desktop) — the driver imports@playwright/testand launches the repo's localelectron; a tree that has never installed has neither. On a genuinely cold tree this first install is slow and needs a working native toolchain: it compilesnode-pty(a native module) and downloads the Electron binary.- The app is ESM (
"type": "module");driver.mjsruns undernode.
Build first
The driver launches out/main/index.js, so a build must precede every run — out/ is not
watched, so rebuild after editing src/: