Tooluck logoTooluck
SKILL.md

vite

Agent skill fromantfu/skills

Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration. Use when working with Vite projects, vite.config.ts, Vite plugins, or building libraries/SSR apps with Vite.

How to install vite

install vite
# install the skills pack with the skills CLI
npx skills add antfu/skills

# or add only this skill to Claude Code: copy the folder

skills/vite/

# into

~/.claude/skills/vite/ (all projects)

.claude/skills/vite/ (one project)

skills/vite/SKILL.md

MITFull file
1# Vite
2
3> Based on Vite v8.3.5 (Rolldown-powered), generated at 2026-11-05. Vite 8 uses the Rolldown bundler and the Oxc transformer instead of esbuild + Rollup.
4
5Vite is a next-generation frontend build tool with fast dev server (native ESM + HMR) and optimized production builds.
6
7## Preferences
8
9- Use TypeScript: prefer `vite.config.ts`
10- Always use ESM, avoid CommonJS
11
12## Core
13
14| Topic | Description | Reference |
15|-------|-------------|-----------|
16| Configuration | `vite.config.ts`, `defineConfig`, conditional configs, `loadEnv` | [core-config](references/core-config.md) |
17| Features | `import.meta.glob`, asset queries (`?raw`, `?url`), `import.meta.env`, HMR API | [core-features](references/core-features.md) |
18| Plugin API | Vite-specific hooks, virtual modules, plugin ordering | [core-plugin-api](references/core-plugin-api.md) |
19
20## Build & SSR
21
22| Topic | Description | Reference |
23|-------|-------------|-----------|
24| Build & SSR | Library mode, SSR middleware mode, `ssrLoadModule`, JavaScript API | [build-and-ssr](references/build-and-ssr.md) |
25
26## Advanced
27
28| Topic | Description | Reference |
29|-------|-------------|-----------|
30| Environment API | Vite 6+ multi-environment support, custom runtimes | [environment-api](references/environment-api.md) |
31| Rolldown Migration | Vite 8 changes: Rolldown bundler, Oxc transformer, config migration | [rolldown-migration](references/rolldown-migration.md) |
32
33## Quick Reference
34
35### CLI Commands
36
37```bash
38…

Excerpt shown under the repository's MIT license.

More skills in skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

pbakaus /

impeccable
108k

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

2 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates