vite-docs

vite-docs is a skill for Claude Code, Codex from pledgeandgrow/pledge-skills. It costs 117 tokens per session (988 once invoked), scanned A, original, MIT.

A reference guide to Vite, a tool that runs a frontend development server and builds web applications for production.

In plain words
What is it for?
Use it to start projects, configure development servers, build and deploy sites, manage static assets, proxy APIs, or troubleshoot Vite setups.
Why use it?
It helps coding agents configure plugins, assets, environment variables, server-side rendering, and deployment without confusing development behavior with production output.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to start projects, configure development servers, build and deploy sites, manage static assets, proxy APIs, or troubleshoot Vite setups.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pledgeandgrow/pledge-skills/vite
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 pledgeandgrow/pledge-skills --skill vite
Clone the repo
git clone --depth 1 https://github.com/pledgeandgrow/pledge-skills

Made for: Claude Code, Codex.

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-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/vite/github.svg)](https://agentmods.dev/skills/pledgeandgrow/pledge-skills/vite)
Your own site
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/vite"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/vite/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-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/vite"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/vite.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 988 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.00117 $0.00988
Opus 5 $0.00059 $0.00494
Sonnet 5 $0.00023 $0.00198
Haiku 4.5 $0.00012 $0.00099

Measured 7d ago against content hash 8ce6f73d3401, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

vite-docs 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 7d 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.

skills/vite/SKILL.md · 101 lines

How it starts

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

Vite

Vite is a next-generation frontend build tool that provides a fast development server and optimized production builds. It uses native ES modules for dev and Rolldown for production bundling.

Version: Vite 8.x (Rolldown-based, Oxc transformer)


Quick Reference

Topic File
Getting Started (scaffolding, CLI, project root) getting-started.md
Philosophy (why Vite, design principles) philosophy.md
Features (HMR, CSS, TypeScript, JSX, Web Workers, WASM) features.md
CLI (commands, options, flags) cli.md
Using Plugins (adding, finding, ordering) plugins.md
Dependency Pre-Bundling (caching, customization) dep-pre-bundling.md
Static Asset Handling (imports, public dir, URL) assets.md
Building for Production (chunking, multi-page, library mode) build.md
Deploying a Static Site (GitHub Pages, Netlify, Vercel, Cloudflare) deploy.md
Env Variables and Modes (.env files, NODE_ENV) env-and-mode.md
Server-Side Rendering (SSR config, SSG) ssr.md
Backend Integration (API proxying, monorepo) backend-integration.md
Troubleshooting (common issues, fixes) troubleshooting.md
Performance (optimization, tuning) performance.md
Migration from v7 (breaking changes, Rolldown) migration.md
Plugin API (hooks, authoring plugins) plugin-api.md
HMR API (hot.accept, hot.dispose, hot.invalidate) hmr-api.md
JavaScript API (createServer, build, transform) javascript-api.md
Config Reference (vite.config.ts full reference) config-reference.md
Environment API (instances, plugins, runtimes) environment-api.md

Core Concepts

  • Dev Server: Native ESM-based dev server with instant server start and HMR
  • Build: Rolldown-based production bundling with code splitting and tree-shaking
  • HMR: Hot Module Replacement over native ESM — precise updates without page reload
  • Plugins: Rollup-compatible plugin system with Vite-specific hooks
  • Dependency Pre-Bundling: Pre-bundles dependencies with Rolldown for fast cold starts
  • Environment API: Multi-environment support (client, SSR, worker, custom runtimes)

Read the full file on GitHub · 101 lines

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. 7d ago First seen · 101 lines · 117 tokens per session scan A 8ce6f73d3401

Subscribe to this mod's changes

vite-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 117 tokens to every session and 988 once invoked, about $0.0006 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-09-03.

Related

Other skills, from other repositories

vitejs-expert

Expert knowledge in Vite build tooling, native ESM dev servers, Hot Module Replacement, Rollup-based production builds, and the Vite plugin ecosystem for React, Vue, Svelte, and library projects. Use when the user mentions Vite, vite.config, HMR, ESM dev server, Rollup, or Vitest, or when the task involves Vite…

personamanagmentlayer/pcl · 93 tokens

vite-advanced

Advanced Vite 8 patterns including Rolldown-powered builds, advancedChunks, Environment API, plugin development, SSR configuration, library mode, and build optimization. Use when customizing build pipelines, creating plugins, or configuring multi-environment builds.

yonatangross/orchestkit · 52 tokens

tsdown-migrate

Migrate TypeScript library projects from tsup to tsdown. Provides complete option mappings, config transformation rules, default value differences, and unsupported option alternatives so AI agents can intelligently perform migrations.

rolldown/tsdown · 43 tokens

tsdown

Bundle TypeScript and JavaScript libraries with blazing-fast speed powered by Rolldown. Use when building libraries, generating type declarations, bundling for multiple formats, or migrating from tsup.

rolldown/tsdown · 41 tokens

bundler

JavaScript module bundlers reference. Covers Vite config and dev server, esbuild CLI and API, Webpack 5 with loaders and plugins, Rollup for libraries, Rspack, code splitting, tree shaking, HMR, and source maps.

bytesagain/ai-skills · 55 tokens

slidev

Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features. Use when building technical presentations, conference talks, code walkthroughs, teaching materials, or developer decks.

slidevjs/slidev · 51 tokens