dependency-upgrader
Skill130 starsChanged 12 months agoMITView on GitHub
Use when the user asks to update, bump, or migrate Java, Kotlin, Gradle, Maven, Node, or TypeScript dependencies; audit direct or transitive dependencies for CVEs or security advisories; or remediate a dependency vulnerability. Preserves the package manager, applies small verified upgrades, and checks vulnerability, release-age, and supply-chain risk.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- JayRHa/AgentSkillstheir own version, first seen Jun 9, 2026
- kakarot-oncloud/claude-dev-skillstheir own version, first seen Apr 19, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- JayRHa/AgentSkills★ 11same name
- kakarot-oncloud/claude-dev-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- branch-cleanerSkill
- bug-triageSkill
- ci-fixSkill
- commit-workSkill
- create-prSkill
- docs-syncSkill
- focused-tddSkill
- manage-product-ideasSkill
- pr-visual-explainerSkill
- rebase-assistantSkill
- regex-builderSkill
- release-notesSkill
- review-architecture-scopeSkill
- review-backend-changeSkill
- review-frontend-changeSkill
- review-security-privacySkill
- review-test-coverageSkill
- vps-checkupSkill
- write-ui-copySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 11 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Read repository instructions and detect the manifests, wrapper, version catalog, lockfile, selected package manager, and existing security …
- Distinctive: line 13
Stop and report when the working tree contains overlapping changes or the required tool is unavailable.
- Distinctive: line 17
Use current registry metadata plus official release notes, migration guides, compatibility tables, and security advisories.
- Distinctive: line 18
Prefer the smallest stable version that solves the stated problem.
- Very specific: line 24
Read references/vulnerability-audit-playbook.md for every dependency upgrade or vulnerability audit.
- Distinctive: line 27
Prefer repository-native checks and GitHub connector Dependabot or dependency-review data, then cross-check with the ecosystem audit …
- Distinctive: line 36
Before accepting the lockfile diff:
- Distinctive: line 40
use registry signature or provenance verification when the selected manager and registry support it, without treating provenance as proof …
- Distinctive: line 41
keep frozen-lockfile, vulnerability, and dependency-review checks enabled where the repository already uses them.
- Distinctive: line 42
never bypass an integrity, signature, policy, or vulnerability failure merely to finish the upgrade.
- Distinctive: line 48
Use the repository's package manager or build wrapper and preserve its lockfile format.
- Distinctive: line 51
Run focused tests after each risk group, then the repository's relevant CI-equivalent checks.
- Very specific: line 55
Use references/node-upgrade-playbook.md or references/gradle-upgrade-playbook.md only for the detected ecosystem.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dependency upgrader
Establish the contract
- Read repository instructions and detect the manifests, wrapper, version catalog, lockfile, selected package manager, and existing security tooling.
- Confirm the requested packages, allowed version range, motivation, and whether major migrations are in scope. Treat "update dependencies" as the smallest compatible stable updates, not permission to upgrade every major.
- Record current declared and resolved versions, dependency paths, and the smallest reliable baseline check before editing.
- Stop and report when the working tree contains overlapping changes or the required tool is unavailable; do not switch package managers or regenerate a foreign lockfile.
Select versions
- Use current registry metadata plus official release notes, migration guides, compatibility tables, and security advisories.
- Prefer the smallest stable version that solves the stated problem. Do not select prereleases or release candidates unless requested.
- Group tightly coupled packages; otherwise update one dependency or low-risk group at a time.
- For majors, identify runtime requirements, removed APIs, configuration changes, and rollback constraints before editing.
Audit known vulnerabilities
Read references/vulnerability-audit-playbook.md for every dependency upgrade or vulnerability audit.
- Audit each targeted dependency and its resolved transitive closure before selecting a version. When available, also run one repository-level scan to separate baseline findings from vulnerabilities introduced or retained by the upgrade.
- Prefer repository-native checks and GitHub connector Dependabot or dependency-review data, then cross-check with the ecosystem audit command and OSV. Do not treat one database as complete.
- Match every finding to the exact resolved package, version, scope, and dependency path. Record GHSA or OSV identifiers and the CVE alias when one exists; absence of a CVE identifier does not mean absence of a vulnerability.
- Confirm affected and patched ranges in an authoritative advisory or vendor notice. Distinguish known exposure, practical reachability, false positives, withdrawn advisories, and coverage gaps.
- Propose the nearest compatible patched version. For a vulnerable transitive dependency, prefer upgrading the nearest direct parent, platform, or BOM; use a temporary constraint or override only when a parent fix is unavailable or incompatible.
Check supply-chain risk
Honor the repository's existing policy. If it has none, recommend a 72-hour minimum release-age gate for routine upgrades and document any exception for an urgent security fix. For Node, use the selected manager's setting from references/node-upgrade-playbook.md. For Gradle or Maven, follow repository policy or verify publication timestamps manually; do not invent a manager-neutral setting.
Before accepting the lockfile diff:
- review all new direct and transitive packages, versions, registries, URLs, integrity values, and lifecycle scripts;
- investigate unexpected package replacements, new maintainers, provenance changes, git/tarball sources, or a large transitive expansion;
- use registry signature or provenance verification when the selected manager and registry support it, without treating provenance as proof that code is safe;
- keep frozen-lockfile, vulnerability, and dependency-review checks enabled where the repository already uses them;
- never bypass an integrity, signature, policy, or vulnerability failure merely to finish the upgrade.
An urgent advisory may justify proposing a narrow age-gate exception. Apply it only after explicit user or repository-owner approval, after verifying the chosen fix and advisory, and when focused validation passes.
Apply and verify
- Use the repository's package manager or build wrapper and preserve its lockfile format.
- Make the smallest manifest and lockfile change that represents the upgrade.
- Inspect the diff before running package scripts. Use lockfile-only or ignore-scripts modes for discovery when supported; enable scripts only when required and trusted.
- Run focused tests after each risk group, then the repository's relevant CI-equivalent checks.
- Re-run the same vulnerability scans against the final resolved graph. Confirm the targeted advisory is absent, no new vulnerability was introduced, and the expected safe version and path are selected.
- Compare failures with the baseline and revert unrelated churn rather than normalizing it.
Use references/node-upgrade-playbook.md or references/gradle-upgrade-playbook.md only for the detected ecosystem.
Report
List old and new declared/resolved versions, dependency paths, advisory IDs and sources, affected and fixed ranges, scan timestamp and coverage gaps, reason and urgency, migration work, supply-chain checks, commands and results, baseline findings, and unresolved risks. Say "no known vulnerabilities found by these sources" rather than claiming the dependency is secure.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

