vitexec
Installation
SKILL.md
vitexec
Use vitexec when the truth lives in the running browser: client state, imported app modules, DOM, canvas/WebGL, screenshots, recordings, or browser-only errors.
Do not use it for questions static files, unit tests, or TypeScript can answer directly.
References
- For mouse, keyboard, pointer lock, gamepad, or other input, read references/inputs.md.
- For CPU, network, performance timeline, or heap analysis, read references/performance.md.
- For WebXR, read references/webxr.md.
Workflow
- Identify the page path if it is not
/. - Write the smallest snippet that performs the user-like action or reads the browser-only state.
- Run
vitexec '<snippet>', adding--path,--gpu,--screenshot,--record,--cpu-profile,--network-trace,--performance-trace,--heap-snapshot,--timeout, or--configonly when needed. - Treat stdout as browser logs. It starts with
logs:.