vite-plus-conventions

vite+ 统一 TypeScript 工具链约定:vp CLI 用于包与节点管理,oxlint/oxfmt 进行类型感知的代码检查与格式化,vitest 作为测试框架,rolldown/tsdown 负责打包,并支持任务缓存与迁移。用于在配置或审查 vite+ TypeScript 工具链时加载这些约定。

仓库最近推送
GitHub Stars
182
Forks
19
Issues / PRs
2

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "vite-plus-conventions":https://skillpi.com/zh/skills/deepskill-9a0d8888734259042fabe1629a6a0c7249df6fae16f0f84c3d13ecbfdda350b0。安装前核对上游来源和版本:https://github.com/Goldziher/ai-rulez。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

vite+ 统一 TypeScript 工具链约定:vp CLI 用于包与节点管理,oxlint/oxfmt 进行类型感知的代码检查与格式化,vitest 作为测试框架,rolldown/tsdown 负责打包,并支持任务缓存与迁移。用于在配置或审查 vite+ TypeScript 工具链时加载这些约定。

0 下载

介绍来源: third_party · Goldziher · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
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+.

版本历史

  1. v5.15.0 GitHub ↗
    原版更新说明

    ## 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 ↗
    原版更新说明

    ## 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 ↗
    原版更新说明

    ## 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 ↗
    原版更新说明

    ## 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 ↗
    原版更新说明

    ## 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

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值78/100

亮点

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

亮点

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

待提升项

  • 缺少独立 When to Use 章节 原报告严重程度:轻微

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

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

执行可靠95/100

亮点

  • 所有推荐工具和命令均为真实存在且参数设计合理
  • 提供完整的迁移路径和 CI 集成方案,执行路径清晰可靠
证据可验 (前四项均值)88/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

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

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • viteplus.dev

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。