STOP — DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's plugin system. Begin executing immediately.
Step 0 — Immediate Output
Before ANY tool calls, display this banner:
╔══════════════════════════════════════════════════════════════╗
║ PLAN-BUILD-RUN ► DASHBOARD ║
╚══════════════════════════════════════════════════════════════╝
Then proceed to Step 1.
Behavior
Parse arguments: Extract
--port Nfrom the user's input. Default to3141.Locate dashboard: The dashboard lives at the repository root
dashboard/directory (NOT under${CLAUDE_PLUGIN_ROOT}). Resolve the repo root from<cwd>— for PBR's own repo this is the project root; for installed plugins, usegit rev-parse --show-toplevelor walk up from${CLAUDE_PLUGIN_ROOT}to finddashboard/.Check dependencies: Check if
<repo-root>/dashboard/server/node_modules/exists. If not, run:npm run dashboard:install --prefix <repo-root>Launch dashboard: Run in background via Bash:
node <repo-root>/dashboard/bin/cli.cjs --dir <cwd> --port <port> &Use
&to background the process so it doesn't block the session.Verify startup: After launching, check the process is responding:
curl -s -o /dev/null -w "%{http_code}" http://localhost:<port>/Output to user:
Dashboard running at http://localhost:<port> Open this URL in your browser to view your project's planning state.
Notes
- If the port is already in use, the dashboard will fail to start — suggest the user try a different port with
--port. - The dashboard watches
.planning/for live updates via WebSockets.