Agent Skills › krl-gr/upcomputer › dependency-maintenance

dependency-maintenance

GitHub

管理项目依赖维护,涵盖添加、升级依赖及构建工具。执行发现、包内或协调升级分支策略,运行安装与验证检查,确保版本兼容性与锁文件一致性。

.repos/effect-smol/.agents/skills/dependency-maintenance/SKILL.md krl-gr/upcomputer

触发场景

添加新依赖 升级现有依赖 更改 pnpm 或 JavaScript 运行时 更新 TypeScript 或构建测试工具

安装

npx skills add krl-gr/upcomputer --skill dependency-maintenance -g -y
更多选项

非标准路径

npx skills add https://github.com/krl-gr/upcomputer/tree/main/.repos/effect-smol/.agents/skills/dependency-maintenance -g -y

不安装直接使用

npx skills use krl-gr/upcomputer@dependency-maintenance

指定 Agent (Claude Code)

npx skills add krl-gr/upcomputer --skill dependency-maintenance -a claude-code -g -y

安装 repo 全部 skill

npx skills add krl-gr/upcomputer --all -g -y

预览 repo 内 skill

npx skills add krl-gr/upcomputer --list

SKILL.md

Frontmatter
{
    "name": "dependency-maintenance",
    "description": "Dependency maintenance. Use when adding, moving, or upgrading dependencies, changing pnpm or JavaScript runtimes, updating TypeScript or build\/test tools, or changing native-build policy, patches, or test images."
}

Treat an upgrade as a synchronization task, not a lockfile refresh. Derive versions, commands, and compatibility points from the current repository.

Discover

  1. Read affected manifests and scripts, pnpm-workspace.yaml, setup actions, workflows, test configuration, and compatibility documentation.
  2. Search for the dependency and every current version, range, runtime input, image, engine constraint, patch, and compatibility claim.
  3. Record each match as a development version, tested version, peer range, engine minimum, advertised minimum, or intentionally different constraint.
  4. When adding or moving a manifest entry, read manifest-roles.md before selecting its role.
  5. Select the package-local or coordinated branch and its validation matrix.

Discovery is complete when every match and affected validation surface is accounted for.

Package-local branch

Use this branch only for one dependency in one workspace package when runtime, compiler, package-manager, image, patch, native-build, and shared-tooling policy are unchanged.

Update only the owning manifest and keep peer compatibility independent from the development version tested here. If any coordinated surface appears, switch branches.

This branch is complete when the manifest and lockfile agree, focused checks pass, and every search result is intentionally unchanged or package-local.

Coordinated branch

Read coordinated-upgrades.md, select every applicable row, and update all listed synchronization points before installing. Apply root workflow and generated-file requirements before editing those surfaces, then return here to finish matrix and lockfile review.

Install and finish

Run root pnpm install after all selected edits. Inspect warnings and the semantic lockfile diff for specifiers, resolutions, duplicate transitives, peer changes, integrity, patch hashes, lifecycle scripts, and allowBuilds effects. A successful install alone does not complete this review.

Run the narrowest correctness and performance checks that cover every selected matrix row. Apply the root changeset routing after implementation and focused validation.

The task is complete when repeated repository searches find no unclassified synchronization point, manifest roles and compatibility ranges are intentional, the lockfile has no unexplained churn, and every selected check passes or is reported as not runnable.

版本历史

  • 87ba963 当前 2026-10-18 23:19

同 Skill 集合

.agents/skills/contribution-triage/SKILL.md
.agents/skills/test-t3-app/SKILL.md
.agents/skills/test-t3-mobile/SKILL.md
.repos/effect-smol/.agents/skills/ai-docs/SKILL.md
.repos/effect-smol/.agents/skills/bundle-analysis/SKILL.md
.repos/effect-smol/.agents/skills/changesets/SKILL.md
.repos/effect-smol/.agents/skills/ci-maintenance/SKILL.md
.repos/effect-smol/.agents/skills/effect-development/SKILL.md
.repos/effect-smol/.agents/skills/jsdocs/SKILL.md
.repos/effect-smol/.agents/skills/migration-guidance/SKILL.md
.repos/effect-smol/.agents/skills/package-development/SKILL.md
.repos/effect-smol/.agents/skills/performance-analysis/SKILL.md
.repos/effect-smol/.agents/skills/test-development/SKILL.md
.repos/effect-smol/.agents/skills/vendored-assets/SKILL.md

元信息

文件数
0
版本
87ba963
Hash
70d61f54
收录时间
2026-10-18 23:19

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-20 00:09
浙ICP备14020137号-1