Agent Skills › voidzero-dev/vite-plus › sync-upstream-dependency-docs

sync-upstream-dependency-docs

GitHub

同步 Vite+ 文档中嵌入的上游依赖精确版本,确保与当前捆绑版本一致。适用于 Vite、Vitest 等工具包版本变更时更新相关文档引用。

.claude/skills/sync-upstream-dependency-docs/SKILL.md voidzero-dev/vite-plus

Trigger Scenarios

上游依赖(如 Vite, Vitest)版本发生变更 需要更新文档中的精确版本号以匹配当前构建

Install

npx skills add voidzero-dev/vite-plus --skill sync-upstream-dependency-docs -g -y
More Options

Non-standard path

npx skills add https://github.com/voidzero-dev/vite-plus/tree/main/.claude/skills/sync-upstream-dependency-docs -g -y

Use without installing

npx skills use voidzero-dev/vite-plus@sync-upstream-dependency-docs

指定 Agent (Claude Code)

npx skills add voidzero-dev/vite-plus --skill sync-upstream-dependency-docs -a claude-code -g -y

安装 repo 全部 skill

npx skills add voidzero-dev/vite-plus --all -g -y

预览 repo 内 skill

npx skills add voidzero-dev/vite-plus --list

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

  1. Read $UPGRADE_DEPS_META_DIR/versions.json and consider only entries whose old and new values differ.
  2. Search README.md, packages/*/README.md, and docs/**/*.md for each changed package name and its old exact version. Do not treat changelogs, RFC examples, snapshots, or broad ranges such as vitest@4.x as current-version references.
  3. Update references that promise to match Vite+'s currently bundled version. Manual-installation examples use placeholders for the vite-plus and Vitest versions, so they do not need updates.
  4. Preserve the surrounding wording and formatting. Do not rewrite examples whose version is intentionally historical or illustrative.
  5. 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

  • 474a534 Current 2026-10-19 02:10

    移除对 docs/guide/local-cli.md 等文件中手动安装示例版本的强制同步要求,改为使用占位符以保持与实际安装版本一致。

  • f1d3aef 2026-09-22 07:46

    将手动迁移示例的同步范围从 migrate.md 调整为本地 CLI 和全局 CLI 升级指南文件。

  • 8917f4a 2026-08-15 03:00

Same Skill Collection

.claude/skills/add-ecosystem-ci/SKILL.md
.claude/skills/bump-vite-task/SKILL.md
.claude/skills/release-manager/SKILL.md
.claude/skills/spawn-process/SKILL.md
.claude/skills/sync-tsdown-cli/SKILL.md
.claude/skills/sync-upstream-cli-help/SKILL.md
.claude/skills/test-pkg-pr-new-migrate/SKILL.md
.claude/skills/verify-interactive-cli/SKILL.md

Metadata

Files
0
Version
474a534
Hash
ccd18cc5
Indexed
2026-08-15 03:00

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-27 03:11
浙ICP备14020137号-1