vite-browser-core-debug
SKILL.md
vite-browser-core-debug
Use this skill for first-pass diagnosis only. Escalate quickly if the problem is actually runtime or network driven.
Workflow
- Open app and detect framework.
- Run error-first gate (
errors,logs) ANDvite runtime. - IMMEDIATE ROUTING DECISION:
- If
vite runtimeshows HMR Socket closed/error/unknown → escalate tovite-browser-runtime-diagnostics - If
errorscontains "HMR", "hot", "reload", "import", "resolve", "module", "circular", "websocket" → escalate tovite-browser-runtime-diagnostics - If
networkshows 4xx/5xx/FAIL responses → escalate tovite-browser-network-regression - Otherwise, continue with framework state inspection
- If
- Inspect framework state (
vue/react/svelte tree, plus router/pinia for Vue) only if the issue still looks component-driven. - Validate behavior with
network,screenshot, andeval. - Return findings with command evidence and a minimal fix path.
Escalation rules
Escalate to vite-browser-runtime-diagnostics if any of these are true:
- The issue appeared right after a code edit or hot update.
errorsorlogsmention Vite, HMR, reload, import resolution, or websocket instability.- The page refreshes unexpectedly or falls back to full reload.
Escalate to vite-browser-network-regression if:
- The main symptom is wrong data, empty data, or request failure.
networkshows suspicious 4xx/5xx/FAIL responses.
Command sequence
vite-browser open <url>
vite-browser detect
vite-browser vite runtime
vite-browser errors --mapped --inline-source
vite-browser logs
In v0.3.3+, prefer errors --mapped --inline-source over plain errors during first-pass triage. It captures browser-side runtime failures even when the Vite overlay is absent and now aligns better with live propagation diagnosis for Vue store-driven failures.
Then branch based on routing decision:
- Vue:
vite-browser vue treevite-browser vue tree <id>vite-browser vue pinia [store]vite-browser vue router
- React:
vite-browser react treevite-browser react tree <id>
- Svelte:
vite-browser svelte treevite-browser svelte tree <id>
Cross-check:
vite-browser network
vite-browser screenshot
vite-browser eval '<script>'
Output format
Always report:
- Confirmed symptom
- Most likely failure class:
component-state,runtime-hmr, ornetwork-data - Evidence (exact command + key output)
- Confidence:
high,medium, orlow - Minimal fix or next skill to run
- Recheck commands
When to switch skills
If diagnosis reveals the root cause is actually:
- HMR/runtime issue (hot update failures, module errors, import resolution) → switch to
vite-browser-runtime-diagnostics - Network/API issue (wrong data, failed requests, CORS, auth) → switch to
vite-browser-network-regression - Need final pre-release validation → switch to
vite-browser-release-smoke
Weekly Installs
1
Repository
maplecity1314/v…-browserGitHub Stars
8
First Seen
6 days ago
Security Audits
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1