Skip to content

Performance-focused Vite guide with 42 prioritized rules for config, builds, plugins, and HMR.

CCM score
48 of 100
skills.sh installs
380
GitHub stars
228
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers 8 categories ranked by impact: dependency pre-bundling, plugin performance, bundle optimization, import resolution, build configuration, dev server, CSS, and advanced patterns
  • Includes rules such as holdUntilCrawlEnd, manual vendor chunking, SWC over Babel for React, and Lightning CSS over PostCSS
  • Gives each rule its own reference file with explanations and code examples, plus a compiled AGENTS.md covering all rules
  • Designed for reviewing or refactoring Vite configs, migrating from Webpack, and troubleshooting slow startup or HMR issues

Install

$ npx -y skills add pproenca/dot-skills --skill vite -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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)

Details

Repository
github.com/pproenca/dot-skills
Category
Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the vite skill do for my project?

The vite skill gives an agent performance optimization guidelines for Vite configuration and projects. It covers dependency pre-bundling, plugin performance, bundle optimization, import resolution, build configuration, the dev server, CSS and advanced patterns, with 42 rules in total.

How do I install the vite skill?

Run npx -y skills add pproenca/dot-skills --skill vite -y in your project. Once installed, the agent can apply these Vite rules when writing or reviewing configuration.

When should I use the vite skill?

Use it when configuring Vite for a new project, troubleshooting slow dev server startup, optimizing production bundle size, debugging HMR issues, or writing Vite plugins. It also applies when migrating from Webpack or another bundler.

Where does the vite skill rank in Frontend and UI Code?

The vite skill is listed in the Frontend and UI Code category on Claude Marketplaces, alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. It focuses specifically on Vite build and dev performance rather than UI design or React patterns.

More from pproenca/dot-skills

All 100