verify
/verify
Verify desktop-app UI changes by launching the Electron dev app and driving it over CDP (screenshots, clicks, JS eval). Use when a change to packages/desktop needs runtime/visual verification.
- Author
- LliminM ↗
- Repository
- LedgerMate ↗
- Licence
- Apache-2.0
- Last repository change
- 27.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Verify desktop-app UI changes by launching the Electron dev app and driving it over CDP (screenshots, clicks, JS eval). Use when a change to packages/desktop needs runtime/visual verification.
Original author description
Verify desktop-app UI changes by launching the Electron dev app and driving it over CDP (screenshots, clicks, JS eval). Use when a change to packages/desktop needs runtime/visual verification.
How it works
- Launch
- Drive
- Clean up
SKILL.md preview
---
name: verify
description: Verify desktop-app UI changes by launching the Electron dev app and driving it over CDP (screenshots, clicks, JS eval). Use when a change to packages/desktop needs runtime/visual verification.
---
# Verify packages/desktop changes in the running app
## Launch
Never run against the real workspace (`~/.accountant24`): always create a fresh
test workspace and launch on it. From `packages/desktop`, in the background:
```sh
npm run dev -- -- --workspace "$(mktemp -d /tmp/a24-verify-XXXX)" --remote-debugging-port=9224
```
The main process logs `[workspace] using <dir> (flag|env|default)` at startup;
`(default)` means the instance is on the user's real data: stop it and relaunch.
A fresh workspace boots to the onboarding screen (no providers), where Cmd+,
does nothing: open Settings by clicking "Use an API key", or seed the folder
first (e.g. an `auth.json`) to boot into the chat layout.
Gotchas:
- **Check for leftovers first**: `lsof -nP -iTCP:9223 -iTCP:9224 -iTCP:5173 -sTCP:LISTEN`.
The user's own dev instance usually holds CDP 9223 and vite 5173, which is why
you launch on 9224 (vite auto-increments to 5174). A second launch on an
occupied CDP port fails to bind with `bind() failed: Address already in use`
but still opens a window you can't drive. A leftover with an **empty**
`/json/list` is a windowless instance (macOS keeps the app alive after the
window closes).
- Port 9222 is usually the user's Chrome — don't use it.
- Wait for a `"type": "page"` target to appear before driving (~10s).
- Don't `echo ===` in zsh compound commands — zsh treats `=word` as path
expansion and kills the rest of the command.
## Drive
Node ≥22 has a global WebSocket client, so a dependency-free CDP driver works.
A ready-made one may exist from a past session; otherwise recreate `cdp.mjs`
with commands: `targets`, `eval <js>` (Runtime.evaluate with awaitPromise),
`shot <file.png>` (Page.captureScreenshot), `clicktext <button text>`, and
`tap <x> <y>` (Input.dispatchMouseEvent pressed+released).
- Open Settings: dispatch ONE synthetic Cmd+, keydown on `window`
(`new KeyboardEvent("keydown", {key: ",", metaKey: true, bubbles: true})`).
Dispatching on both window and document toggles it twice.
- Base UI Switch: synthetic `label.click()` does NOT toggle it (the htmlFor
target is Base UI's hidden input). Use a trusted `tap` at the label's
coordinates, or `switchEl.click()` on the `[role=switch]` element.
- Rows re-sort after toggles (enabled/available lists) — re-query coordinates
before every tap; never tap the same coordinates twice.
## Clean up
Kill only your own instance: the Electron PID listening on your CDP port
(`lsof -nP -iTCP:9224 -sTCP:LISTEN -t`), its `electron-vite` parent, and the
`npm run dev` grandparent. Never `pkill -f electron` or
`pkill -f electron-vite`: those also match the user's running instance and other
worktrees. Then delete the test workspace folder.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · LliminM/LedgerMate | 100 | Apache-2.0 |
| yonatangross/orchestkit | 100 | MIT |
| yonatangross/orchestkit | 100 | MIT |
| NolwennD/gabier | 100 | Apache-2.0 |
| ericrisco/rsc-harness | 100 | MIT |
| sentimony/agentic-workflow | 100 | MIT |
| JoDi-27/JoDi-SDD | 100 | MIT |
| marcel-bich/marcel-bich-claude-marketplace | 100 | MIT |
| kdlbs/kandev | 100 | AGPL-3.0 |
Database snapshot: 13.11.2026 · package version f33bf4b18590 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100cdp-verification
Verify UI behavior end-to-end by driving the running desktop app over the Chrome DevTools Protocol. Use when asked to verify, reproduce, or confirm a UI change, bug, or regression in the real app rather than in tests. - 100browser-automation
Local OpenWork Electron browser automation with CDP. Use when driving a local Electron dev app, browser_list, browser_snapshot, browser_eval, composer automation, or local UI smoke tests. - 100flow-next-drive
Drive any UI surface like a real user - a web app, a Chromium-backed desktop app (Electron / WebView2, reached over CDP), or a genuinely native app (macOS AppKit/SwiftUI, or a non-CDP webview) reached via the Cua Driver / Computer Use. Detects the surface, picks the best… - 100test-electron-app
Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot… - 100control-ui
Build a local browser/CDP harness to drive and inspect a web, IDE, or Electron UI. Use for UI verification, screenshots, perf profiles, or reproducing UI bugs. - 90desktop-electron
Use when the user asks about Electron app development, Chromium-based desktop apps, main/renderer process architecture, IPC communication, or packaging Electron apps. Do NOT use for: Tauri (desktop-tauri), or web app frontend (non-desktop skills).