Agent Skills
› voidzero-dev/vite-plus
› sync-upstream-dependency-docs
sync-upstream-dependency-docs
GitHub同步Vite+文档中嵌入的上游依赖精确版本,确保README、CLI指南等文档中的版本号与当前捆绑版本一致。
Trigger Scenarios
上游依赖(如Vite, Vitest)版本发生变更后
需要更新文档中的精确版本号以匹配当前包版本时
Install
npx skills add voidzero-dev/vite-plus --skill sync-upstream-dependency-docs -g -y
SKILL.md
Frontmatter
{
"name": "sync-upstream-dependency-docs",
"description": "Sync exact upstream dependency versions embedded in Vite+ documentation after the automated dependency upgrade. Use when bundled Vite, Vitest, Oxlint, Oxfmt, tsdown, Rolldown, or related package versions change.",
"allowed-tools": "Read, Grep, Glob, Edit, Bash"
}
Sync upstream dependency docs
- Read
$UPGRADE_DEPS_META_DIR/versions.jsonand consider only entries whoseoldandnewvalues differ. - Search
README.md,packages/*/README.md, anddocs/**/*.mdfor each changed package name and its old exact version. Do not treat changelogs, RFC examples, snapshots, or broad ranges such asvitest@4.xas current-version references. - Update references that promise to match Vite+'s currently bundled version. In
particular, keep every exact Vitest pin in the manual-installation examples in
docs/guide/local-cli.md,README.md, andpackages/cli/README.mdin sync. Project-local upgrade guidance lives indocs/guide/upgrade-project.md;docs/guide/upgrade.mdcovers global CLI upgrades. - Preserve the surrounding wording and formatting. Do not rewrite examples whose version is intentionally historical or illustrative.
- Re-run the searches for the changed packages and inspect the focused diff. No stale exact version may remain in documentation that describes the current bundle.
Version History
-
f1d3aef
Current 2026-09-22 07:46
将手动迁移示例的同步范围从 migrate.md 调整为本地 CLI 和全局 CLI 升级指南文件。
- 8917f4a 2026-08-15 03:00


