- 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+.
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.
Vite Plus Conventions by goldziher · d8ee6d5
npx skillmds@latest add goldziher/vite-plus-conventions File contents
---name: vite-plus-conventionsdescription: 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.---- Use [vite+](https://viteplus.dev) as the unified TypeScript toolchain. It wraps best-in-class tools behind a single CLI. Configure your entire toolchain in `vite.config.ts` by importing `defineConfig` from `vite-plus`.- Package manager: vite+ auto-detects from `package.json` engine field or lockfile (`pnpm-lock.yaml`, `yarn.lock`, `package-lock.json`, `bun.lock`). Fallback is `pnpm`. Run `vp install`, `vp add <pkg-name>` or `vp remove <pkg-name>` for managing package dependencies.- Node manager: vite+ manages Node.js versions — replaces `nvm`/`fnm`. Run `vp env on` then `vp env install <node-version>` to install Node.js runtime. Run `vp env pin` to pin version.- Linter: `oxlint` via vite+ — a fast Rust-powered alternative to legacy JavaScript linters. Run `vp lint` for linting with TypeScript-aware rules.- Formatter: `oxfmt` via vite+ — a fast alternative to legacy JavaScript formatters. Run `vp fmt` for consistent code formatting.- Type checker: `oxlint` with type-aware linting via vite+ — replaces `tsc --noEmit` for lint-time type checks. Configure it by enabling both `lint.options.typeAware` and `lint.options.typeCheck` in `vite.config.ts`. Run `vp lint` for type-aware linting.- Testing: `vitest` via vite+ — run `vp test` for fast Vite-native testing with HMR, coverage, and snapshot support. Import from `vite-plus/test` instead of `vitest` when writing tests.- Bundler: `rolldown` (Rust-powered Rollup replacement) for Vite apps, `tsdown` for library builds. Run `vp build` for Vite apps or `vp pack` for libraries.- Task runner: vite+ supports task caching for build pipelines. Define tasks in `vite.config.ts` or `package.json` scripts and benefit from incremental builds by using `vp run <task-name>`.- CI integration: use `vp lint`, `vp fmt`, `vp test --coverage`, `vp build`/`vp pack` in CI pipelines.- Migrate from existing tools: vite+ is a drop-in replacement. Run `vp migrate` to migrate your entire toolchain to vite+.
goldziher/ai-rulez/tree/main/internal/builtins/bindings/vite-plus/skills/vite-plus-conventions commit d8ee6d5365
Frequently asked questions
Run npx skillmds@latest add goldziher/vite-plus-conventions in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
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. It is listed under Productivity on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
goldziher (@goldziher) published this skill. Their other Agent Skills are listed on their SkillMD profile.