vite-syntax-build

vite-syntax-build is a skill for Claude Code from OpenAEC-Foundation/OpenAEC-Workspace-Composer. It costs 173 tokens per session (2,860 once invoked), scanned A, original, MIT.

A guide to configuring Vite's production build, which turns source code into files ready to deploy. It covers browser targets, output folders, asset handling, code splitting, minification, and source maps.

In plain words
What is it for?
Use it when setting up production builds, choosing supported browsers, splitting code into chunks, configuring minifiers, or generating source maps.
Why use it?
It helps prevent build settings from using the wrong option for the installed Vite version and avoids output that target browsers cannot run.

Skill for Claude Code

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

Good fit Use it when setting up production builds, choosing supported browsers, splitting code into chunks, configuring minifiers, or generating source maps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openaec-foundation/openaec-workspace-composer/vite-syntax-build
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-syntax-build
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-syntax-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/vite-syntax-build/github.svg)](https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/vite-syntax-build)
Your own site
<a href="https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/vite-syntax-build"><img src="https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/vite-syntax-build/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-syntax-build

Your own site · 80×15
<a href="https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/vite-syntax-build"><img src="https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/vite-syntax-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 173 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,860 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.00173 $0.02860
Opus 5 $0.00086 $0.01430
Sonnet 5 $0.00035 $0.00572
Haiku 4.5 $0.00017 $0.00286

Measured 12d ago against content hash 05639dadb043, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

vite-syntax-build 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 12d 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-syntax/vite-syntax-build/SKILL.md · 286 lines

How it starts

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

vite-syntax-build

Quick Reference

Build Tool Chain Per Version

Version Production Bundler Minifier (client) Minifier (SSR) CSS Minifier Config Key
Vite 6 Rollup esbuild false esbuild build.rollupOptions
Vite 7 Rollup esbuild false esbuild/lightningcss build.rollupOptions
Vite 8+ Rolldown oxc false Lightning CSS build.rolldownOptions

Essential Build Options

Option Type Default Version Notes
build.target string | string[] 'baseline-widely-available' v7+ default; v6 used 'modules'
build.outDir string 'dist' All versions
build.assetsDir string 'assets' Not used in Library Mode
build.assetsInlineLimit number | function 4096 (4 KiB) Function form available in all versions
build.cssCodeSplit boolean true All versions
build.cssTarget string | string[] Same as build.target All versions
build.cssMinify boolean | 'lightningcss' | 'esbuild' Same as build.minify v8 defaults to Lightning CSS
build.sourcemap boolean | 'inline' | 'hidden' false All versions
build.minify boolean | 'oxc' | 'terser' | 'esbuild' 'oxc' (v8+), 'esbuild' (v6-v7) See minifier table
build.write boolean true All versions
build.emptyOutDir boolean true if outDir inside root All versions
build.copyPublicDir boolean true All versions
build.reportCompressedSize boolean true Disable for large projects
build.chunkSizeWarningLimit number 500 (KiB, uncompressed) All versions
build.watch WatcherOptions | null null Set {} to enable
build.manifest boolean | string false Generates .vite/manifest.json
build.ssrManifest boolean | string false Generates .vite/ssr-manifest.json
build.ssr boolean | string false All versions
build.license boolean | { fileName? } false v8+ only

Read the full file on GitHub · 286 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. 12d ago First seen · 286 lines · 173 tokens per session scan A 05639dadb043

Subscribe to this mod's changes

vite-syntax-build is a skill published in the GitHub repository OpenAEC-Foundation/OpenAEC-Workspace-Composer (5 stars, last pushed 5mo ago), licensed MIT. It adds 173 tokens to every session and 2,860 once invoked, about $0.0009 per session on Opus 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

Other skills, from other repositories

panel-app-creator

Create or update the Panel UI component of a complete schema v2 NextClaw Mini App or an explicitly loose local Panel. Use after nextclaw-app-creator selects Panel-only or Panel + Service, or for right-side UI, Service Actions, Agent-powered panels, React/Vite panels, and App bridge capability questions.

Peiiii/nextclaw · 70 tokens

gemigo-cli

Use when the user wants to publish an already-built static website or front-end app through GemiGo, such as a Vite/React/Vue static build, plain HTML/CSS/JS page, landing page, demo, docs site, or small browser app, and get a hosted public URL.

Peiiii/nextclaw · 65 tokens

impeccable

Use when the user wants distinctive, production-grade frontend design, anti-generic AI aesthetics, UX critique, technical UI audits, or final polish through bundled Impeccable references and an optional upstream detector CLI.

Peiiii/nextclaw · 47 tokens

color-palette-generator

Create an HTML color palette from a mood, description, or image, with swatches, color codes, pairings, and contrast checks. Use for color schemes or brand colors.

AlpacaLabsLLC/skills-for-architects · 41 tokens

ui-ux-pro-max

Use when the user wants professional UI/UX design guidance, design-system generation, UX review, or stack-specific frontend guidance through a bundled local UI/UX Pro Max dataset and Python search runtime.

Peiiii/nextclaw · 45 tokens

panel-app-react-vite-creator

Create or update an engineering-style NextClaw Panel component with pnpm, Vite, React, TypeScript, and Tailwind CSS, then build it into a static .panel directory inside a schema v2 package or an explicitly loose workspace Panel. Use for modern, reusable, complex, Agent-powered, typed Panel interfaces.

Peiiii/nextclaw · 73 tokens