用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/morapelker/hive --skill verify命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | verify |
| description | Build, launch, and drive this worktree's Hive app over CDP to verify a change end-to-end with playwright-cli |
pnpm exec electron-vite build && pnpm run build:server
env -u CLAUDE_CODE_CHILD_SESSION -u CLAUDE_CODE_ENTRYPOINT -u CLAUDE_CODE_EXECPATH \
-u CLAUDE_CODE_NEW_INIT -u CLAUDE_CODE_SESSION_ID -u CLAUDECODE \
HIVE_SERVER_ENTRY_PATH=$PWD/out/main/server.js HIVE_DESKTOP_BACKEND_PORT=51000 \
pnpm exec electron . --remote-debugging-port=9223 # background
playwright-cli -s=<unique-session> attach --cdp=http://127.0.0.1:9223
playwright-cli -s=<s> tab-select 1 # tab 0 is the pet overlay, tab 1 is the main window
HIVE_SERVER_ENTRY_PATH the app dies ~30s in ("Fatal error during app startup").env -u CLAUDE_CODE_* strip is required or spawned claude TUIs become child sessions.file://<this worktree>/out/renderer/index.html.~/.hive/hive.db with the installed app — only exercise the
test projects below, OR set HIVE_DESKTOP_BASE_DIR=<dir> at launch to point the
backend at an isolated data dir (<dir>/hive.db). Plain HOME= is NOT enough:
app.getPath('home') ignores $HOME on macOS, so the backend would still open
the real DB (verified 2026-07-08).
test-python (GitHub remote) and ct-test (no remote) projects.sqlite3 -readonly ~/.hive/hive.db "..." (projects, worktrees,
connections, connection_members tables).playwright-cli press Escape, then re-snapshot.contextmenu MouseEvent via eval on the row ref.contextmenu on a row scrolled out of view opens the menu offscreen
and menuitem clicks time out — scrollIntoView (or pick a visible row) first.osascript -e 'tell application "Electron" to quit'
(production app is named "Hive", dev is "Electron").gh pr close <n> --repo morapelker/test-python --delete-branch,
archive test worktrees via the sidebar context menu ("Archive Delete branch").~/.hive/logs/hive-YYYY-MM-DD.log (all Hive processes write there; filter by pid).