一键导入
app-build
Build the Meadow Electron app and launch it in test mode to verify it starts cleanly
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build the Meadow Electron app and launch it in test mode to verify it starts cleanly
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
List and run agent tasks defined in _module/agent_tasks/ directories across the repo
Safely clean up the current worktree after verifying no unmerged work would be lost
Run the end-to-end test suite, automatically diagnose and fix failures
Finish a worktree development session - commit, merge to main, and clean up
Understand and extend the regenerable canonical scenario artifact in the e2e report viewer — used for iterating on the viewer's UI against stable, self-documenting data without running real tests
Merge a worktree branch into main - handle conflicts, run full checks, auto-fix issues
| name | app-build |
| description | Build the Meadow Electron app and launch it in test mode to verify it starts cleanly |
Build the Meadow desktop app from source and launch the built app in test mode so you can verify it starts and runs correctly.
Important: The shell working directory persists between Bash tool calls, so relative cd commands cause doubled-path errors. As the very first Bash command, resolve the repo root and store it in a variable:
REPO_ROOT=$(git rev-parse --show-toplevel)
Then use $REPO_ROOT in all subsequent commands. Never use bare relative paths like cd app/electron_app.
The build launches a freshly-built Meadow app in test mode. If an existing Meadow app is already running, macOS's single-instance behavior kills the newly launched instance before it finishes starting, and the verification step fails with a confusing startup timeout.
pgrep -f "Meadow.app/Contents/MacOS/Meadow" || true
If this returns any PIDs, stop immediately and tell the user:
"app-build aborted: a Meadow app is already running. Please quit Meadow (cmd+Q) before running /app-build again."
Do not attempt to kill it yourself — the user may have unsaved state.
cd "$REPO_ROOT/app/electron_app" && ./build-and-test.sh
This builds all components (rust binaries, backend, frontend, electron main), packages the app, mounts the result, and launches Meadow with --test-mode. The script waits for === STARTUP_COMPLETE === in the test log and then blocks so you can interact with the running app. Press Ctrl+C to stop — the script unmounts the volume and kills the launched process on exit.
When the user stops the session, report:
app/electron_app/build/