chatgpt-vue3-light-mvp: Skill for Claude Code

.pi/skills/vite/SKILL.md

vite is a skill for Claude Code, Codex from pdsuwwz/chatgpt-vue3-light-mvp. It costs 49 tokens per session (656 once invoked), scanned A, a copy of vite, MIT.

A guide to configuring Vite, a tool that runs a fast development server and prepares web code for production. It covers Vite configuration files, plugins, server-rendered apps, libraries, and the Vite 8 move to the Rolldown bundler.

In plain words
What is it for?
Use it when editing vite.config.ts, creating Vite plugins, building libraries, or setting up server-side rendering. It also covers environment settings, asset imports, hot updates during development, and Vite 8 migration.
Why use it?
It helps developers choose and write the right Vite settings without searching through scattered documentation. It also explains changes needed when moving to Vite 8.

Skill for Claude CodeCodex

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

This is pdsuwwz/chatgpt-vue3-light-mvp's own configuration. It tells Claude Code and Codex how to work on chatgpt-vue3-light-mvp 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 chatgpt-vue3-light-mvp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pdsuwwz/chatgpt-vue3-light-mvp. 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/pdsuwwz/chatgpt-vue3-light-mvp/main/.pi/skills/vite/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pdsuwwz/chatgpt-vue3-light-mvp

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/pdsuwwz/chatgpt-vue3-light-mvp/vite/github.svg)](https://agentmods.dev/skills/pdsuwwz/chatgpt-vue3-light-mvp/vite)
Your own site
<a href="https://agentmods.dev/skills/pdsuwwz/chatgpt-vue3-light-mvp/vite"><img src="https://agentmods.dev/badge/skills/pdsuwwz/chatgpt-vue3-light-mvp/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/pdsuwwz/chatgpt-vue3-light-mvp/vite"><img src="https://agentmods.dev/badge/skills/pdsuwwz/chatgpt-vue3-light-mvp/vite.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 656 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 100% copy Near-identical to another mod 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.00049 $0.00656
Opus 5 $0.00024 $0.00328
Sonnet 5 $0.00010 $0.00131
Haiku 4.5 $0.00005 $0.00066

Measured 13d ago against content hash 3cb7a75336e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 13d 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

This is a copy

100% identical to vite — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.pi/skills/vite/SKILL.md · 73 lines

How it starts

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

Vite

Based on Vite 8 beta (Rolldown-powered). Vite 8 uses Rolldown bundler and Oxc transformer.

Vite is a next-generation frontend build tool with fast dev server (native ESM + HMR) and optimized production builds.

Preferences

  • Use TypeScript: prefer vite.config.ts
  • Always use ESM, avoid CommonJS

Core

Topic Description Reference
Configuration vite.config.ts, defineConfig, conditional configs, loadEnv core-config
Features import.meta.glob, asset queries (?raw, ?url), import.meta.env, HMR API core-features
Plugin API Vite-specific hooks, virtual modules, plugin ordering core-plugin-api

Build & SSR

Topic Description Reference
Build & SSR Library mode, SSR middleware mode, ssrLoadModule, JavaScript API build-and-ssr

Advanced

Topic Description Reference
Environment API Vite 6+ multi-environment support, custom runtimes environment-api
Rolldown Migration Vite 8 changes: Rolldown bundler, Oxc transformer, config migration rolldown-migration

Quick Reference

CLI Commands

vite              # Start dev server
vite build        # Production build
vite preview      # Preview production build
vite build --ssr  # SSR build

Common Config

import { defineConfig } from 'vite'

export default defineConfig({
  plugins: [],
  resolve: { alias: { '@': '/src' } },
  server: { port: 3000, proxy: { '/api': 'http://localhost:8080' } },
  build: { target: 'esnext', outDir: 'dist' },
})

Official Plugins

  • @vitejs/plugin-vue - Vue 3 SFC support
  • @vitejs/plugin-vue-jsx - Vue 3 JSX
  • @vitejs/plugin-react - React with Oxc/Babel
  • @vitejs/plugin-react-swc - React with SWC
  • @vitejs/plugin-legacy - Legacy browser support

Read the full file on GitHub · 73 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. 13d ago First seen · 73 lines · 49 tokens per session scan A 3cb7a75336e3

Subscribe to this mod's changes

vite is a skill published in the GitHub repository pdsuwwz/chatgpt-vue3-light-mvp (574 stars, last pushed 1mo ago), licensed MIT. It adds 49 tokens to every session and 656 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to vite, differing in 0 lines, and is treated as a copy.