22 Deterministic Claude AI Skills for Vite 6, 7 & 8
Deterministic Claude AI skills for Vite — next-generation frontend build tool with instant HMR, optimized builds, and plugin ecosystem.
Built on the Agent Skills open standard.
Without skills, Claude generates incorrect or outdated Vite patterns:
// Wrong — Webpack-style config that won't work in Vite
module.exports = {
entry: './src/index.js',
output: { path: path.resolve(__dirname, 'dist') },
module: { rules: [{ test: /\.tsx?$/, use: 'ts-loader' }] }
};With this skill package, Claude produces correct, version-aware Vite configuration:
// Correct — Vite 8 config with defineConfig and Rolldown
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
build: {
target: 'baseline-widely-available',
outDir: 'dist',
minify: 'oxc', // v8 default, 30-90x faster than Terser
rolldownOptions: { // v8: rolldownOptions, not rollupOptions
output: {
manualChunks: { vendor: ['react', 'react-dom'] }
}
}
}
})| Category | Count | Skills |
|---|---|---|
| Core | 2 | Architecture, Environment API (v6+) |
| Syntax | 8 | Config, Server, Build, Resolve+CSS, Plugin API, HMR API, Assets, Env Vars |
| Implementation | 7 | Project Setup, Library Mode, SSR, Backend Integration, Optimization, JavaScript API, Migration |
| Errors | 3 | Build Errors, Dependency Errors, Dev Server Errors |
| Agents | 2 | Code Review (50-check checklist), Project Scaffolder |
See INDEX.md for the complete skill catalog with descriptions.
| Vite Version | Internal Tools | Status |
|---|---|---|
| Vite 8.x | Oxc + Rolldown | Primary target |
| Vite 7.x | esbuild + Rollup | Full coverage |
| Vite 6.x | esbuild + Rollup | Full coverage |
| Vite 5.x | esbuild + Rollup | Migration guide only |
All skills note version-specific differences (e.g., build.rolldownOptions v8 vs build.rollupOptions v6/v7).
# Option 1: Clone the full package
git clone https://github.com/OpenAEC-Foundation/Vite-Claude-Skill-Package.git
cp -r Vite-Claude-Skill-Package/skills/source/ ~/.claude/skills/vite/
# Option 2: Add as git submodule
git submodule add https://github.com/OpenAEC-Foundation/Vite-Claude-Skill-Package.git .claude/skills/viteUpload individual SKILL.md files as project knowledge.
| Area | Key Topics |
|---|---|
| Configuration | defineConfig(), conditional config, all shared/server/build options |
| Plugin API | All hooks (Vite-specific + Rollup-compatible), virtual modules, hook filters |
| HMR | import.meta.hot, accept/dispose/prune/invalidate, custom events, boundaries |
| SSR | Middleware mode, ssrLoadModule, externals, build commands, SSR manifest |
| Library Mode | Multi-format output (ES/CJS/UMD/IIFE), externals, DTS, package.json exports |
| Environment API | Vite 6+ multi-environment, per-env config, custom providers |
| Assets | Import suffixes (?url/?raw/?inline/?worker), glob import, Web Workers, WASM |
| Optimization | Pre-bundling, CJS-to-ESM, monorepo linked deps, caching |
| Migration | v5→v6→v7→v8, Rollup→Rolldown, esbuild→Oxc, breaking changes per version |
| JavaScript API | createServer, build, preview, resolveConfig, mergeConfig, utilities |
| Guarantee | How |
|---|---|
| Version-correct | All code specifies Vite 6/7/8 target with version-specific annotations |
| API-accurate | All config options and hooks verified via WebFetch against official docs |
| Deterministic | ALWAYS/NEVER language, not suggestions — skills are instructions |
| Anti-pattern-free | Known mistakes documented with WRONG/CORRECT examples |
| Self-contained | Each skill works independently without requiring other skills |
| Concise | All SKILL.md files under 500 lines; heavy content in references/ |
| Document | Purpose |
|---|---|
| INDEX.md | Complete skill catalog |
| ROADMAP.md | Project status (single source of truth) |
| REQUIREMENTS.md | Quality guarantees and per-area requirements |
| DECISIONS.md | Architectural decisions with rationale |
| SOURCES.md | Official reference URLs and verification rules |
| WAY_OF_WORK.md | 7-phase development methodology |
| LESSONS.md | Lessons learned during development |
Built using the 7-phase research-first methodology, proven across 4 skill packages:
- Setup — Project structure and governance
- Deep Research — WebFetch against official Vite docs (vite.dev)
- Masterplan — 22 skills, 8 execution batches, full agent prompts
- Topic Research — Embedded in skill creation prompts
- Skill Creation — Parallel agent execution (3 per batch)
- Validation — Structural + content checks
- Publication — GitHub release
| Project | Skills | Technology |
|---|---|---|
| ERPNext Skill Package | 28 | ERPNext/Frappe |
| Blender-Bonsai Skill Package | 73 | Blender, Bonsai, IfcOpenShell, Sverchok |
| Tauri 2 Skill Package | 27 | Tauri 2 desktop apps |
| OpenAEC Foundation | — | Parent organization |
Part of the OpenAEC Foundation ecosystem.
