kw-vite-checker-setup
Installation
SKILL.md
Vite Checker Setup
Wire two complementary systems so development errors reach the terminal:
vite-plugin-checker: TypeScript errors, type-checked in a worker thread.server.forwardConsole: browserconsole.*output and unhandled errors, native in Vite 8+. Below Vite 8 the fallback isvite-plugin-terminal.
Scope: vite.config.ts and dev dependencies. This skill sets up error reporting, it does not diagnose an error the user already has on screen, and it does not audit tsconfig strictness, formatters or duplicated libraries (that is kw-stack-audit).
0. Detect the package manager
Read the lockfile at the project root and use that manager in every command below.
| Lockfile | Install dev dependency | Remove |
|---|---|---|
package-lock.json |
npm i -D <pkg> |
npm uninstall <pkg> |
pnpm-lock.yaml |
pnpm add -D <pkg> |
pnpm remove <pkg> |
yarn.lock |
yarn add -D <pkg> |
yarn remove <pkg> |
bun.lock or bun.lockb |
bun add -d <pkg> |
bun remove <pkg> |