Agent skill

Vite

by oyjt in oyjt/uniapp-vue3-template

Vite next-generation frontend build tool with fast HMR and optimized builds.

MITAuto-check: notesFrontend & Design

Install Vite

skills CLI
$ npx skills add oyjt/uniapp-vue3-template --skill vite -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install oyjt/uniapp-vue3-template vite --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/oyjt/uniapp-vue3-template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.trae/skills/vite .claude/skills/vite && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
vite
GitHub stars
627
Used in
1 other repo
Token cost
~780 tokens
SKILL.md length
220 words
Files
20 (incl. references)
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Vite next-generation frontend build tool with fast HMR and optimized builds.

  • Configuring Vite
  • SKILL.md covers Core, Features, Build and Advanced
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Working with dev server

What it does

Vite is an agent skill from oyjt/uniapp-vue3-template. Vite next-generation frontend build tool with fast HMR and optimized builds. Use when configuring Vite, adding plugins, working with dev server, or building for production.

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. The skill folder holds 20 other files, including reference files (for example `GENERATION.md`, `references/advanced-api.md` and `references/advanced-backend.md`).

It sits in Frontend & Design. It works with Vite and TypeScript. The repository describes itself as: 使用uniapp+vite+vue3+typescript+uview-plus+unocss 搭建的适合团队协作的快速开发模版. The licence is MIT.

When your agent uses it

  • Configuring Vite
  • Working with dev server
  • Building for production

Example prompts

  • “/vite”

What it can do on your machine

Read from SKILL.md and the folder at commit 4d7f307. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Vite loads about 780 tokens when it runs, and up to ~15k if it reads all its reference files. Until then it costs about 44 tokens; SKILL.md has 220 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~780
With references · SKILL.md plus every file in references/, read only if the agent opens them
~15k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:30
    | Environment Variables | .env files, modes, import.meta.env constants | [features-env](references/features-env.md) |

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from oyjt/uniapp-vue3-template at commit 4d7f307, republished under its MIT licence (© oyjt). 220 words, ~780 tokens.

Download SKILL.mdSave it as .claude/skills/vite/SKILL.md (or your agent's skills folder). This skill also uses 19 other files; get the full folder from GitHub.
name
vite
description
Vite next-generation frontend build tool with fast HMR and optimized builds. Use when configuring Vite, adding plugins, working with dev server, or building for production.
metadata.author
Anthony Fu
metadata.version
2026.1.28
metadata.source
Generated from https://github.com/vitejs/vite, scripts located at https://github.com/antfu/skills

Vite is a modern build tool for frontend development featuring instant server start with native ES modules, lightning-fast HMR, and optimized production builds using Rolldown/Rollup. It supports TypeScript, JSX, CSS pre-processors out of the box and has a rich plugin ecosystem.

The skill is based on Vite 6.x, generated at 2026-01-28.

Core

TopicDescriptionReference
ConfigurationConfig file setup, defineConfig, conditional and async configscore-config
CLI CommandsDev server, build, preview commands and optionscore-cli
Core FeaturesTypeScript, JSX, CSS, HTML processing, JSON handlingcore-features
Using PluginsAdding, configuring, and ordering pluginscore-plugins

Features

TopicDescriptionReference
CSS HandlingCSS modules, pre-processors, PostCSS, Lightning CSSfeatures-css
Static AssetsAsset imports, public directory, URL handlingfeatures-assets
Glob Importimport.meta.glob, dynamic imports, batch loadingfeatures-glob-import
Environment Variables.env files, modes, import.meta.env constantsfeatures-env
HMR APIHot Module Replacement client APIfeatures-hmr
Web WorkersWorker imports and configurationfeatures-workers
Dependency Pre-BundlingoptimizeDeps, caching, monorepo setupfeatures-dep-bundling

Build

TopicDescriptionReference
Production BuildBuild options, browser targets, multi-page appsbuild-production
Library ModeBuilding libraries with proper package exportsbuild-library
SSRServer-side rendering setup and configurationbuild-ssr

Advanced

TopicDescriptionReference
JavaScript APIcreateServer, build, preview programmatic APIsadvanced-api
Plugin APICreating Vite plugins, hooks, virtual modulesadvanced-plugin-api
PerformanceOptimization tips for dev server and buildsadvanced-performance
Backend IntegrationIntegrating Vite with traditional backendsadvanced-backend

© oyjt, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 19 other files (references) in .trae/skills/vite of oyjt/uniapp-vue3-template.

  • SKILL.md
  • GENERATION.md
  • references/advanced-api.md
  • references/advanced-backend.md
  • references/advanced-performance.md
  • references/advanced-plugin-api.md
  • references/build-library.md
  • references/build-production.md
  • references/build-ssr.md
  • references/core-cli.md
  • references/core-config.md
  • references/core-features.md
  • references/core-plugins.md
  • references/features-assets.md
  • references/features-css.md
  • references/features-dep-bundling.md
  • references/features-env.md
  • references/features-glob-import.md
  • references/features-hmr.md
  • references/features-workers.md

Open the folder on GitHubat commit 4d7f307

Used in 1 other repository

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in oyjt/uniapp-vue3-template, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Vite next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Vite compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Vite this skilloyjt/uniapp-vue3-template6271 repos~780Automated safety check: NotesMIT
Web Artifacts Builderanthropics/skills180k41 repos~769Automated safety check: PassApache-2.0
Uni Appsonofmagic/uni-app-tailwindcss-template3362 repos~1kAutomated safety check: PassMIT
Design To CodeMigoXLab/coderio1142 repos~1.2kAutomated safety check: PassApache-2.0
Cross Platform Tauri UIifer47/markeron1.2k—~2kAutomated safety check: PassMIT
Vuetify Skilldlogue/vite-vuetify-ts-starter1811 repos~1.9kAutomated safety check: PassMIT

Similar skills

  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 41 repos~769 tokens
    Frontend & DesignAuto-check passed
  • Uni App

    sonofmagic/uni-app-tailwindcss-template

    Comprehensive skill reference for uni-app cross-platform development framework

    336 GitHub starsUsed in 2 repos~1k tokens
    Frontend & DesignAuto-check passed
  • Design To Code

    MigoXLab/coderio

    Pixel-perfect Figma to React conversion using coderio. An agent skill from MigoXLab/coderio.

    114 GitHub starsUsed in 2 repos~1.2k tokens
    Frontend & DesignAuto-check passed
  • Cross-platform UI styling for MarkerOn Tauri app (macOS WKWebView vs Windows WebView2).

    1.2k GitHub stars~2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Vuetify Skilld

    logue/vite-vuetify-ts-starter

    Vue Material Component Framework. An agent skill from logue/vite-vuetify-ts-starter.

    181 GitHub starsUsed in 1 repo~1.9k tokens
    Frontend & DesignAuto-check passed
  • South Admin CRUD Generator

    southliu/south-admin-react

    Generates a full CRUD page - page component, data model and API client - from the south-admin-react project's own VS Code snippet templates.

    580 GitHub stars~1.7k tokensUpdated 18 days ago
    Frontend & DesignAuto-check passed

More from oyjt/uniapp-vue3-template

  • Vue

    oyjt/uniapp-vue3-template

    Vue.js progressive JavaScript framework. An agent skill from oyjt/uniapp-vue3-template.

    627 GitHub starsUsed in 1 repo~783 tokens
    Auto-check passed
  • Vue Best Practices

    oyjt/uniapp-vue3-template

    Vue 3 and Vue.js best practices for TypeScript, vue-tsc, and Volar.

    627 GitHub starsUsed in 3 repos~667 tokens
    Auto-check passed
  • Antfu

    oyjt/uniapp-vue3-template

    Anthony Fu's {Opinionated} preferences and best practices for web development

    627 GitHub stars~1.3k tokensUpdated 4 mo ago
    Auto-check passed

Works with

Questions about Vite

What does Vite do?

Vite next-generation frontend build tool with fast HMR and optimized builds. Vite is an agent skill from oyjt/uniapp-vue3-template. Vite next-generation frontend build tool with fast HMR and optimized builds.

When should I use Vite?

Vite fits situations like: configuring Vite; working with dev server; building for production.

How do I install Vite in Claude Code?

Run `npx skills add oyjt/uniapp-vue3-template --skill vite -a claude-code`. Or copy the skill folder (.trae/skills/vite in oyjt/uniapp-vue3-template) into .claude/skills/vite in your project. Claude Code loads it when a task matches its description.

How do I install Vite in Codex?

Run `npx skills add oyjt/uniapp-vue3-template --skill vite -a codex`. Or copy the skill folder (.trae/skills/vite in oyjt/uniapp-vue3-template) into .agents/skills/vite in your project. Codex loads it when a task matches its description.

Can I use Vite in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add oyjt/uniapp-vue3-template --skill vite -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/vite, .gemini/skills/vite, .github/skills/vite and .opencode/skills/vite in your project.

What does Vite need to run?

SKILL.md names no scripts, command-line tools or credentials: Vite is instructions for the agent only.

Does Vite access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Vite safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Vite use?

Vite is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Vite use?

About 780 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 14k tokens, read only when the agent opens those files.

What are the alternatives to Vite?

Skills that share tags, products or a category with Vite: Web Artifacts Builder (anthropics/skills, 180k stars), Uni App (sonofmagic/uni-app-tailwindcss-template, 336 stars), Design To Code (MigoXLab/coderio, 114 stars) and Cross Platform Tauri UI (ifer47/markeron, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Vite?

oyjt (a GitHub user) maintains it in oyjt/uniapp-vue3-template, which has 627 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on June 4, 2026.

Source: oyjt/uniapp-vue3-template on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.