Skip to content
cccskills
FreePublished on GitHub

vite

Vite (フロントエンドビルドツール・開発サーバー, v8 / Rolldown) のリファレンス。

vite.config, defineConfig, server, build, optimizeDeps, HMR (import.meta.hot), import.meta.env, import.meta.glob, configureServer, transformIndexHtml, Environment API (DevEnvironment / ModuleRunner), SSR, library mode, JavaScript API, v7 から v8 移行。

テストは vitest スキル。

The English summary is being prepared. Showing the original description.

Works withVercelNetlify
See how to install

Files included (200)

  • SKILL.md7.6 KB
  • references/assets-env/asset-url-imports.md2.7 KB
  • references/assets-env/asset-worker-imports.md1.2 KB
  • references/assets-env/built-in-constants.md1.6 KB
  • references/assets-env/env-intellisense.md1.6 KB
  • references/assets-env/env-variables.md3.1 KB
  • references/assets-env/html-constant-replacement.md938 B
  • references/assets-env/modes.md2.0 KB
  • references/assets-env/new-url-import-meta-url.md1.8 KB
  • references/assets-env/public-directory.md1.5 KB
  • references/assets-env/README.md1.4 KB
  • references/build-deploy/advanced-base-options.md1.7 KB
  • references/build-deploy/backend-integration.md7.6 KB
  • references/build-deploy/browser-compatibility.md1.7 KB
  • references/build-deploy/customizing-build.md1.1 KB
  • references/build-deploy/deploy-cloudflare-firebase.md2.2 KB
  • references/build-deploy/deploy-github-gitlab.md3.4 KB
  • references/build-deploy/deploy-netlify-vercel.md1.6 KB
  • references/build-deploy/deploy-other-hosts.md2.1 KB
  • references/build-deploy/library-mode.md3.9 KB
  • references/build-deploy/load-error-handling.md936 B
  • references/build-deploy/multi-page-app.md1.4 KB
  • references/build-deploy/public-base-path.md1.3 KB
  • references/build-deploy/README.md2.3 KB
  • references/build-deploy/rebuild-on-file-changes.md729 B
  • references/build-deploy/static-deploy-overview.md1.6 KB
  • references/config-build/build-assets-inline-limit.md1.1 KB
  • references/config-build/build-chunk-import-map.md854 B
  • references/config-build/build-css-options.md2.1 KB
  • references/config-build/build-lib.md2.6 KB
  • references/config-build/build-license.md1.3 KB
  • references/config-build/build-manifest.md1.3 KB
  • references/config-build/build-minify.md1.7 KB
  • references/config-build/build-module-preload.md2.2 KB
  • references/config-build/build-output-dirs.md1.5 KB
  • references/config-build/build-report-size.md861 B
  • references/config-build/build-rolldown-options.md2.1 KB
  • references/config-build/build-sourcemap.md651 B
  • references/config-build/build-ssr-emit-assets.md1.4 KB
  • references/config-build/build-target.md1.6 KB
  • references/config-build/build-watch.md869 B
  • references/config-build/README.md2.3 KB
  • references/config-build/worker-options.md1.4 KB
  • references/config-dev/optimize-deps-entries-include-exclude.md2.0 KB
  • references/config-dev/optimize-deps-flags.md2.5 KB
  • references/config-dev/optimize-deps-rolldown-esbuild-options.md1.6 KB
  • references/config-dev/preview-options.md1.8 KB
  • references/config-dev/README.md2.5 KB
  • references/config-dev/server-cors-headers.md1.1 KB
  • references/config-dev/server-forward-console.md1.2 KB
  • references/config-dev/server-fs.md2.2 KB
  • references/config-dev/server-hmr-ws.md2.6 KB
  • references/config-dev/server-host-allowed-hosts.md2.3 KB
  • references/config-dev/server-https-open.md1.3 KB
  • references/config-dev/server-middleware-mode.md1.7 KB
  • references/config-dev/server-origin-sourcemap-ignore.md1.6 KB
  • references/config-dev/server-port.md816 B
  • references/config-dev/server-proxy.md3.1 KB
  • references/config-dev/server-warmup.md1.0 KB
  • references/config-dev/server-watch.md1.6 KB
  • references/config-shared/app-type.md813 B
  • references/config-shared/assets-include.md911 B
  • references/config-shared/conditional-async-config.md1.4 KB
  • references/config-shared/configuring-vite.md2.5 KB
  • references/config-shared/css-modules-options.md1.7 KB
  • references/config-shared/css-postcss-preprocessor-options.md2.6 KB
  • references/config-shared/css-transformer-lightningcss.md1.5 KB
  • references/config-shared/define.md1.2 KB
  • references/config-shared/devtools.md1.1 KB
  • references/config-shared/env-dir-prefix.md1.1 KB
  • references/config-shared/env-in-config.md1.5 KB
  • references/config-shared/future.md769 B
  • references/config-shared/html-options.md1.7 KB
  • references/config-shared/input.md950 B
  • references/config-shared/json-options.md767 B
  • references/config-shared/logging-options.md1.4 KB
  • references/config-shared/oxc-esbuild.md2.1 KB
  • references/config-shared/plugins-public-cache-dir.md1.4 KB
  • references/config-shared/README.md3.2 KB
  • references/config-shared/resolve-alias.md1.4 KB
  • references/config-shared/resolve-options.md2.9 KB
  • references/config-shared/root-base-mode.md1.3 KB
  • references/config-shared/tsconfig.md1.2 KB
  • references/environment-api/application-plugin-communication.md1.7 KB
  • references/environment-api/custom-environment-instances.md1.8 KB
  • references/environment-api/dev-environment-class.md3.8 KB
  • references/environment-api/environment-agnostic-code.md891 B
  • references/environment-api/environment-api-overview.md2.2 KB
  • references/environment-api/environment-build-hooks.md1.9 KB
  • references/environment-api/environment-factories.md5.1 KB
  • references/environment-api/environments-configuration.md2.6 KB
  • references/environment-api/environments-during-build.md2.6 KB
  • references/environment-api/fetch-result.md2.2 KB
  • references/environment-api/fetchable-dev-environment.md2.2 KB
  • references/environment-api/hot-update-hook.md3.2 KB
  • references/environment-api/module-evaluator.md1.7 KB
  • references/environment-api/module-graphs.md3.2 KB
  • references/environment-api/module-runner-options.md2.2 KB
  • references/environment-api/module-runner-transport.md6.1 KB
  • references/environment-api/module-runner.md2.6 KB
  • references/environment-api/per-environment-hooks.md2.7 KB
  • references/environment-api/per-environment-state-plugins.md3.4 KB
  • references/environment-api/raw-dev-environment.md5.4 KB
  • references/environment-api/README.md5.2 KB
  • references/environment-api/runnable-dev-environment.md4.3 KB
  • references/features/build-optimizations.md1.7 KB
  • references/features/client-types.md1.7 KB
  • references/features/content-security-policy.md1.2 KB
  • references/features/css-modules.md1.2 KB
  • references/features/css-preprocessors-lightningcss.md1.5 KB
  • references/features/css.md1.4 KB
  • references/features/dep-caching.md1.3 KB
  • references/features/dep-pre-bundling.md2.5 KB
  • references/features/dynamic-import.md1011 B
  • references/features/frameworks-jsx.md1.4 KB
  • references/features/glob-import.md3.2 KB
  • references/features/hot-module-replacement.md1.1 KB
  • references/features/html.md1.9 KB
  • references/features/json.md420 B
  • references/features/license.md790 B
  • references/features/npm-dependency-resolving.md1.1 KB
  • references/features/README.md3.8 KB
  • references/features/static-assets.md816 B
  • references/features/typescript.md2.7 KB
  • references/features/web-workers.md1.6 KB
  • references/features/webassembly.md2.4 KB
  • references/getting-started/cli-build.md2.3 KB
  • references/getting-started/cli-dev.md1.9 KB
  • references/getting-started/cli-optimize-preview.md2.4 KB
  • references/getting-started/index-html-project-root.md1.6 KB
  • references/getting-started/official-plugins.md2.0 KB
  • references/getting-started/overview.md1.5 KB
  • references/getting-started/philosophy.md1.7 KB
  • references/getting-started/plugin-legacy.md4.7 KB
  • references/getting-started/README.md2.1 KB
  • references/getting-started/scaffolding.md2.1 KB
  • references/getting-started/using-plugins.md2.2 KB
  • references/getting-started/using-unreleased-commits.md1.0 KB
  • references/getting-started/why-vite.md1.7 KB
  • references/javascript-api/build.md1.3 KB
  • references/javascript-api/create-server.md2.3 KB
  • references/javascript-api/inline-resolved-config.md1.5 KB
  • references/javascript-api/load-config-from-file.md541 B
  • references/javascript-api/load-env.md1.0 KB
  • references/javascript-api/merge-config.md1.5 KB
  • references/javascript-api/normalize-path.md314 B
  • references/javascript-api/preprocess-css.md1.2 KB
  • references/javascript-api/preview.md1.6 KB
  • references/javascript-api/README.md2.0 KB
  • references/javascript-api/resolve-config.md932 B
  • references/javascript-api/search-for-workspace-root.md620 B
  • references/javascript-api/transform-with-oxc-esbuild.md1.3 KB
  • references/javascript-api/version-constants.md986 B
  • references/javascript-api/vite-dev-server.md4.4 KB
  • references/migration-troubleshooting/breaking-changes.md2.1 KB
  • references/migration-troubleshooting/change-hotupdate-hook.md2.8 KB
  • references/migration-troubleshooting/change-per-environment-apis.md2.3 KB
  • references/migration-troubleshooting/change-shared-plugins-during-build.md2.1 KB
  • references/migration-troubleshooting/change-ssr-using-modulerunner.md1.5 KB
  • references/migration-troubleshooting/change-this-environment-in-hooks.md1.7 KB
  • references/migration-troubleshooting/migration-advanced.md2.4 KB
  • references/migration-troubleshooting/migration-build-api-changes.md2.7 KB
  • references/migration-troubleshooting/migration-minify-interop.md3.7 KB
  • references/migration-troubleshooting/migration-rolldown-oxc.md4.2 KB
  • references/migration-troubleshooting/migration-v7-overview.md2.1 KB
  • references/migration-troubleshooting/performance.md3.0 KB
  • references/migration-troubleshooting/README.md4.4 KB
  • references/migration-troubleshooting/troubleshooting-build-deps.md2.6 KB
  • references/migration-troubleshooting/troubleshooting-cli-config.md1.8 KB
  • references/migration-troubleshooting/troubleshooting-dev-server.md2.8 KB
  • references/migration-troubleshooting/troubleshooting-hmr.md1.2 KB
  • references/migration-troubleshooting/troubleshooting-others.md2.5 KB
  • references/plugin-api/authoring-conventions.md2.0 KB
  • references/plugin-api/chunk-import-map-info.md1.4 KB
  • references/plugin-api/client-server-communication.md2.9 KB
  • references/plugin-api/emitted-assets.md1.0 KB
  • references/plugin-api/hmr-api-overview.md2.2 KB
  • references/plugin-api/hook-close-server.md1.5 KB
  • references/plugin-api/hook-config.md2.4 KB
  • references/plugin-api/hook-configure-server.md2.6 KB
  • references/plugin-api/hook-handle-hot-update.md2.5 KB
  • references/plugin-api/hook-transform-index-html.md2.1 KB
  • references/plugin-api/hot-accept.md2.0 KB
  • references/plugin-api/hot-decline-invalidate.md1.5 KB
  • references/plugin-api/hot-dispose-prune-data.md1.8 KB
  • references/plugin-api/hot-events.md1.8 KB
  • references/plugin-api/path-normalization-filters.md2.0 KB
  • references/plugin-api/plugin-context-meta.md2.0 KB
  • references/plugin-api/plugin-ordering-conditional.md1.3 KB
  • references/plugin-api/plugins-config.md1.4 KB
  • references/plugin-api/README.md4.7 KB
  • references/plugin-api/rolldown-compatibility.md1.2 KB
  • references/plugin-api/rolldown-hooks.md1.5 KB
  • references/plugin-api/virtual-modules-transforms.md2.0 KB
  • references/ssr/conditional-logic.md443 B
  • references/ssr/preload-directives.md1.4 KB
  • references/ssr/prerendering-ssg.md803 B
  • references/ssr/README.md2.1 KB
  • references/ssr/ssr-dev-server.md4.8 KB
  • references/ssr/ssr-externals.md1.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Vite

対象バージョン Vite v8.3.4 (GitHub tag vitejs/vite v8.3.4 = npm latest, published 2026-10-08; fetched 2026-10-16)。 本文の出典は raw.githubusercontent.com/vitejs/vite/v8.3.4/docs/**。main は 33 commits 先行し docs 8 ファイルが変更されているため使用しない。vite.dev のページと .md twin は main からデプロイされるため、source URL とアンカー実測にのみ使用している。

ディレクトリ構成

skills/vite/
  SKILL.md
  references/
    getting-started/        # CLI・scaffold・プラグイン導入・概要
      README.md
      cli-dev.md / cli-build.md / cli-optimize-preview.md
      scaffolding.md / index-html-project-root.md / using-plugins.md
      official-plugins.md / plugin-legacy.md / overview.md / why-vite.md / philosophy.md
      using-unreleased-commits.md
    config-shared/          # 共通オプション (root / base / mode / resolve / define / css / json / future ほか)
      README.md
      configuring-vite.md / conditional-async-config.md / root-base-mode.md
      resolve-alias.md / resolve-options.md / define.md / app-type.md / tsconfig.md ほか
    config-dev/             # server.* / preview.* / optimizeDeps.*
      README.md
      server-proxy.md / server-middleware-mode.md / server-hmr-ws.md / server-fs.md ほか
    config-build/           # build.* / worker.*
      README.md
      build-target.md / build-lib.md / build-manifest.md / build-rolldown-options.md ほか
    features/               # CSS・HTML・TypeScript・glob import・HMR・Web Workers・依存プリバンドル
      README.md
      hot-module-replacement.md / glob-import.md / css.md / typescript.md ほか
    assets-env/             # 静的アセット・環境変数・モード
      README.md
      env-variables.md / built-in-constants.md / modes.md / public-directory.md ほか
    build-deploy/           # ビルド・デプロイ・library mode・backend integration
      README.md
      library-mode.md / multi-page-app.md / public-base-path.md / backend-integration.md
      deploy-netlify-vercel.md / deploy-github-gitlab.md ほか
    ssr/                    # SSR 構成・本番ビルド・externals・SSG
      README.md
      ssr-overview.md / ssr-dev-server.md / ssr-production-build.md / ssr-options.md ほか
    javascript-api/         # createServer / build / preview / resolveConfig / loadEnv ほか
      README.md
      create-server.md / build.md / vite-dev-server.md / inline-resolved-config.md ほか
    plugin-api/             # プラグイン作成・Vite 固有 hook・HMR API
      README.md
      authoring-conventions.md / hook-config.md / hook-configure-server.md
      hook-transform-index-html.md / hmr-api-overview.md / hot-accept.md ほか
    environment-api/        # Environments / DevEnvironment / ModuleRunner
      README.md
      environment-api-overview.md / environments-configuration.md / dev-environment-class.md
      module-runner.md / environments-during-build.md ほか
    migration-troubleshooting/  # v7 から v8 移行・breaking changes・トラブルシュート・性能
      README.md
      migration-v7-overview.md / breaking-changes.md / performance.md
      troubleshooting-dev-server.md / troubleshooting-hmr.md ほか
  samples/
    README.md
    basic-config.md / conditional-env-config.md / env-variables-typing.md / dev-proxy.md
    library-mode.md / multi-page-app.md / glob-import.md / web-workers.md
    ssr-dev-server-express.md / ssr-production-build.md
    plugin-virtual-module.md / plugin-transform-custom-file.md
    plugin-configure-server.md / plugin-transform-index-html.md
    custom-hmr-events.md / hmr-accept.md / javascript-api-server-build.md
    backend-integration-manifest.md / github-pages-deploy.md
    environment-api-plugin.md / module-runner.md / migrate-esbuild-to-rolldown-options.md
  scripts/
    README.md
    install.md / dev.md / build.md / preview-optimize.md
    debug-profile.md / unreleased-commits.md / deploy-cli.md

探索手順

タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:

  1. 下記マッピング表でタスクに対応するカテゴリを探す
  2. そのカテゴリの references/{category}/README.md を参照して目的のページを特定する
  3. 該当ページの .md を Read して詳細を確認する
  4. 実コードが必要なら samples/README.md、コマンドが必要なら scripts/README.md を引く

タスク → カテゴリ マッピング

タスクカテゴリ参照 README
CLI (vite / vite build / vite preview)、scaffold、公式プラグイン、@vitejs/plugin-legacy を知りたいgetting-startedreferences/getting-started/README.md
vite.config の書き方、root / base / mode、resolve.alias、define、css.*、futureconfig-sharedreferences/config-shared/README.md
server.proxy / server.hmr / server.fs / middlewareMode、optimizeDeps.*、preview.*config-devreferences/config-dev/README.md
build.target / build.lib / build.manifest / build.rolldownOptions / build.sourcemap / worker.*config-buildreferences/config-build/README.md
CSS・TypeScript・JSON・import.meta.glob・HMR・Web Workers・WASM・依存プリバンドルfeaturesreferences/features/README.md
.env と import.meta.env、モード、public ディレクトリ、アセット URL インポートassets-envreferences/assets-env/README.md
本番ビルドの調整、library mode、multi-page、base、Netlify / Vercel / GitHub Pages 等へのデプロイ、backend integrationbuild-deployreferences/build-deploy/README.md
SSR 構成、SSR dev server、SSR 本番ビルド、ssr.*、externals、プリレンダリング (SSG)ssrreferences/ssr/README.md
createServer / build / preview / resolveConfig / loadEnv / mergeConfig をコードから使うjavascript-apireferences/javascript-api/README.md
プラグイン作成、config / configureServer / transformIndexHtml hook、import.meta.hot API、仮想モジュールplugin-apireferences/plugin-api/README.md
Environment API、DevEnvironment、ModuleRunner、environments 設定、buildApp / createBuilderenvironment-apireferences/environment-api/README.md
v7 から v8 への移行、breaking changes、トラブルシュート、性能改善migration-troubleshootingreferences/migration-troubleshooting/README.md
典型的な使い方を知りたいsamplessamples/README.md
インストール・CLI コマンドを知りたいscriptsscripts/README.md

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

AMD ROCm / HIP GPU コンピューティングリファレンス。 hipMalloc, hipLaunchKernelGGL, HIP Graph, hipGreenCtx, HIPRTC, hipify, rocBLAS, MIOpen, RCCL, hipThreads, libhipcxx, rocprofv3, amd-smi, rocminfo, TheRock / Core SDK 10, CDNA1-4 / RDNA1-4, MI300 / MI350 / MI350P, gfx942, Matrix Core, wave32/64。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

Android アプリ開発 (Kotlin) の推奨アーキテクチャリファレンス。 Jetpack, androidx, UI layer, Domain layer, Data layer, state holder, UDF, SSOT, オフラインファースト, モジュール化, ViewModel, viewModelScope, SavedStateHandle, Lifecycle, repeatOnLifecycle, collectAsStateWithLifecycle, LiveData, Hilt による DI, Paging 3 によるページング処理。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

Android アプリ開発 (Kotlin) のバックグラウンド・非同期処理リファレンス。 Jetpack androidx WorkManager: Worker, CoroutineWorker, WorkRequest, Constraints, WorkInfo, WorkContinuation, expedited work, テスト。 Service: フォアグラウンドサービス, バウンドサービス, AIDL, Messenger。 AlarmManager, PendingIntent, BroadcastReceiver, JobScheduler, Doze。 Kotlin コルーチン, Flow, StateFlow, SharedFlow, Channel。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

Android アプリ開発 (Kotlin) の Gradle ビルドシステムリファレンス。 Android Gradle Plugin (AGP), Kotlin DSL (build.gradle.kts), version catalog, KSP, R8/ProGuard, App Bundle, baseline profile。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

Android Jetpack Compose (Kotlin) の androidx Material3 コンポーネントリファレンス。 Button, IconButton, FloatingActionButton, Checkbox, Switch, Slider, TextField, SearchBar, DropdownMenu, Chip, DatePicker, TimePicker, Card, Scaffold, Dialog, BottomSheet, TopAppBar, NavigationBar, NavigationRail, Tab, Snackbar, ProgressIndicator, Badge, Icon, MaterialTheme, ColorScheme, Typography, Shapes。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

Android Jetpack Compose (Kotlin) のアニメーション・描画リファレンス。 androidx.compose.animation / graphics API。 AnimatedVisibility, AnimatedContent, animate*AsState, Animatable, AnimationSpec, Canvas, DrawScope, Brush, Path, Color, Image。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

See all skills by Fandhe-AI

Report a problem with this skill