dexploarer/plugin-electrobun-dev/electrobun-kitchen-sink
Claude Code and agent skill by dexploarer/plugin-electrobun-dev
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks about the "electrobun kitchen sink", "defineTest", "AUTO_RUN mode", "kitchen sink tests", "electrobun test runner", navigating playground windows, or wants to add new electrobun Kitchen Sink test coverage.
Install
npx vskill@latest install dexploarer/plugin-electrobun-dev/electrobun-kitchen-sinkSKILL.md
The same SKILL.md was published earlier as dexploarer/plugin-electrobun-dev/electrobun-kitchen-sink.
Electrobun Kitchen Sink
The Kitchen Sink is Electrobun's integration test app. It contains automated and interactive tests for every Electrobun API, plus standalone playground windows for manual exploration.
Project Layout
Running the Kitchen Sink
Exit codes: 0 = all pass, 1 = any failure.
Feature Manifest
Generated at kitchen/src/generated/feature-manifest.json. Each entry:
Regenerate / Validate
Generator does static analysis only — no Electrobun runtime required.
Test Suites
Automated (run unattended)
| Suite | Key APIs | |
|---|---|---|
| RPC | BrowserView.defineRPC, Electroview.defineRPC | |
| BrowserWindow | new BrowserWindow, all lifecycle methods | |
| Navigation | setNavigationRules, will-navigate, did-navigate | |
| Utils | clipboard, paths, openFileDialog, showNotification | |
| Screen | getPrimaryDisplay, getAllDisplays, getCursorScreenPoint | |
| Session | Session.fromPartition, cookies | |
| Events | Electrobun.events.on (all global events) | |
| Preload | preload script injection | |
| Updater | checkForUpdate, downloadUpdate, applyUpdate | |
| Sandbox | sandbox: true isolation | |
| Tray | new Tray, setMenu, tray-clicked | |
| WGPU FFI | WGPUBridge low-level FFI | |
| WGPU Adapter | GpuWindow, WGPUView adapter layer | |
| Babylon Adapter | BabylonJS WebGPU integration | |
| WGPU Adapter Extended | extended WGPU surface coverage |
Interactive (require human)
| Suite | Feature area | |
|---|---|---|
| Dialogs | openFileDialog, showMessageBox | |
| Tray | Tray visibility, icon, menu | |
| Shortcuts | GlobalShortcut register/unregister | |
| Webview Tag | <electrobun-webview> masks, passthrough, navigation | |
| Clipboard | clipboardRead/WriteText/Image | |
| Menus | ApplicationMenu, ContextMenu | |
| Window Events | move, resize, blur, focus events | |
| Chromeless | titleBarStyle: hidden, draggable regions | |
| Multiwindow CEF | CEF renderer multi-window | |
| Quit test | before-quit lifecycle | |
| Webview settings | renderer options, sandbox | |
| Webview cleanup | view lifecycle and removal | |
| WGPU View | WGPUView interactive | |
| WGPU Tag | <wgpu-view> HTML tag | |
| Fullsize frame repro | window frame edge cases |
Test Runner UI — CSS Selectors
Main window: views://test-runner/index.html
Controls
| Selector | Action | |
|---|---|---|
#btn-run-all | runAllAutomated() — runs all non-interactive tests | |
#btn-run-interactive | runInteractiveTests() | |
.run-btn[data-test-id] | runTest({ testId }) — run one test | |
#test-search | Fuzzy filter by name/category/description | |
#update-btn | applyUpdate() | |
#update-history-toggle | Toggle update status history panel | |
#update-history-clear | clearUpdateStatusHistory() |
Status elements
| Selector | Shows | |
|---|---|---|
#total-count | Total test count | |
#passed-count | Passed | |
#failed-count | Failed | |
#pending-count | Pending/not-run | |
#test-list | Category groups + test cards | |
#search-meta | Total or filtered count |
Interactive modal
| Selector | Purpose | |
|---|---|---|
#interactive-modal | Modal container | |
#modal-title | Test name | |
#modal-instructions | Instructions text | |
#btn-start | submitReady({ testId }) | |
#btn-pass | submitVerification({ testId, action: 'pass' }) | |
#btn-fail | submitVerification({ testId, action: 'fail' }) | |
#btn-retest | submitVerification({ testId, action: 'retest' }) | |
#notes-input | Optional notes |
Bun↔UI RPC Contract
Requests (bun exposes to UI)
getTests()→ test listrunTest({ testId })→ run one testrunAllAutomated()→ run all automatedrunInteractiveTests()→ start interactive sequencesubmitInteractiveResult({ testId, passed, notes })→ submit resultsubmitReady({ testId })→ signal ready for interactive stepsubmitVerification({ testId, action, notes })→ pass/fail/retestapplyUpdate()→ apply downloaded updategetUpdateStatusHistory()/clearUpdateStatusHistory()getTestRunnerPreferences()/setTestRunnerPreferences({ searchQuery })
Messages (bun sends to UI)
testStarted— test execution begantestCompleted— result with pass/fail/durationtestLog— log lineallCompleted— all tests doneinteractiveWaiting— waiting for user to click StartinteractiveReady— user ready, perform the actioninteractiveVerify— show pass/fail/retest controlsbuildConfig— app metadataupdateStatus/updateStatusEntry— updater state
Interactive Test Flow (Two-Step)
Consuming the Manifest (agent usage)
Playground Windows
Each interactive suite opens a dedicated playground window. Key ones:
| Playground | URL | Key Controls | |
|---|---|---|---|
| File dialog | views://playgrounds/file-dialog/ | #openDialogBtn, #result, #history | |
| App menu | views://playgrounds/application-menu/ | Sets app menu via RPC | |
| Context menu | views://playgrounds/context-menu/ | Shows context menu via RPC | |
| Webview tag | views://playgrounds/webviewtag/ | masks, passthrough, navigation | |
| Session/partition | views://playgrounds/session/ | Compares cross-partition localStorage | |
| Window events | views://playgrounds/window-events-*/ | move/resize/blur/focus detection | |
| Clipboard | views://playgrounds/clipboard/ | read/write text and image | |
| Tray | views://playgrounds/tray/ | tray icon and menu |
Platform Caveats in Tests
- Zoom: exact zoom level only verified on macOS; defaults to
1.0on other platforms - Minimize/unminimize: marked unreliable on some Linux window managers
- Session cookies: some tests commented out due to ARM Windows VM crashes
- Application menus: intentionally skipped on Linux in interactive tests
- Context menus: marked macOS-only in interactive tests
- CEF devtools: only available in
devbuilds, athttp://localhost:9222
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/electrobun-kitchen-sink/SKILL.md
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
[](https://verified-skill.com/skills/dexploarer/plugin-electrobun-dev/electrobun-kitchen-sink)