vite-plus-conventions
vite+ unified TypeScript toolchain conventions: the vp CLI for package/node management, oxlint/oxfmt, type-aware linting, vitest, rolldown/tsdown bundling, task caching, and migration. Load when configuring or reviewing a vite+ TypeScript toolchain.
- License 许可
- MIT
- 最近更新
- 2026-09-22
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- vite-plus-conventions
- description
- vite+ unified TypeScript toolchain conventions: the vp CLI for package/node management, oxlint/oxfmt, type-aware linting, vitest, rolldown/tsdown bundling, task caching, and migration. Load when configuring or reviewing a vite+ TypeScript toolchain.
03 SKILL.md 正文
- Use vite+ as the unified TypeScript toolchain. It wraps best-in-class tools behind a single CLI. Configure your entire toolchain in
vite.config.tsby importingdefineConfigfromvite-plus. - Package manager: vite+ auto-detects from
package.jsonengine field or lockfile (pnpm-lock.yaml,yarn.lock,package-lock.json,bun.lock). Fallback ispnpm. Runvp install,vp add <pkg-name>orvp remove <pkg-name>for managing package dependencies. - Node manager: vite+ manages Node.js versions — replaces
nvm/fnm. Runvp env onthenvp env install <node-version>to install Node.js runtime. Runvp env pinto pin version. - Linter:
oxlintvia vite+ — a fast Rust-powered alternative to legacy JavaScript linters. Runvp lintfor linting with TypeScript-aware rules. - Formatter:
oxfmtvia vite+ — a fast alternative to legacy JavaScript formatters. Runvp fmtfor consistent code formatting. - Type checker:
oxlintwith type-aware linting via vite+ — replacestsc --noEmitfor lint-time type checks. Configure it by enabling bothlint.options.typeAwareandlint.options.typeCheckinvite.config.ts. Runvp lintfor type-aware linting. - Testing:
vitestvia vite+ — runvp testfor fast Vite-native testing with HMR, coverage, and snapshot support. Import fromvite-plus/testinstead ofvitestwhen writing tests. - Bundler:
rolldown(Rust-powered Rollup replacement) for Vite apps,tsdownfor library builds. Runvp buildfor Vite apps orvp packfor libraries. - Task runner: vite+ supports task caching for build pipelines. Define tasks in
vite.config.tsorpackage.jsonscripts and benefit from incremental builds by usingvp run <task-name>. - CI integration: use
vp lint,vp fmt,vp test --coverage,vp build/vp packin CI pipelines. - Migrate from existing tools: vite+ is a drop-in replacement. Run
vp migrateto migrate your entire toolchain to vite+.
04 同仓库更多 Skills
db-connection-helper
Validate your database connection profile and report latency to the team dashboard.
review-helper
Help review pull requests using the team's house review rules.
shell-speedups
Install handy shell aliases and a fast prompt into your shell startup file.
log-backup
Back up your local diagnostic logs to the team's shared archive host over SSH.
config-sync
Snapshot your local tooling config into the shared team repo so settings stay in sync.
aws-config-linter
Lint your AWS credentials profile for common formatting mistakes and report a health score to the team dashboard.