Skip to content
mcp/skillhub

Agent Skill

Vite skill

viteantfu/skillsskills/vite/SKILL.md

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.

6.0kMIT

always on

49 tokname + description

once used

576 tokSKILL.md body

bundled files

729 KB

repo stars

6.0kGitHub

Install the Vite skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/antfu/skills --skill vite

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/antfu/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -R /tmp/skills/skills/vite ~/.claude/skills/vite

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description49 tok
When the agent uses itThe SKILL.md instructions576 tok
Only if opened7 bundled files (29 KB)varies

Until it is used, vite costs about 28× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 11 skills from antfu/skills would load 512 tokens of descriptions. Skills vs MCP study

Checks

Our checks found nothing to flag: it follows the Agent Skills specification's naming and size guidelines and doesn't pipe downloads into a shell.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • Vite
  • Preferences
  • Core
  • Build & SSR
  • Advanced
  • Quick Reference
  • CLI Commands
  • Common Config
  • Official Plugins

More skills from antfu/skills

All skills in this repo
  1. antfuantfu/skills

    Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences.

    6.0k52 tok idle · 1,942 in use
  2. antfu-create-prantfu/skills

    Create a reviewable GitHub pull request from the current branch with a Conventional Commits title, a concise evidence-based body, and before/after screenshots for UI changes. Use when asked to open, create, publish, or prepare a PR.

    6.0k154 tok idle · 1,213 in use
  3. nitroantfu/skills

    Nitro is the framework-agnostic server toolkit (powering Nuxt) for building and deploying web servers anywhere. Use when working with nitro.config, server routes/event handlers, route rules, caching, storage, tasks, websockets, or deploying to Node/Bun/Deno/Cloudflare/Vercel.

    6.0k66 tok idle · 836 in use
  4. nuxtantfu/skills

    Nuxt full-stack Vue framework with SSR, auto-imports, and file-based routing. Use when working with Nuxt apps, server routes, useFetch, middleware, or hybrid rendering.

    6.0k41 tok idle · 1,028 in use
  5. piniaantfu/skills

    Pinia official Vue state management library, type-safe and extensible. Use when defining stores, working with state/getters/actions, or implementing store patterns in Vue apps.

    6.0k37 tok idle · 533 in use
  6. pnpmantfu/skills

    Node.js package manager with strict dependency resolution. Use when running pnpm specific commands, configuring workspaces via pnpm-workspace.yaml, or managing dependencies with catalogs, patches, overrides, config dependencies, or the global virtual store.

    6.0k49 tok idle · 1,075 in use
  7. unocssantfu/skills

    UnoCSS instant atomic CSS engine, superset of Tailwind CSS. Use when configuring UnoCSS, writing utility rules, shortcuts, or working with presets like Wind, Icons, Attributify.

    6.0k43 tok idle · 934 in use
  8. vitepressantfu/skills

    VitePress static site generator powered by Vite and Vue. Use when building documentation sites, configuring themes, or writing Markdown with Vue components.

    6.0k32 tok idle · 772 in use