agentleFS
oyjtoyjt/uniapp-vue3-template/.agents/skills/vite/SKILL.md

vite

Skill628 starsChanged 34 days agoMITView on GitHub

Vite next-generation frontend build tool with fast HMR and optimized builds. Use when configuring Vite, adding plugins, working with dev server, or building for production.

  • Reads credentials

38 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use nitro, antfu-design and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SentrySkill

    nitro

    Build and deploy universal JavaScript servers with Nitro v3. Use when working with nitro.config.ts, defineNitroConfig, defineHandler, defineConfig, server.ts entry, filesystem routing, route rules, useStorage, defineCachedHandler, useDatabase, definePlugin, runtime hooks, Vercel/Cloudflare deployment, or migrating from Nitro v2/nitropack.

    Also in 5 projects that use this

  • wltn7810-dotcomSkill

    antfu-design

    antfu-style design conventions, broadened. UnoCSS-first, class-based semantic tokens with dual light/dark for tooling and devtools UIs, plus design-read, anti-slop, and micro-interaction polish for landing pages and product surfaces. Use when building or refactoring any interface with UnoCSS.

    Also in 3 projects that use this

  • xfstudioSkill

    nodejs-backend-patterns

    Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.

    Also in 5 projects that use this

  • xenitV1Skill

    nodejs-best-practices

    Node.js development principles and decision-making. Framework selection, async patterns, security, and architecture. Teaches thinking, not copying.

    Also in 4 projects that use this

  • midudevSkill

    tailwind-css-patterns

    Provides comprehensive Tailwind CSS utility-first styling patterns including responsive design, layout utilities, flexbox, grid, spacing, typography, colors, and modern CSS best practices. Use when styling React/Vue/Svelte components, building responsive layouts, implementing design systems, or optimizing CSS workflow.

    Also in 3 projects that use this

  • xfstudioSkill

    typescript-advanced-types

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications. Use when implementing complex type logic, creating reusable type utilities, or ensuring compile-time type safety in TypeScript projects.

    Also in 5 projects that use this

The file

Files
SKILL.md

Vite is a modern build tool for frontend development featuring instant server start with native ES modules, lightning-fast HMR, and optimized production builds using Rolldown/Rollup. It supports TypeScript, JSX, CSS pre-processors out of the box and has a rich plugin ecosystem.

The skill is based on Vite 6.x, generated at 2026-01-28.

Core

TopicDescriptionReference
ConfigurationConfig file setup, defineConfig, conditional and async configscore-config
CLI CommandsDev server, build, preview commands and optionscore-cli
Core FeaturesTypeScript, JSX, CSS, HTML processing, JSON handlingcore-features
Using PluginsAdding, configuring, and ordering pluginscore-plugins

Features

TopicDescriptionReference
CSS HandlingCSS modules, pre-processors, PostCSS, Lightning CSSfeatures-css
Static AssetsAsset imports, public directory, URL handlingfeatures-assets
Glob Importimport.meta.glob, dynamic imports, batch loadingfeatures-glob-import
Environment Variables.env files, modes, import.meta.env constantsfeatures-env
HMR APIHot Module Replacement client APIfeatures-hmr
Web WorkersWorker imports and configurationfeatures-workers
Dependency Pre-BundlingoptimizeDeps, caching, monorepo setupfeatures-dep-bundling

Build

TopicDescriptionReference
Production BuildBuild options, browser targets, multi-page appsbuild-production
Library ModeBuilding libraries with proper package exportsbuild-library
SSRServer-side rendering setup and configurationbuild-ssr

Advanced

TopicDescriptionReference
JavaScript APIcreateServer, build, preview programmatic APIsadvanced-api
Plugin APICreating Vite plugins, hooks, virtual modulesadvanced-plugin-api
PerformanceOptimization tips for dev server and buildsadvanced-performance
Backend IntegrationIntegrating Vite with traditional backendsadvanced-backend

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.