agentsclimarketplace

Vite

Skill ComeOnOliver/skillshub/skills/pproenca/dot-skills/vite

🧠 The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.From the repository description

Install
npx -y skills add ComeOnOliver/skillshub --skill vite

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

6.0 KB, ~1.4k tokens by cl100k_base, as published. Nobody here has run it

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

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.