From partme-ai-full-stack-skills
Provides official Vite guidance for setup, configuration, plugins, CLI, HMR API, SSR, backend integration, and deployment. Use for Vite project config or plugin needs.
npx claudepluginhub partme-ai/full-stack-skills --plugin t2ui-skillsThis skill uses the workspace's default tool permissions.
Use this skill whenever the user wants to:
api/cli.mdapi/config.mdapi/plugin-api.mdexamples/config/build-options.mdexamples/config/configuring-vite.mdexamples/config/dep-optimization-options.mdexamples/config/preview-options.mdexamples/config/server-options.mdexamples/config/shared-options.mdexamples/config/ssr-options.mdexamples/config/worker-options.mdexamples/guide/api-environment-frameworks.mdexamples/guide/api-environment-instances.mdexamples/guide/api-environment-plugins.mdexamples/guide/api-environment-runtimes.mdexamples/guide/api-environment.mdexamples/guide/api-hmr.mdexamples/guide/api-javascript.mdexamples/guide/api-plugin.mdexamples/guide/assets.mdCreates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Use this skill whenever the user wants to:
examples/guide/.examples/config/.examples/plugins.md.npm run build to verify config changes compile; npm run preview to test production output.Introduction
examples/guide/getting-started.md → https://cn.vitejs.dev/guide/examples/guide/philosophy.md → https://cn.vitejs.dev/guide/philosophy.htmlexamples/guide/why-vite.md → https://cn.vitejs.dev/guide/why.htmlGuide
examples/guide/features.md → https://cn.vitejs.dev/guide/features.htmlexamples/guide/cli.md → https://cn.vitejs.dev/guide/cli.htmlexamples/guide/using-plugins.md → https://cn.vitejs.dev/guide/using-plugins.htmlexamples/guide/dep-pre-bundling.md → https://cn.vitejs.dev/guide/dep-pre-bundling.htmlexamples/guide/assets.md → https://cn.vitejs.dev/guide/assets.htmlexamples/guide/build.md → https://cn.vitejs.dev/guide/build.htmlexamples/guide/static-deploy.md → https://cn.vitejs.dev/guide/static-deploy.htmlexamples/guide/env-and-mode.md → https://cn.vitejs.dev/guide/env-and-mode.htmlexamples/guide/ssr.md → https://cn.vitejs.dev/guide/ssr.htmlexamples/guide/backend-integration.md → https://cn.vitejs.dev/guide/backend-integration.htmlexamples/guide/troubleshooting.md → https://cn.vitejs.dev/guide/troubleshooting.htmlexamples/guide/performance.md → https://cn.vitejs.dev/guide/performance.htmlexamples/guide/migration.md → https://cn.vitejs.dev/guide/migration.htmlAPIs
examples/guide/api-plugin.md → https://cn.vitejs.dev/guide/api-plugin.htmlexamples/guide/api-hmr.md → https://cn.vitejs.dev/guide/api-hmr.htmlexamples/guide/api-javascript.md → https://cn.vitejs.dev/guide/api-javascript.htmlEnvironment API
examples/guide/api-environment.md → https://cn.vitejs.dev/guide/api-environment.htmlexamples/guide/api-environment-instances.md → https://cn.vitejs.dev/guide/api-environment-instances.htmlexamples/guide/api-environment-plugins.md → https://cn.vitejs.dev/guide/api-environment-plugins.htmlexamples/guide/api-environment-frameworks.md → https://cn.vitejs.dev/guide/api-environment-frameworks.htmlexamples/guide/api-environment-runtimes.md → https://cn.vitejs.dev/guide/api-environment-runtimes.htmlexamples/config/configuring-vite.md → https://cn.vitejs.dev/config/examples/config/shared-options.md → https://cn.vitejs.dev/config/shared-options.htmlexamples/config/server-options.md → https://cn.vitejs.dev/config/server-options.htmlexamples/config/build-options.md → https://cn.vitejs.dev/config/build-options.htmlexamples/config/preview-options.md → https://cn.vitejs.dev/config/preview-options.htmlexamples/config/dep-optimization-options.md → https://cn.vitejs.dev/config/dep-optimization-options.htmlexamples/config/ssr-options.md → https://cn.vitejs.dev/config/ssr-options.htmlexamples/config/worker-options.md → https://cn.vitejs.dev/config/worker-options.htmlexamples/plugins.md → https://cn.vitejs.dev/plugins/# Create a new Vite project
npm create vite@latest my-app -- --template react-ts
# Install and run
cd my-app && npm install
npm run dev # Dev server with HMR
npm run build # Production build
npm run preview # Preview production build
// vite.config.ts
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
proxy: {
'/api': 'http://localhost:8080',
},
},
build: {
sourcemap: true,
rollupOptions: {
output: {
manualChunks: { vendor: ['react', 'react-dom'] },
},
},
},
});
defineConfig for TypeScript type hints and autocompleteserver.proxy for API calls during developmentbuild.rollupOptions.output.manualChunks for vendor splittingimport.meta.env for environment variables (prefix with VITE_)Vite, build tool, dev server, HMR, config, plugins, SSR, CLI, dependency pre-bundling, assets