vite-impl-migration

vite-impl-migration is a skill for Claude Code from OpenAEC-Foundation/OpenAEC-Workspace-Composer. It costs 138 tokens per session (2,754 once invoked), scanned A, original, MIT.

A Vite upgrade reference for checking version-specific changes when moving between major releases. Vite is a tool that develops and builds JavaScript web applications.

In plain words
What is it for?
Use it when upgrading Vite, handling deprecated APIs, or investigating breaking changes between Vite versions.
Why use it?
It helps avoid using settings or APIs that a newer Vite version has removed or replaced, including incompatible Node.js requirements.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Good fit Use it when upgrading Vite, handling deprecated APIs, or investigating breaking changes between Vite versions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openaec-foundation/openaec-workspace-composer/vite-impl-migration
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OpenAEC-Foundation/OpenAEC-Workspace-Composer --skill vite-impl-migration
Clone the repo
git clone --depth 1 https://github.com/OpenAEC-Foundation/OpenAEC-Workspace-Composer

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vite-impl-migration

README.md
[![agentmods](https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/vite-impl-migration/github.svg)](https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/vite-impl-migration)
Your own site
<a href="https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/vite-impl-migration"><img src="https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/vite-impl-migration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vite-impl-migration

Your own site · 80×15
<a href="https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/vite-impl-migration"><img src="https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/vite-impl-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,754 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00138 $0.02754
Opus 5.5 $0.00055 $0.01102
Sonnet 5.5 $0.00028 $0.00551
Haiku 4.5 $0.00014 $0.00275

Measured 3mo ago against content hash 6dafc6b6e1e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vite-impl-migration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/vite/vite-impl/vite-impl-migration/SKILL.md · 359 lines

How it starts

The opening of the file, as written. The whole thing — 359 lines — stays where its author put it; the contents beside it link to each section on GitHub.

vite-impl-migration

Quick Reference

Version Requirements

Version Node.js Requirement Production Bundler Dev Transform CSS Minifier
Vite 5 18+ Rollup esbuild esbuild
Vite 6 18+ Rollup esbuild esbuild / Lightning CSS
Vite 7 20.19+ / 22.12+ Rollup esbuild esbuild / Lightning CSS
Vite 8 20.19+ / 22.12+ Rolldown Oxc Lightning CSS

build.target Defaults Per Version

Version Default build.target
Vite 5 'modules' (es2020)
Vite 6 'modules' (es2020)
Vite 7 'baseline-widely-available' (chrome107, edge107, firefox104, safari16.0)
Vite 8 'baseline-widely-available' (chrome111, edge111, firefox114, safari16.4)

Critical Warnings

NEVER upgrade Vite major versions without checking Node.js compatibility first. Vite 7+ drops Node.js 18 support entirely.

NEVER use build.rollupOptions in Vite 8 -- it is deprecated and mapped internally. ALWAYS use build.rolldownOptions instead.

NEVER use esbuild config in Vite 8 for new projects -- it is deprecated and converted to oxc internally. ALWAYS use the oxc config option.

NEVER use api: 'legacy' for Sass in Vite 7+ -- the legacy Sass API is completely removed. ALWAYS use the modern Sass API.

NEVER use the object form of output.manualChunks in Vite 8 -- it has been removed. ALWAYS use the function form.

ALWAYS add moduleType: 'js' in plugin load/transform hooks when returning non-JS content in Vite 8. Omitting this causes silent failures.

ALWAYS handle BundleError when using the build() API in Vite 8. Raw errors are no longer thrown.


Decision Tree: Which Migration Path?

Upgrading Vite?
├── From v5 → v6?
│   ├── Using Sass? → Switch to modern API (api: 'modern-compiler')
│   ├── Using PostCSS TS config with ts-node? → Switch to tsx or jiti
│   ├── Using json.stringify: true/false? → Review: default is now 'auto'
│   └── Using resolve.conditions? → Review new defaults
│
├── From v6 → v7?
│   ├── On Node.js 18? → MUST upgrade to Node.js 20.19+ or 22.12+
│   ├── Using splitVendorChunkPlugin? → Remove it, use manual chunking
│   ├── Using Sass legacy API? → MUST migrate to modern API
│   └── Using hook-level enforce on transformIndexHtml? → Move to plugin-level
│
├── From v7 → v8?
│   ├── Using build.rollupOptions? → Rename to build.rolldownOptions
│   ├── Using esbuild config? → Rename to oxc config
│   ├── Writing plugins with load/transform? → Add moduleType: 'js'
│   ├── Using object manualChunks? → Convert to function form
│   ├── Using import.meta.url in UMD/IIFE? → Find alternative
│   └── Catching build() errors? → Handle BundleError type
│
└── Multi-version jump (v5 → v8)?
    → Apply changes sequentially: v5→v6, v6→v7, v7→v8

Read the full file on GitHub · 359 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 359 lines · 138 tokens per session scan A 6dafc6b6e1e6

Subscribe to this mod's changes

vite-impl-migration is a skill published in the GitHub repository OpenAEC-Foundation/OpenAEC-Workspace-Composer (8 stars, last pushed 2mo ago), licensed MIT. It adds 138 tokens to every session and 2,754 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

vite-impl-migration compared with skills from other repositories

vite-impl-migration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vite-impl-migrationOpenAEC-Foundation/OpenAEC-Workspace-ComposerSkill82mo agoMITA138Claude Code
massing-bimibuilder/massingSkill14011d agoMITA90Claude Code, Codex
naviscoord-setupHorizunGroup/naviscoord-mcpSkill2322d agoMITA50Claude Code
aios-archArchSightLabs/archsight-aiosSkill372mo agoApache-2.0A57Claude Code, Codex
aios-productArchSightLabs/archsight-aiosSkill372mo agoApache-2.0A76Claude Code, Codex
aios-tender-writeArchSightLabs/archsight-aiosSkill372mo agoApache-2.0A59Claude Code, Codex
aios-construction-schemeArchSightLabs/archsight-aiosSkill372mo agoApache-2.0A58Claude Code, Codex