uniapp-vue3-template: Skill for Claude Code

.agents/skills/vite/SKILL.md

vite is a skill for Claude Code, Codex from oyjt/uniapp-vue3-template. It costs 36 tokens per session (689 once invoked), scanned A, original, MIT.

Guidance for using Vite, a tool that runs a frontend development server and builds web projects for production. It covers configuration, plugins, TypeScript, CSS, assets, environment variables, and hot module replacement, which updates the page as you edit code.

In plain words
What is it for?
Use it when configuring Vite, adding plugins, handling assets or environment variables, running the dev server, or building a frontend application.
Why use it?
It helps avoid mistakes when setting up the development server, processing project files, or preparing a production build.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is oyjt/uniapp-vue3-template's own configuration. It tells Claude Code and Codex how to work on uniapp-vue3-template itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything uniapp-vue3-template configures →

Reuse

Borrowing it

Nothing to install: this file belongs to oyjt/uniapp-vue3-template. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/oyjt/uniapp-vue3-template/main/.agents/skills/vite/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/oyjt/uniapp-vue3-template

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oyjt/uniapp-vue3-template/vite"><img src="https://agentmods.dev/badge/skills/oyjt/uniapp-vue3-template/vite.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 689 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 30
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
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.00036 $0.00689
Opus 5.5 $0.00014 $0.00276
Sonnet 5.5 $0.00007 $0.00138
Haiku 4.5 $0.00004 $0.00069

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

Security

Grade A, and why

vite 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • vite — 100% identical, 0 lines differ
.agents/skills/vite/SKILL.md · 51 lines

How it starts

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

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

Topic Description Reference
Configuration Config file setup, defineConfig, conditional and async configs core-config
CLI Commands Dev server, build, preview commands and options core-cli
Core Features TypeScript, JSX, CSS, HTML processing, JSON handling core-features
Using Plugins Adding, configuring, and ordering plugins core-plugins

Features

Topic Description Reference
CSS Handling CSS modules, pre-processors, PostCSS, Lightning CSS features-css
Static Assets Asset imports, public directory, URL handling features-assets
Glob Import import.meta.glob, dynamic imports, batch loading features-glob-import
Environment Variables .env files, modes, import.meta.env constants features-env
HMR API Hot Module Replacement client API features-hmr
Web Workers Worker imports and configuration features-workers
Dependency Pre-Bundling optimizeDeps, caching, monorepo setup features-dep-bundling

Build

Topic Description Reference
Production Build Build options, browser targets, multi-page apps build-production
Library Mode Building libraries with proper package exports build-library
SSR Server-side rendering setup and configuration build-ssr

Read the full file on GitHub · 51 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. 1mo ago First seen · 51 lines · 36 tokens per session scan A 996d3a8c7e55

Subscribe to this mod's changes

vite is a skill published in the GitHub repository oyjt/uniapp-vue3-template (628 stars, last pushed 11d ago), licensed MIT. It adds 36 tokens to every session and 689 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

chags

Use when building or extending CHAGS (Chinese Historical Anecdotes Game Series): each Chinese historical anecdote is one small kids game built with Phaser 4.2 inside a Vue 3.5 + Pinia shell (TypeScript 5.9.3, Vite 8, pnpm workspace, zh/en bilingual). Covers the GameModule/GameContext contract, gameplay template…

znlgis/opengis-skills · 114 tokens

map-360-demo

Use when exploring, running or extending map-360-demo — a Vue 3 + Vite + TypeScript frontend demo that bidirectionally links Photo Sphere Viewer v5 panoramas (equirectangular and cubemap) with a Leaflet plan map. Covers virtual tour arrows, marker CRUD with search and JSON import/export, panorama-yaw to GPS coordinate…

znlgis/opengis-skills · 87 tokens

openlayers-vue3-demo

Use when building OpenLayers maps with Vue 3 declarative components (vue3-openlayers) — WMS tile layers, dynamic layer trees loaded from the GeoServer REST API, layer-switcher/zoom/scale-line/context-menu controls, and a Vite dev proxy injecting Basic auth. Bilibili livestream demo for a one-map GIS dashboard on…

znlgis/opengis-skills · 84 tokens

admin-net-frontend

Use when building Vue 3 admin dashboard frontends with dynamic routing, permission-based menus, and CRUD page generation. Admin.NET Frontend: Vue 3 + Vite + TypeScript admin UI for Admin.NET backend.

znlgis/opengis-skills · 49 tokens

demos-skills

Use when building or studying Vue 3 frontend map/panorama demo projects — 360° panorama to Leaflet map linkage, Tianditu dashboards, OpenLayers + Dify smart-water frontend, and vue3-openlayers + GeoServer layer trees. Index of 4 skills: map-360-demo, vue3-map-dashboard, ai-water-front, openlayers-vue3-demo.

znlgis/opengis-skills · 83 tokens

vue

Vue 3 - Progressive JavaScript framework with Composition API, reactivity system, single-file components, Vite integration, TypeScript support.

bobmatnyc/claude-mpm-skills · 29 tokens