mcpField
V
vite

vite

github.com/pproencaDevelopment220366 installsUpdated 11w ago
Repository

About vite

A Vite performance guide for developers configuring, troubleshooting, or optimizing Vite applications. Its 42 prioritized rules cover development, builds, plugins, and CSS.

Key features

  1. 0142 rules across eight categories
  2. 02Prioritizes guidance by impact
  3. 03Covers dependency pre-bundling and plugins
  4. 04Addresses bundles, imports, and build settings
  5. 05Includes development server and CSS guidance

Use cases

  1. 01Set up Vite for a new project
  2. 02Investigate slow development server startup
  3. 03Reduce production bundle size
  4. 04Debug HMR or assess Vite plugins

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/pproenca/dot-skills --skill vite

After installing, type/vitein Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

AGENTS.md
metadata.json
README.md
assets/templates/
_template.md
references/
_sections.md
advanced-env-static.md
advanced-lib-mode.md
advanced-profiling.md
advanced-ssr-externalize.md
build-css-code-split.md
build-minification.md
build-modern-target.md
build-output-dir.md
build-rolldown.md
build-sourcemaps.md
bundle-analyze.md
bundle-asset-inlining.md
bundle-chunk-warning.md
bundle-compression.md
bundle-dynamic-imports.md
bundle-manual-chunks.md
bundle-tree-shaking.md
css-avoid-preprocessors.md
css-inline-critical.md
css-lightning.md
css-modules.md
deps-entries.md
deps-exclude-esm.md
deps-force-rebundle.md
deps-hold-until-crawl.md

Details

From the project README

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

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Dependency Pre-bundlingCRITICALdeps-
2Plugin PerformanceCRITICALplugin-
3Bundle OptimizationCRITICALbundle-
4Import ResolutionHIGHimport-
5Build ConfigurationHIGHbuild-
6Development ServerMEDIUM-HIGHdev-
7CSS OptimizationMEDIUMcss-
8Advanced PatternsLOW-MEDIUMadvanced-

Quick Reference

1. Dependency Pre-bundling (CRITICAL)
2. Plugin Performance (CRITICAL)
3. Bundle Optimization (CRITICAL)
4. Import Resolution (HIGH)
5. Build Configuration (HIGH)
6. Development Server (MEDIUM-HIGH)
7. CSS Optimization (MEDIUM)
8. Advanced Patterns (LOW-MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

FileDescription
AGENTS.mdComplete compiled guide with all rules
references/_sections.mdCategory definitions and ordering
assets/templates/_template.mdTemplate for new rules
metadata.jsonVersion and reference information

Comments

Markdown supported