Agent Skills
› voidzero-dev/vite-plus
› sync-upstream-dependency-docs
sync-upstream-dependency-docs
GitHub同步 Vite+ 文档中上游依赖(如 Vitest)的精确版本,确保与自动化升级后的包版本一致。
Trigger Scenarios
上游依赖版本发生变更
需要更新文档中的精确版本号
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-migration examples in sync,
including
docs/guide/migrate.md,README.md, andpackages/cli/README.mdwhen those examples are present. - 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
- 8917f4a Current 2026-08-15 03:00


