SkillsReviewed · antfu

Anthony Fu's Vite Skill

Anthony Fu's Vite skill is a reference pack for coding assistants and frontend developers, but its generated Vite 8 guidance needs checking against each project's installed version. It covers configuration, plugins, library builds, server-side rendering and migration to Rolldown and Oxc. Assistant-specific installation and runtime compatibility are not established.

Researched 16 Nov 2026

In short.

Anthony Fu's Vite skill gives coding assistants and frontend developers a compact development reference, but its Vite 8 guidance is version-specific and contains an unresolved migration inconsistency. It declares a Vite v8.3.5 basis and links six references covering configuration, imports, plugin hooks, builds, server-side rendering and runtime environments. No installation, build, migration or performance results are established.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes all eight captured files in skills/vite: SKILL.md, GENERATION.md and references/build-and-ssr.md, core-config.md, core-features.md, core-plugin-api.md, environment-api.md and rolldown-migration.md. The accompanying notice is the repository-level LICENSE.md. Other skill folders, generation scripts, the upstream Vite checkout, linked documentation and project dependencies are outside this scope. Nothing was executed; assistant loading, installation, builds, migrations, runtime compatibility and performance remain untested.

The overview

Identity

The resource is the skills/vite folder in Anthony Fu's antfu/skills repository. Its entry file identifies the skill as vite, names Anthony Fu as author and declares metadata version 2026.11.5. The folder contains Markdown instructions and references for an assistant to consult during Vite development.

The captured source is repository revision 4a6bb39e7b45e26402eb215393c51ccf5df1ca4c: [https://github.com/antfu/skills/tree/4a6bb39e7b45e26402eb215393c51ccf5df1ca4c/skills/vite].

Assessment

The strongest use is supplying an assistant with a compact map of Vite-specific APIs and migration patterns. Configuration work, plugin authoring and changes from older bundling options receive concrete examples rather than general advice.

Its usefulness depends on matching those examples to the project's Vite version and framework. The files establish the guidance's contents, but assistant effectiveness, API correctness and successful project migrations remain unassessed.

Users

Frontend developers can use it when asking an assistant to change vite.config.ts, handle assets or prepare a library build. Plugin and framework authors have additional material on virtual modules, hook ordering and separate browser, server or edge environments.

Beginners will need some JavaScript or TypeScript familiarity to interpret the examples. The SSR reference recommends higher-level frameworks for application developers because Vite's direct SSR support is low-level.

Capabilities

The configuration and features references cover conditional configuration, environment loading, aliases, proxies, browser targets, glob imports, asset queries, web workers, CSS modules and hot module replacement, which updates modules during development. They also describe WebAssembly imports and experimental chunk import maps.

Advanced material covers plugin hooks, virtual modules, emitted asset references, library packaging and environment-aware builds. The migration reference maps older Rollup and esbuild options to Rolldown and Oxc, while listing compatibility limits and breaking changes.

Using it

Requirements

Using the folder as an assistant skill requires a host that can read its entry file and linked references. The files do not name supported assistants, required models, an installation directory or a host compatibility matrix.

Applying the examples requires a suitable Vite project and any plugins used by that example. The skill prefers TypeScript configuration and ECMAScript modules. Exact Node.js requirements, dependency versions and framework compatibility are not specified.

Mechanism

SKILL.md combines descriptive metadata, coding preferences, a topic index and quick examples. Its relative links direct an assistant to six focused reference files. The guidance favors vite.config.ts and ECMAScript module syntax.

The folder supplies text and code examples for the assistant to interpret. How a particular host discovers the skill, chooses reference files or includes them in model context is unspecified.

Setup

Keep SKILL.md and the references directory together so their relative links remain usable. Follow the chosen assistant host's instructions for loading a local skill; this resource supplies no host-specific installation procedure.

Before applying configuration examples, identify the project's installed Vite version and any framework-managed dependency constraints. The migration file includes pnpm upgrade and override examples, but their suitability for a particular framework is unknown.

Example

A concrete task is migrating a library's Vite configuration while preserving external dependencies. The migration reference changes build.rollupOptions to build.rolldownOptions. The library example places vue and react in external, identifies lib/main.ts as the entry and supplies a package.json export map.

An assistant could use these references to propose the configuration change and check that package exports match the intended output filenames. No successful build or package-consumer result is established.

Assessment & evidence

Limitations

There is an internal inconsistency: core-config.md says the alias array's customResolver was removed in Vite 8, while rolldown-migration.md calls it deprecated. Its actual availability cannot be resolved from these files.

The references identify experimental features, including DevTools integration, chunk import maps and full bundle mode. They also list unsupported output formats and plugin hooks, plus a decorator-lowering limitation. The statement that most plugins work unchanged has no accompanying compatibility test matrix.

Reasoning

The expected benefit comes from gathering related Vite concepts into a small, navigable package. A configuration change can require knowledge of build options, plugin hooks and runtime environments, all of which have dedicated references here.

This supports using the skill as working guidance alongside version-matched documentation. It does not establish reduced errors, faster development or better assistant output; those outcomes remain unknown.

Alternatives

The skill points to Vite's configuration, plugin and migration documentation. These are direct references to consult for disputed or version-sensitive behavior: [https://vite.dev/config/], [https://vite.dev/guide/api-plugin] and [https://vite.dev/guide/migration]. Their contents are not included in the captured folder.

For application-level SSR, the resource recommends Nuxt, SvelteKit, SolidStart or TanStack Start. These provide higher-level server-rendering integration. Nitro is suggested for a portable server layer. No comparative evaluation of these options is supplied.

Evidence

The source snapshot contains SKILL.md, GENERATION.md and six topic references, accompanied by the repository-level LICENSE.md. The files provide configuration snippets, API examples, migration notes and links to upstream documentation.

No test logs, benchmarks, assistant compatibility results or completed migration records are present. The linked documentation and upstream source checkout are separate from this folder, so their contents do not independently substantiate its claims here.

Access & freshness

Costs

The accompanying MIT notice grants permission free of charge. The skill files specify no subscription, paid endpoint or usage tariff.

Costs for an assistant host, model usage, development compute or deployment are unknown. The files contain no token-use, runtime or cost measurements.

Rights

The repository's MIT notice permits use, copying, modification, publication, redistribution, sublicensing and sale. Copies or substantial portions must retain the copyright and permission notices. The notice disclaims warranties and liability.

The copyright notice names Anthony Fu and 2025-PRESENT. These terms support redistribution of the captured skill with its notice; they do not establish licensing terms for separately obtained dependencies or linked projects.

Freshness

The entry file declares a Vite v8.3.5 basis and generation date of 2026-11-05. GENERATION.md records sources/vite at Git SHA 7139ef35cf6c9c0979385a467e8499fc19dfd099. These are provenance declarations rather than independently verified release information.

The repository snapshot was captured on 2026-11-16 at 11:40:12.226 UTC. Later changes, current upstream correctness and the resource's update cadence are unknown.

Actions

Match the project's installed Vite version to the guidance, then load the complete folder through the assistant host's documented mechanism. Begin with a bounded configuration task and inspect the proposed changes against the relevant reference.

Resolve the customResolver discrepancy against version-matched Vite documentation before changing aliases. For migrations, check framework constraints, plugin compatibility, browser targets and package exports, then run the project's relevant checks. For ordinary application SSR, consider the higher-level frameworks recommended in the resource.

Evidence for this report

LICENSE.mdnotice · checked 2026-11-16
skills/vite/GENERATION.mdselected · checked 2026-11-16
skills/vite/SKILL.mdselected · checked 2026-11-16
skills/vite/references/build-and-ssr.mdselected · checked 2026-11-16
skills/vite/references/core-config.mdselected · checked 2026-11-16
skills/vite/references/core-features.mdselected · checked 2026-11-16
skills/vite/references/core-plugin-api.mdselected · checked 2026-11-16
skills/vite/references/environment-api.mdselected · checked 2026-11-16
skills/vite/references/rolldown-migration.mdselected · checked 2026-11-16