Vite Commands (/vite:)
Framework-agnostic Vite projects only — vanilla JS/TS apps, library authoring, multi-page apps, Workers/WASM entries. For React/Vue/Angular/Svelte's own Vite tooling, use /react:*, /vuejs:*, /angular:* commands instead.
Code Generation
| Command | Description |
|---|---|
/vite:scaffold-project | Scaffold a new Vite project (vanilla-ts/lit-ts template) or a library skeleton |
Analysis Commands
| Command | Description |
|---|---|
/vite:check-architecture | Validate project shape (vanilla SPA, library, multi-page, Workers/WASM) and vite.config.ts organization |
/vite:check-code-quality | Run code quality checks (ESLint, tsc --noEmit) |
/vite:check-compliance | Check rule compliance (Config & Architecture, TypeScript & Quality, Tests, Build Output & Performance) |
/vite:check-security | Security audit (envPrefix/define() leakage, multi-page CSP, Workers/WASM sandboxing) |
/vite:check-testing | Test coverage analysis (Vitest) |
/vite:check-library-build | Validate build.lib output and vite-plugin-dts .d.ts generation |