.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/skills/vite
home/skills/antfu/skills/vite
antfu avatar

vite

byantfu· 22 skills

Installs

31k

Stars

5.7k

Forks

313

Category

Frontend Development

View on GitHub

TL;DR

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?

antfu/skills/vite
$npx -y skills add antfu/skills --skill vite

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Use this skill

Run `npx skills use "https://github.com/antfu/skills" --skill "antfu/skills/vite"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.

Use the whole pack

Use the skills in "https://github.com/antfu/skills" that are relevant to the current task. Run `npx skills add "https://github.com/antfu/skills"` and select the relevant skills, then follow their instructions.

Files · 1

View on GitHub
SKILL.md
1# Vite
2 
3> Based on Vite 8 beta (Rolldown-powered). Vite 8 uses Rolldown bundler and Oxc transformer.
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
38vite # Start dev server
39vite build # Production build
40vite preview # Preview production build
41vite build --ssr # SSR build
42```
43 
44### Common Config
45 
46```ts
47import { defineConfig } from 'vite'
48 
49export default defineConfig({
50 plugins: [],
51 resolve: { alias: { '@': '/src' } },
52 server: { port: 3000, proxy: { '/api': 'http://localhost:8080' } },
53 build: { target: 'esnext', outDir: 'dist' },
54})
55```
56 
57### Official Plugins
58 
59- `@vitejs/plugin-vue` - Vue 3 SFC support
60- `@vitejs/plugin-vue-jsx` - Vue 3 JSX
61- `@vitejs/plugin-react` - React with Oxc/Babel
62- `@vitejs/plugin-react-swc` - React with SWC
63- `@vitejs/plugin-legacy` - Legacy browser support

Security

Passed

  • Gen Agent Trust Hubpass
  • Socketpass
  • Snykpass
  • Runlayerpass
  • ZeroLeakspass

Preview

antfu/skillsantfu/skills

$ npx -y skills add antfu/skills --skill vite

▸ installing to .claude/skills…

✓ vite ready

Repoantfu/skills
TypeSkills
CategoryFrontend Development
ForDeveloperArchitect
UpdatedJun 2026
License—
First seenJul 26, 2026

Tags

Skill

Related

6 picks
Type
  1. vercel-labs avatarreact-best-practicesReact and Next.js performance optimization guidelines from Vercel Engineering.SkillsJul 2026587k29k
  2. heygen-com avatarhyperframes-registryInstall, discover, and wire registry blocks and components into HyperFrames compositions.SkillsJul 2026267k38k
  3. vercel-labs avatarcomposition-patternsReact composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing…SkillsJul 2026266k29k
  4. shadcn avatarshadcnManages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces.SkillsJul 2026257k120k
  5. larksuite avatarlark-apps妙搭(Spark/Miaoda)应用开发与托管:应用创建、本地全栈开发、云端生成迭代、创意设计(UI mockup / 可交互原型 / 线框图 / 落地页 / 仪表盘 / 幻灯片 deck / 视觉探索)、AI相关能力和飞书平台能力或者其他外部能力集成、日志/Trace/监控指标/PV/UV…SkillsJul 2026235k16k
  6. leonxlnx avatarimage-to-code-skillElite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then…SkillsJul 2026175k68k