All skills

Use when setting up Vite projects - provides dev server, HMR, build configuration, library mode, and plugin authoring patterns

  • 6 files
  • 24.7 KB
  • MIT
  • Updated 8 months ago
  • GitHub

Use this Skill: https://skilld.dev/gh/onmax/claude-config/vite

This session only. Nothing lands on disk.

SKILL.md

โ‰ˆ33 tokens always: the name and description. โ‰ˆ555 when used: this file. โ‰ˆ5.7k more on demand in 5 files.

Vite

Next-gen frontend build tool with native ESM dev server and Rolldown-powered builds.

When to Use

  • Setting up frontend project build tooling
  • Configuring dev server, HMR, proxies
  • Building for production (SPA, MPA, library, SSR)
  • Writing Vite plugins
  • Integrating with backend frameworks

Quick Start

npm create vite@latest my-app
// vite.config.ts
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

export default defineConfig({
  plugins: [vue()],
  server: {
    port: 3000,
  },
})
vite          # Dev server
vite build    # Production build
vite preview  # Preview build

Reference Files

Task File
Config file, options, CLI, plugins config.md
ESM, CSS, assets, env vars, glob import features.md
Dev server, HMR, workers, performance dev.md
Production, library mode, SSR, chunking build.md
JS API, plugin authoring, module graph advanced.md

Loading Files

Consider loading these reference files based on your task:

DO NOT load all files at once. Load only what's relevant to your current task.

Cross-Skill References

  • Testing โ†’ Use vitest skill (Vite-native testing)
  • Vue projects โ†’ Use vue skill for component patterns
  • Library bundling โ†’ Use tsdown skill for TypeScript libs

Source: SKILL.md on GitHub

No third-party reports yet.

Signed by skilld at 6a37106. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 8 hours ago.

Activeupdated 8 months ago

README badge

README badge for onmax/claude-config/vite