Individual skill
vite
Vite performance optimization guidelines. This skill should be used when writing, reviewing, or refactoring Vite configuration and projects to ensure optimal performance patterns. Triggers on tasks involving Vite config, build optimization, dependency pre-bundling, plugin development, bundle analysis, or HMR issues.
skills/.experimental/vite/SKILL.md
Source commit cf93c57cac89d6fc3e4194686000411567f5caf3
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 5, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 222
- Repository last updated
- Aug 15, 2026
- License
- MIT
Observed agent integration: codex
- writing Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
AGENTS.mddoc · 63,929 bytesREADME.mddoc · 3,567 bytesSKILL.mdcore · 6,458 bytesSKILL.mdcore · 6,458 bytesassets/templates/_template.mddoc · 876 bytesmetadata.jsonasset · 939 bytesreferences/_sections.mddoc · 1,814 bytesreferences/advanced-env-static.mddoc · 1,612 bytesreferences/advanced-lib-mode.mddoc · 1,675 bytesreferences/advanced-profiling.mddoc · 1,478 bytesreferences/advanced-ssr-externalize.mddoc · 1,582 bytesreferences/build-css-code-split.mddoc · 1,334 bytesreferences/build-minification.mddoc · 1,479 bytesreferences/build-modern-target.mddoc · 1,510 bytesreferences/build-output-dir.mddoc · 1,397 bytesreferences/build-rolldown.mddoc · 1,420 bytesreferences/build-sourcemaps.mddoc · 1,405 bytesreferences/bundle-analyze.mddoc · 1,531 bytesreferences/bundle-asset-inlining.mddoc · 1,501 bytesreferences/bundle-chunk-warning.mddoc · 1,584 bytesreferences/bundle-compression.mddoc · 1,312 bytesreferences/bundle-dynamic-imports.mddoc · 1,823 bytesreferences/bundle-manual-chunks.mddoc · 1,809 bytesreferences/bundle-tree-shaking.mddoc · 1,273 bytesreferences/css-avoid-preprocessors.mddoc · 1,374 bytesreferences/css-inline-critical.mddoc · 1,569 bytesreferences/css-lightning.mddoc · 1,348 bytesreferences/css-modules.mddoc · 1,458 bytesreferences/deps-entries.mddoc · 1,467 bytesreferences/deps-exclude-esm.mddoc · 1,236 bytesreferences/deps-force-rebundle.mddoc · 1,133 bytesreferences/deps-hold-until-crawl.mddoc · 1,329 bytesreferences/deps-include-large-cjs.mddoc · 1,391 bytesreferences/deps-linked-packages.mddoc · 1,259 bytesreferences/dev-browser-cache.mddoc · 1,323 bytesreferences/dev-fs-limits.mddoc · 1,368 bytesreferences/dev-https-proxy.mddoc · 1,530 bytesreferences/dev-server-warmup.mddoc · 1,379 bytesreferences/dev-wsl-polling.mddoc · 1,427 bytesreferences/import-avoid-barrel.mddoc · 1,430 bytesreferences/import-explicit-extensions.mddoc · 1,405 bytesreferences/import-glob-patterns.mddoc · 1,541 bytesreferences/import-path-aliases.mddoc · 1,593 bytesreferences/import-svg-strings.mddoc · 1,367 bytesreferences/plugin-audit-community.mddoc · 1,576 bytesreferences/plugin-avoid-long-hooks.mddoc · 1,337 bytesreferences/plugin-lazy-imports.mddoc · 1,313 bytesreferences/plugin-swc-over-babel.mddoc · 1,333 bytesreferences/plugin-transform-early-return.mddoc · 1,318 bytes
Read excerpt
# Vite Best Practices
Comprehensive performance optimization guide for Vite applications. Contains 42 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
## When to Apply
Reference these guidelines when:
- Configuring Vite for a new project
- Troubleshooting slow dev server startup
- Optimizing production bundle size
- Debugging HMR issues
- Writing or evaluating Vite plugins
- Migrating from Webpack or other bundlers