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 $0.00018 $0.00345
Sonnet 5 $0.00007 $0.00138
Haiku 4.5 $0.00004 $0.00069

Measured 6d ago against content hash 996d3a8c7e55, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 6d 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. 6d 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 (626 stars, last pushed 3mo ago), licensed MIT. It adds 36 tokens to every session and 689 once invoked, about $0.0002 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

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

v3-create-crud

A page generator for standard create, read, update, and delete screens, commonly called CRUD screens. It uses Element Plus, a Vue user-interface library, to build tables, searches, pagination, forms, and delete confirmations.

un-pany/v3-admin-vite · 108 tokens

v3-upsert-store

A workflow for creating or updating Pinia stores, which are shared state modules in Vue applications. It requires the store name, state fields, types, initial values, persistence choices, and actions.

un-pany/v3-admin-vite · 83 tokens

v3-use-composables

Documentation for reusable Vue functions in a project, covering device detection, asynchronous dropdown data, loading screens, pagination, routing, themes, page titles, and watermarks.

un-pany/v3-admin-vite · 137 tokens

native-to-weapp-vite-wevu-migration

A step-by-step guide for gradually moving native WeChat, Alipay, or Douyin mini-programs to weapp-vite, with an optional later move to Vue single-file components.

weapp-vite/weapp-vite · 106 tokens

weapp-vite-vue-sfc-best-practices

A Chinese-language guide to writing Vue single-file components for weapp-vite mini-program projects. It covers templates, scripts, page metadata, component declarations, and platform differences.

weapp-vite/weapp-vite · 107 tokens