What problem does it solve? Vite projects often suffer from misconfigured environments, leaked secrets via VITE_ variables, slow dev servers, missing type checks in builds, and production pitfalls like stale chunks or broken SSR externals. This Skill provides proven configuration patterns and anti-patterns to avoid these issues. ## Core Features & Use Cases - Configuration Patterns: Covers defineConfig, conditional configs, loadEnv usage, path aliases, and key build options for Vite 8+ projects. - Plugin Guidance: Recommends essential plugins like vite-plugin-checker and vite-tsconfig-paths, plus patterns for authoring custom plugins with hooks and virtual modules. - Security & Performance: Explains VITE_ prefix exposure risks, source map handling, barrel file avoidance, import extension explicitness, and dev server profiling with vite --profile. - Use Case: When setting up a React + Vite app that proxies API requests to a backend, use this Skill to configure server.proxy correctly, externalize peer deps in library mode, and avoid shipping type errors by adding vite-plugin-checker. ## Quick Start Ask the AI to review your vite.config.ts and apply Vite best practices for environment variables, proxy setup, and build optimization.