Agent Skillsvoidzero-dev/vite-plus › sync-upstream-dependency-docs

sync-upstream-dependency-docs

GitHub

同步 Vite+ 文档中上游依赖(如 Vitest)的精确版本,确保与自动化升级后的包版本一致。

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

Trigger Scenarios

上游依赖版本发生变更 需要更新文档中的精确版本号

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. In particular, keep every exact Vitest pin in the manual-migration examples in sync, including docs/guide/migrate.md, README.md, and packages/cli/README.md when those examples are present.
  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

  • 8917f4a Current 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
8917f4a
Hash
ffd5783a
Indexed
2026-08-15 03:00

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-15 10:49
浙ICP备14020137号-1 $お客様$