Test desktop app

From bholmesdev/hubble.md · View interactive version

Test desktop app is an AI agent skill from the GitHub repository bholmesdev/hubble.md. Use when testing the Hubble Electron desktop app, especially when inspecting, clicking, screenshotting, or verifying a real note edit in the running app.

How to use this skill

Skill file

Test Desktop App

  1. Run HUBBLE_DESKTOP_BACKGROUND=1 HUBBLE_DESKTOP_ENABLE_CDP=1 pnpm dev:desktop. HUBBLE_DESKTOP_BACKGROUND=1 keeps the window hidden so it never covers or takes focus from the user's screen; drive it over CDP.
  2. Read the terminal output for:
  1. Use the auto-opened editable playground at apps/desktop/.dev-electron/playground instead of file pickers or checked-in fixtures.
  2. Prefer the Chrome DevTools Protocol endpoint for interaction-heavy verification. It can inspect DOM state, evaluate JavaScript, click controls, inspect iframe contents, and capture screenshots from the real Electron renderer. This is useful when Computer Use has limitations interacting with the dev app window.
  3. For CDP setup, fetch http://127.0.0.1:9222/json/list, connect to the page webSocketDebuggerUrl, and drive the renderer with DevTools Protocol commands.
  4. When you're done, stop the dev server and confirm no Hubble Dev process remains.

Gotchas:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.