dexploarer/plugin-electrobun-dev/electrobun-dev

Claude Code and agent skill by dexploarer/plugin-electrobun-dev

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

This skill should be used when the user asks to "run electrobun dev", "electrobun development mode", "electrobun --watch", "hot reload electrobun", "CEF devtools", or is debugging the electrobun renderer or understanding the dev build cycle.

Install

npx vskill@latest install dexploarer/plugin-electrobun-dev/electrobun-dev

SKILL.md

The same SKILL.md was published earlier as dexploarer/plugin-electrobun-dev/electrobun-dev.

Electrobun Dev Mode

Commands

bash
electrobun dev # build (dev env) once, then launch app
electrobun dev --watch # build, launch, then watch for changes and rebuild+relaunch

Shorthand via package.json (standard templates):

bash
bun start # → electrobun dev
bun run dev # → electrobun dev --watch

What Happens on electrobun dev

  1. Reads electrobun.config.ts
  2. Downloads any missing native binaries (Bun, launcher, WGPU/CEF if configured)
  3. Bundles build.bun.entrypoint via Bun.build() in dev mode (no minify, sourcemaps inline)
  4. Bundles each build.views.* entrypoint
  5. Copies build.copy files to build output
  6. Skips codesign and notarization
  7. Writes app bundle to build/dev-<os>-<arch>/
  8. Launches the app, streaming stdout/stderr to your terminal

Watch Mode (--watch)

After initial build+launch, watch mode monitors:

  • Dir containing build.bun.entrypoint
  • Dir(s) containing each build.views.* entrypoint
  • Dirs listed in build.watch (extra paths)
  • Dirs of files listed in build.copy

Debounce: 300ms — rapid saves are coalesced into one rebuild.

Ignored automatically: build/, artifacts/, node_modules/, and patterns in build.watchIgnore.

On change: kills running app → rebuilds → relaunches.

Extra watch paths
typescript
// electrobun.config.ts
build: {
watch: ["src/shared/", "assets/"],
watchIgnore: ["src/**/*.test.ts", "src/**/*.spec.ts"],
}

CEF DevTools (Chromium inspector)

When using renderer: "cef" or defaultRenderer: "cef", the CEF renderer exposes Chrome DevTools at:

http://localhost:9222

Open in any Chrome/Chromium browser while the app is running. Lists all active renderer pages — click to inspect.

Note: DevTools are only available in dev builds. They are not exposed in canary or stable.

Native WebView Debugging (macOS)

For renderer: "native" (WKWebView), enable the developer extras:

typescript
// In src/bun/index.ts — call openDevTools() on the BrowserView instance
const view = new BrowserView({ ... });
view.openDevTools(); // Opens Safari Web Inspector (uses private WKWebView _inspector API)

Or in Safari: Develop → [Your App] → [webview name]

Debugging Tips

  1. Console output: All console.log from bun-side code appears in the terminal. Renderer-side console.log only appears in devtools (not terminal).
  2. RPC tracing: Add console.log to request/message handlers to trace cross-process calls.
  3. Source maps: Dev builds include inline source maps. Stack traces point to .ts source lines.
  4. Slow reload? Add only changed dirs to build.watch rather than broad patterns.
  5. App not relaunching? If the app process is holding a file lock, kill it manually: pkill -f "<AppName>"

Build Output (dev)

build/dev-macos-arm64/
└── <AppName>-dev.app/
└── Contents/
├── MacOS/
│ ├── launcher # native launcher
│ └── main.js # bundled bun entrypoint
├── Resources/
│ ├── <viewname>/ # bundled renderer
│ └── bun # bun runtime binary
└── Info.plist

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
5
Repository forks
1
7-day trend score
9

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dexploarer/plugin-electrobun-dev/electrobun-dev/badge)](https://verified-skill.com/skills/dexploarer/plugin-electrobun-dev/electrobun-dev)

Something wrong with this skill or its page? Tell us.