vite-plus-conventions

vite+ unified TypeScript toolchain conventions: vp CLI for package/node management, oxlint/oxfmt for type-aware linting and formatting, vitest as the test framework, rolldown/tsdown for bundling, with support for task caching and migrations. Load these conventions when configuring or reviewing a vite+ TypeScript toolchain.

Last repository push
GitHub Stars
182
Forks
19
Issues / PRs
2

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "vite-plus-conventions" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-9a0d8888734259042fabe1629a6a0c7249df6fae16f0f84c3d13ecbfdda350b0. Verify the upstream source and version against https://github.com/Goldziher/ai-rulez before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

vite+ unified TypeScript toolchain conventions: vp CLI for package/node management, oxlint/oxfmt for type-aware linting and formatting, vitest as the test framework, rolldown/tsdown for bundling, with support for task caching and migrations. Load these conventions when configuring or reviewing a vite+ TypeScript toolchain.

0 Downloads

Introduction source: third_party · Goldziher · 0.0.1 Reference

SkillPi interpretation

Tasks
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.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
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."
  • Use vite+ 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+.

Version history

  1. v5.15.0 GitHub ↗
    Original release notes

    ## What's Changed * chore(deps): bump github.com/parquet-go/parquet-go from 0.32.0 to 0.32.1 in /tools/skillbench by @dependabot[bot] in https://github.com/Goldziher/ai-rulez/pull/597 * chore(deps): bump @astrojs/starlight from 0.42.11 to 0.43.1 in /website by @dependabot[bot] in https://github.com/Goldziher/ai-rulez/pull/595 * feat(plugin): configurable Cursor hook root fallback by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/600 * chore: refresh dependencies, harness names and fix AR005 flag-value false positive by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/601 * chore(release): prepare ai-rulez 5.15.0 by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/602 **Full Changelog**: https://github.com/Goldziher/ai-rulez/compare/v5.14.1...v5.15.0

  2. v5.14.1 GitHub ↗
    Original release notes

    ## What's Changed * fix(config): honor XDG_CACHE_HOME for the user cache by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/592 **Full Changelog**: https://github.com/Goldziher/ai-rulez/compare/v5.14.0...v5.14.1

  3. v5.14.0 GitHub ↗
    Original release notes

    ## What's Changed * chore(deps): bump @astrojs/starlight from 0.42.10 to 0.42.11 in /website by @dependabot[bot] in https://github.com/Goldziher/ai-rulez/pull/576 * fix(harnessnames): refresh copilot and cortex built-ins from their sources by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/583 * fix(config): make the session-start briefing source-aware by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/584 * feat(mcp): expose worktree_setup for agent-created worktrees by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/587 * docs(publish): add a verify-before-install recipe for consumers by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/585 * chore(release): prepare ai-rulez 5.14.0 by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/588 **Full Changelog**: https://github.com/Goldziher/ai-rulez/compare/v5.13.4...v5.14.0

  4. v5.13.4 GitHub ↗
    Original release notes

    ## What's Changed * test(bench): measure native and MCP skill discovery by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/575 * fix(npm): stop the Windows CLI tree when the wrapper exits by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/574 * fix(mcp): improve Claude skill discovery for v5.13.4 by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/577 **Full Changelog**: https://github.com/Goldziher/ai-rulez/compare/v5.13.3...v5.13.4

  5. v5.13.3 GitHub ↗
    Original release notes

    ## What's Changed * ci: keep generated release artifacts out of Git by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/567 * docs: clarify native and MCP skill discovery by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/568 * fix(npm): preserve stdout and forward termination by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/566 * fix(pathglob): preserve Unicode literals by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/569 * fix(semver): validate release age before duration conversion by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/570 * fix(agents): preserve adjacent AGENTS.md sections by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/571 * bench: add paired skill discovery fixture and protocol by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/572 * chore(release): prepare ai-rulez 5.13.3 by @Goldziher in https://github.com/Goldziher/ai-rulez/pull/573 **Full Changelog**: https://github.com/Goldziher/ai-rulez/compare/v5.13.2...v5.13.3

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 提供完整的 TypeScript 工具链整合方案,解决前端开发中的工具碎片化问题
  • 覆盖从包管理到 CI 集成的全流程,具备实际工程落地价值
Trigger Precision92/100

Highlights

  • 触发场景描述清晰明确:'在配置或审查 vite+ TypeScript 工具链时加载'
  • 覆盖配置、审查、迁移等多种使用变体,边界清晰
Structure and Standards85/100

Areas to improve

  • 缺少独立 When to Use 章节 Reported severity: Minor

    文档结构良好但缺少显式的 When to Use 章节

    Recommendation: 建议在 frontmatter 后添加独立的 When to Use 章节以增强可读性

Execution Reliability95/100

Highlights

  • 所有推荐工具和命令均为真实存在且参数设计合理
  • 提供完整的迁移路径和 CI 集成方案,执行路径清晰可靠
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • viteplus.dev

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.