V

vite

by @antfuv
4.5(480)

Viteは高速なフロントエンドビルドツールですが、ここではバックエンド開発での応用を指し、AIエージェントがバックエンドサービスを効率的に構築・最適化するのを支援します。

Build ToolsModule BundlersDevelopment ServersJavaScript ToolingHot Module Replacement (HMR)GitHub
インストール方法
npx skills add antfu/skills --skill vite
compare_arrows

Before / After 効果比較

1
使用前

AIコーディングエージェントのバックエンド開発において、従来のツールは設定が複雑で、ホットリロードが遅く、開発の進行を著しく妨げていました。プロジェクトの起動とビルドに時間がかかりすぎ、開発体験に悪影響を与えていました。

使用後

ViteはAIコーディングエージェントに超高速のバックエンド開発体験を提供します。即時ホットモジュールリプレイスメント(HMR)、高速な起動とビルドにより、開発効率が大幅に向上し、エージェントの応答性とイテレーションを迅速化します。

description SKILL.md

Vite

Based on Vite 8 beta (Rolldown-powered). Vite 8 uses Rolldown bundler and Oxc transformer.

Vite is a next-generation frontend build tool with fast dev server (native ESM + HMR) and optimized production builds.

Preferences

  • Use TypeScript: prefer vite.config.ts
  • Always use ESM, avoid CommonJS

Core

TopicDescriptionReference
Configurationvite.config.ts, defineConfig, conditional configs, loadEnvcore-config
Featuresimport.meta.glob, asset queries (?raw, ?url), import.meta.env, HMR APIcore-features
Plugin APIVite-specific hooks, virtual modules, plugin orderingcore-plugin-api

Build & SSR

TopicDescriptionReference
Build & SSRLibrary mode, SSR middleware mode, ssrLoadModule, JavaScript APIbuild-and-ssr

Advanced

TopicDescriptionReference
Environment APIVite 6+ multi-environment support, custom runtimesenvironment-api
Rolldown MigrationVite 8 changes: Rolldown bundler, Oxc transformer, config migrationrolldown-migration

Quick Reference

CLI Commands

vite              # Start dev server
vite build        # Production build
vite preview      # Preview production build
vite build --ssr  # SSR build

Common Config

import { defineConfig } from 'vite'

export default defineConfig({
  plugins: [],
  resolve: { alias: { '@': '/src' } },
  server: { port: 3000, proxy: { '/api': 'http://localhost:8080' } },
  build: { target: 'esnext', outDir: 'dist' },
})

Official Plugins

  • @vitejs/plugin-vue - Vue 3 SFC support
  • @vitejs/plugin-vue-jsx - Vue 3 JSX
  • @vitejs/plugin-react - React with Oxc/Babel
  • @vitejs/plugin-react-swc - React with SWC
  • @vitejs/plugin-legacy - Legacy browser support

forumユーザーレビュー (0)

レビューを書く

効果
使いやすさ
ドキュメント
互換性

レビューなし

統計データ

インストール数12.0K
評価4.5 / 5.0
バージョン
更新日2026年4月29日
比較事例1 件

ユーザー評価

4.5(480)
5
23%
4
51%
3
23%
2
2%
1
0%

この Skill を評価

0.0

対応プラットフォーム

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

タイムライン

作成2026年3月14日
最終更新2026年4月29日
🎁 Agent 知識カード