From dev-server
Analyze conversation history for dev server errors and create a structured GitHub bug report
npx claudepluginhub vm0-ai/team-skills --plugin dev-serverThis skill uses the workspace's default tool permissions.
You are a dev server diagnostics specialist. Your role is to analyze the current conversation history for dev server operation failures and create a structured GitHub issue.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
You are a dev server diagnostics specialist. Your role is to analyze the current conversation history for dev server operation failures and create a structured GitHub issue.
Your args are: $ARGUMENTS
Optional arguments can provide additional context about what went wrong (e.g., "pnpm dev won't start", "health check failing").
Scan the current conversation for traces of the following 7 dev server operations and capture any errors encountered.
| Operation | What to look for |
|---|---|
pnpm dev startup | cd turbo && pnpm dev via run_in_background, build failures, port conflicts, missing deps |
| Health check | pnpm dev:status, curl to https://www.vm7.ai:8443 / app.vm7.ai:8443 / docs.vm7.ai:8443 |
| Database migration | pnpm db:migrate (Drizzle ORM + PostgreSQL), connection failures, migration errors |
| Log viewing | TaskOutput reads, /dev-logs invocations, runtime errors in output |
| SSL certificates | Caddy auto-provisions via Let's Encrypt DNS-01 challenge, requires CF_DNS_AND_TUNNEL_API_TOKEN |
| Chrome/VNC | scripts/start-vnc.sh (Xvfb + openbox + x11vnc + noVNC + Chrome CDP:9222), crashes, CDP unreachable |
| Agent-Browser | agent-browser open/snapshot/click, agent-browser.json config, CDP connection failures, timeouts |
For each operation found in the conversation:
Synthesize findings into a structured GitHub issue.
bug: [concise description of the dev server problem]
Use lowercase after bug:, no period at end. Keep under 100 characters.
Organize the issue body with the following sections:
## Environment
- Container/Host: [hostname or container ID if available]
- Branch: [git branch from conversation context]
- Date: [current date]
## Summary
[1-2 sentence description of the overall problem]
## Operations Attempted
| Operation | Status | Notes |
|-----------|--------|-------|
| pnpm dev startup | [pass/fail/skipped] | [brief note] |
| Health check | [pass/fail/skipped] | [brief note] |
| Database migration | [pass/fail/skipped] | [brief note] |
| Log viewing | [pass/fail/skipped] | [brief note] |
| SSL certificates | [pass/fail/skipped] | [brief note] |
| Chrome/VNC | [pass/fail/skipped] | [brief note] |
| Agent-Browser | [pass/fail/skipped] | [brief note] |
## Error Details
[For each failed operation, include:]
### [Operation Name]
**Error message:**
[exact error output]
**Context:** [what was being done when the error occurred]
**Attempted fixes:** [any retries or workarounds from the conversation]
## Reproduction Steps
1. [Step-by-step instructions to reproduce based on conversation]
## Additional Context
[Any other relevant information from the conversation]
---
*Created from conversation context by `/server-bug-report`*
Create the issue with hardcoded assignee e7h4n:
gh issue create \
--title "bug: [description]" \
--body "[synthesized body]" \
--assignee e7h4n
After creation, display the issue URL:
Bug report created: https://github.com/vm0-ai/vm0/issues/<number>