Token导航 LogoToken导航

Agent Skill · 研究检索

upgrade-dependencies-pr(升级依赖 pr)

upgrade-dependencies-pr 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

upgrade-dependencies-pr 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 65,612。

总安装 279周安装 12GitHub Stars 公开资料未说明下载 98核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:upgrade-dependencies-pr(升级依赖 pr)
来源仓库:https://github.com/uwe-schwarz/skills
仓库路径:skills/upgrade-dependencies-pr
安装命令:
npx skills add https://github.com/uwe-schwarz/skills --skill upgrade-dependencies-pr
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/uwe-schwarz/skills --skill upgrade-dependencies-pr

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。适合在需要根据关键词或任务场景快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网或文件读写。注意该技能当前分类为研究检索,功能聚焦依赖升级相关 Pull Request。

来源仓库内路径:skills/upgrade-dependencies-pr

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/uwe-schwarz/skills --skill upgrade-dependencie…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

upgrade-dependencies-pr 怎么安装?

在终端执行 npx skills add https://github.com/uwe-schwarz/skills --skill upgrade-dependencies-pr。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

upgrade-dependencies-pr 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

upgrade-dependencies-pr 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

upgrade-dependencies-pr 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

upgrade-dependencies-pr 用的人多吗?

公开数据是累计安装 279 次,近一周安装 12 次,下载 98 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

upgrade-dependencies-pr 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
upgrade-dependencies-pr

升级依赖 pr · 本页

279—只读未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Upgrade Dependencies PR

Use this skill to take a JavaScript, TypeScript, or Python repository from outdated dependencies to a reviewable dependency-upgrade PR in one pass.

Preconditions

  • Confirm the repository uses Git and GitHub, and that gh is authenticated before attempting issue or PR creation.
  • Stop if the working tree contains unrelated user changes that would be risky to mix into the dependency branch.
  • Detect the ecosystem and package manager from tracked manifests, lockfiles, and workspace config before changing anything.
  • Read references/package-manager-playbook.md after detection and use only the relevant section.

Workflow

1. Inventory the project

  • Find the tracked dependency manifests that actually govern this repo. For JS/TS, inspect package.json files plus lockfiles and workspace config. For Python, inspect pyproject.toml, uv.lock, requirements*.in, requirements*.txt, constraints*.txt, setup.cfg, and setup.py.
  • Identify whether the repo is JS/TS, Python, or mixed. Do not reject a repo just because there is no root package.json; use the manifests that are actually present.
  • Record the current branch, package manager, lockfiles, workspace layout, and available validation commands such as typecheck, lint, test, test:unit, build, pytest, ruff, mypy, and project-specific CI entrypoints.
  • Flag framework- or runtime-critical packages first: frameworks, bundlers, test runners, linters, TypeScript, Node tooling, auth, database clients, SDKs, deployment libraries, Python web frameworks, ORMs, packaging/build backends, and lint/type-check tooling.

2. Create the branch first

  • Create a fresh branch before editing anything. Prefer codex/deps-<project>-<yyyymmdd> unless the repo already uses a different branch convention.
  • Keep the branch scoped to dependency maintenance and directly related upgrade fallout.

3. Upgrade manifests and lockfiles

  • Use the package-manager-specific commands from the reference file to move direct dependencies to their latest published versions.
  • For JS/TS manifests, update entries in dependencies, devDependencies, optionalDependencies, and peerDependencies when the manifest owns those versions. Preserve workspace:, file:, link:, portal:, catalog:, git, URL, and alias specs unless there is a clear reason to change them.
  • For Python manifests, update dependency declarations in project.dependencies, optional-dependency groups, tool-managed dependency groups, requirements*.in, requirements*.txt, and constraints*.txt only when those files are repo-owned sources of truth.
  • Prefer uv for clearly uv-managed repos (uv.lock, tool.uv, or an established uv workflow). For requirements.in / compiled requirements.txt repos, reuse the repo's existing compiler workflow with uv pip compile or pip-compile if present. For hand-maintained requirements.txt repos, update the tracked requirement specifiers directly, then re-install or sync with the repo's existing tool.
  • Preserve editable installs, local paths, VCS requirements, direct URLs, workspace links, and generated file headers unless there is a concrete reason to change them.
  • After the main JS/TS upgrade step, run node <skill-dir>/scripts/unpin-semver-ranges.mjs <repo-root> to convert exact x.y.z specs and any stray latest tags into ranged versions like ^1.2.3. If it updates any manifest, re-run the package manager install or update step so the lockfiles match.
  • After the final JS/TS install or update pass, run node <skill-dir>/scripts/check-no-latest-specifiers.mjs <repo-root>. Do not proceed until it reports that no tracked package.json or lockfile still contains latest.
  • If a JS/TS upgrade introduces peer-dependency warnings or peer-range mismatches, especially around framework, compiler, or toolchain major versions, do not immediately roll the package back. Keep the latest candidate installed long enough to run validation unless the package manager refuses to install or the repo has an explicit no-peer-warning policy.
  • Do not leave exact pinned JS semver strings in package.json files unless the repo explicitly requires exact versions and the user asked to keep them. For Python, preserve the repo's existing pinning strategy unless the user asked to loosen it.

4. Assess relevance before writing the summary

  • Compare manifests and lockfiles before and after the upgrade to get the set of changed packages.
  • For each changed package that has a major bump, is runtime-critical, or is used directly in code or config, inspect official changelogs, migration guides, or release notes. Use primary sources only.
  • Search the codebase for actual package usage before deciding whether a release is relevant to this project.
  • For each package you inspect, explicitly look for newly introduced features, changed defaults, deprecations that became warnings or errors, and new enforced lint, type, compiler, formatting, security, or policy rules. Do not stop at obvious breakages.
  • Every relevant new item you identify must end in one of two states before the PR is opened: adopted in the PR, or tracked in a follow-up GitHub issue with a concrete reason it was deferred.
  • Classify relevance as one of:

- required compatibility work to keep the repo green, - small project-specific cleanup worth doing in the same PR, - optional follow-up or new feature worth tracking separately.

5. Fix required fallout now

  • Apply compatibility fixes that are necessary for installs, builds, tests, or runtime correctness.
  • Also apply very small project-relevant cleanup directly when it is obvious and low risk.
  • If an upgrade introduces a new enforced lint, type, compiler, formatting, security, or policy rule, do not silently disable it just to keep the PR small. Either adopt the rule in this PR, or keep any suppression narrowly scoped and clearly temporary while creating a follow-up issue that names the deferred repo-wide work.
  • Keep fixes tightly coupled to the upgrade. Avoid unrelated refactors.

6. Create follow-up issues for larger or optional work

  • Open a GitHub issue when an upgrade reveals a useful new feature worth adopting later, a migration that is too large for the dependency PR, or cleanup that would materially expand review scope.
  • Open a GitHub issue when an upgrade introduces a new rule, policy, or default that is relevant to this repo but would cause broad churn to adopt fully in the dependency PR.
  • Also open a GitHub issue when the latest version appears viable in code but is still blocked by upstream peer-range declarations or ecosystem support policy, and the dependency PR intentionally holds that package back.
  • Use gh issue create.
  • The issue body should name the package and version jump, explain why it matters to this repo, summarize the deferred work, call out any temporary suppression or scope limitation left in the PR, and link the official source material plus the upgrading PR when available.
  • Do not create issues for noise. File issues only when the package change is genuinely relevant to the project.

7. Verify aggressively

  • Run the smallest complete validation set the repo supports. Prefer the repo's documented CI entrypoint when present. Otherwise use the relevant subset of: typecheck, lint, test, test:unit, build, pytest, ruff check, mypy, pyright.
  • If the repo has a documented CI entrypoint, use it.
  • For JS/TS repos, treat any remaining latest specifier in a tracked manifest or lockfile as a failed verification and fix it before committing.
  • If the only blocker is a peer warning or peer-range mismatch, run the full relevant validation suite against the upgraded version before deciding whether to keep or revert it.
  • If that validation passes, make an explicit decision: either keep the upgraded version despite the warning and document the unsupported-peer state in the PR, or revert it, pin to the highest clearly supported version, and file a follow-up issue describing the upstream blocker and why the repo is intentionally one version behind.
  • If validation fails and the failure is attributable to the unsupported upgrade, revert to the highest clearly supported version and document that decision.
  • If an upgrade breaks validation, fix it if the remediation is required to keep the repository healthy. Do not ship a knowingly broken dependency PR.
  • Before committing, confirm that newly introduced features, defaults, and enforced rules discovered during release-note review were either adopted in the PR or captured in follow-up issues. Do not leave them undocumented.

8. Commit, push, and open the PR

  • Stage only the dependency upgrade work and directly related fixes.
  • Use a commit title like chore(deps): upgrade dependencies to latest.
  • Push the branch and create a PR with gh pr create.
  • Make the PR body include notable package upgrades, required code or config fixes, issues created for deferred relevant work, the validation commands that were run, and any intentionally held-back packages with the reason.
  • If the PR leaves a temporary suppression or narrow opt-out for a new lint, type, compiler, formatting, security, or policy rule, say so explicitly in the PR body and link the follow-up issue.
  • Respect existing issue or PR templates when present.

Decision Rules

  • Prefer primary documentation over blog posts or secondary summaries for release impact.
  • Required compatibility work belongs in the PR. Optional adoption work belongs in an issue.
  • Newly introduced features, defaults, and policy/rule changes must be explicitly triaged. Do not silently ignore them just because validation passes.
  • Peer-dependency warnings are not an automatic rollback. Treat them as a compatibility signal that requires validation and an explicit keep-or-revert decision.
  • When a package only fails declared peer support but passes validation, either keep it with clear PR documentation or revert it and file an issue documenting the upstream blocker. Do not silently hold it back.
  • If a new enforced lint, type, compiler, formatting, security, or policy rule would cause broad repo churn, either implement it in the PR or leave only a clearly temporary, narrowly scoped suppression and file an issue for the remaining work. Never add a silent permanent disable.
  • Never leave JS/TS latest tags in tracked manifests or lockfiles. Convert them back to explicit semver ranges such as ^1.2.3, regenerate the lockfiles, and verify they are gone before opening the PR.
  • If the repo is Python, support uv, pip, and existing pip-tools style compile/sync workflows instead of rejecting it as non-JS.
  • If the repo is mixed-language, use the manifests that are actually in scope for the requested upgrade instead of assuming the root ecosystem.
  • Stop only if the repo is neither JS/TS nor Python, or if it uses dependency tooling that this skill does not yet support cleanly.
  • If GitHub auth, push access, or PR creation is unavailable, finish the local upgrade work and report the blocker clearly.

Scripts

scripts/unpin-semver-ranges.mjs

Normalize exact semver strings and stray latest tags in package.json files to caret ranges while preserving workspace, file, git, URL, alias, and already-ranged specs. Use this only for JS/TS manifests.

Usage:

node /absolute/path/to/upgrade-dependencies-pr/scripts/unpin-semver-ranges.mjs /path/to/repo

scripts/check-no-latest-specifiers.mjs

Fail fast when a tracked JS/TS manifest or lockfile still contains latest after the upgrade flow. Run this after the final install or update pass.

Usage:

node /absolute/path/to/upgrade-dependencies-pr/scripts/check-no-latest-specifiers.mjs /path/to/repo

References

平台分布

Codex

34.85%
按下载量换算34

Claude

31.33%
按下载量换算31

Cursor

20.55%
按下载量换算20

Gemini CLI

10.17%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills