Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
yonatangross avatar

Vite Advanced

  • 39 installs
  • 213 repo stars
  • Updated August 4, 2026
  • yonatangross/skillforge-claude-plugin

Helps with ai & agent building tasks.

About

vite-advanced is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • vite-advanced
  • AI & Agent Building
  • AI-coding skill

Vite Advanced by the numbers

  • 39 all-time installs (skills.sh)
  • Ranked #8,302 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/yonatangross/skillforge-claude-plugin --skill vite-advanced

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs39
repo stars213
Last updatedAugust 4, 2026
Repositoryyonatangross/skillforge-claude-plugin

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Vite Advanced Patterns

Advanced configuration for Vite 8 (Rolldown-powered, stable Mar 2026) with Environment API from Vite 7.

Vite 8: Rolldown-Powered Builds (Default)

Vite 8 replaces esbuild+Rollup with Rolldown (Rust-based unified bundler), delivering 7.7x faster builds and 50% less memory. This is now the default for all new projects.

npm install vite@8  # Direct upgrade

Key improvements:

MetricVite 7Vite 8Improvement
Build time (Linear)46s6s7.7x faster
Dev server startup~3s~1s3x faster
HMR updates~100ms~60ms40% faster
Memory usage~800MB~400MB50% reduction

Breaking changes from Vite 7:

  • build.rollupOptionsbuild.rolldownOptions (auto-converted with deprecation warning)
  • transformWithEsbuildtransformWithOxc
  • Plugin transform() returning JS must add moduleType: 'js' to return value
  • manualChunks object form removed — use function form or advancedChunks
  • 'system' / 'amd' output formats no longer supported
  • Lightning CSS is now standard (replaces esbuild for CSS minification)
  • Browser target bump: Chrome 107→111, Firefox 104→114, Safari 16.0→16.4

advancedChunks (Replaces manualChunks)

Vite 8 introduces declarative chunk grouping with priority control and size constraints:

export default defineConfig({
  build: {
    rolldownOptions: {
      output: {
        advancedChunks: {
          groups: [
            { name: 'react-vendor', test: /[\\/]node_modules[\\/](react|react-dom)[\\/]/, priority: 20 },
            { name: 'ui-vendor', test: /[\\/]node_modules[\\/]@radix-ui[\\/]/, priority: 15, minShareCount: 2 },
            { name: 'vendor', test: /[\\/]node_modules[\\/]/, priority: 10, maxSize: 500000 },
          ],
        },
      },
    },
  },
})

Load Read("${CLAUDE_SKILL_DIR}/references/vite8-rolldown.md") for full migration options, benchmarks, advancedChunks syntax, Oxc benefits, and migration checklist.

Environment API (from Vite 7, stable)

Multi-environment support (client/SSR/edge) is first-class:

export default defineConfig({
  environments: {
    client: { build: { outDir: 'dist/client' } },
    ssr: { build: { outDir: 'dist/server', ssr: true } },
  },
});

Load Read("${CLAUDE_SKILL_DIR}/references/environment-api.md") for full configuration, per-environment plugins, Builder API, and buildApp hook.

Plugin Development

Hooks for config, transform, resolveId, load, virtual modules, HMR, and environment-aware transforms.

Load Read("${CLAUDE_SKILL_DIR}/references/plugin-development.md") for plugin structure, hook execution order, and advanced patterns.

SSR Configuration

Middleware mode for dev, separate client/server builds for prod, streaming SSR support.

Load Read("${CLAUDE_SKILL_DIR}/references/ssr-configuration.md") for entry points, dev/prod server setup, and streaming patterns.

Build Optimization

Chunk splitting with advancedChunks (Vite 8, preferred) or manualChunks (Vite 7 legacy), tree shaking, minification, and bundle analysis.

Load Read("${CLAUDE_SKILL_DIR}/references/chunk-optimization.md") for chunk strategies, build targets, and optimization checklist.

Quick Reference

FeatureVite 8 Status
Rolldown bundlerDefault (replaces esbuild+Rollup)
Environment APIStable (from Vite 7)
ESM-only distributionDefault
Node.js requirement20.19+ or 22.12+
advancedChunksNew (replaces manualChunks)
buildApp hookStable (for multi-env plugins)
createBuilderMulti-env builds
Oxc integrationParsing 3x faster than SWC

Key Decisions

DecisionRecommendation
New projectsVite 8 (default)
Existing production appsEvaluate Vite 8, use rolldown-vite for gradual migration
Multi-env buildsEnvironment API (environments config)
Plugin scopeUse this.environment for env-aware plugins
SSRMiddleware mode for dev, separate builds for prod
ChunksadvancedChunks for Vite 8, manualChunks for Vite 7 compat

Related Skills

  • biome-linting - Fast linting alongside Vite
  • ork:react-server-components-framework - SSR integration
  • edge-computing-patterns - Edge environment builds
  • ork:storybook-testing - Component testing with Vitest

References

Load on demand with Read("${CLAUDE_SKILL_DIR}/references/<file>"):

FileContent
vite8-rolldown.mdRolldown migration, benchmarks, advancedChunks, Oxc benefits
environment-api.mdMulti-environment builds, Builder API, per-env plugins
plugin-development.mdPlugin hooks, virtual modules, HMR, env-aware transforms
ssr-configuration.mdEntry points, dev/prod servers, streaming SSR
library-mode.mdBuilding publishable npm packages
chunk-optimization.mdadvancedChunks, manualChunks, tree shaking, bundle analysis

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.