upgrade
Skill4 starsChanged 15 days agoMITView on GitHub
Safely upgrade dependencies, patch a CVE, or handle a breaking change or runtime EOL. Use for dependency bumps, audits (osv-scanner/npm audit), vulnerable transitive deps, framework codemods, or lockfile hygiene.
- Installs packages
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
1
Distinctive
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 16
One major dependency per PR: Never batch unrelated majors — you lose the ability to bisect a failure.
- Very specific: line 34
Commit lockfiles (package-lock.json, pnpm-lock.yaml, uv.lock, Cargo.lock for apps, go.sum).
- Very specific: line 38
Hold: no security driver, a brand-new major still shaking out .0 bugs (use stability-days), or a release freeze.
“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
upgrade
Move dependencies forward without breaking the build or shipping a regression. Upgrade debt compounds, so stay current — but one careful step at a time.
Safe workflow
- Read first — the changelog, release notes, and
UPGRADING.md/migration guide before touching anything. CheckBREAKING CHANGES. - One major dependency per PR. Never batch unrelated majors — you lose the ability to bisect a failure. Patch/minor can be grouped.
- Gate each step with the full test suite + typecheck + lint + build. Green before the next bump.
- Small, revertible PRs. Majors solo.
- Lockfile discipline — commit it, regenerate deterministically, review its diff.
Tools
- Node:
npm/pnpm outdatedandnpm/pnpm audit(report);npm-check-updates(ncu -u,--target minor) to move ranges deliberately. - Automation: Renovate (
renovate.json, fine-grainedpackageRules, built-inautomerge, multi-platform, dependency dashboard, stability-days) is the stronger choice; Dependabot (.github/dependabot.yml) is GitHub-native and zero-setup but needs an Actions workflow for automerge. Common policy: automerge patch/minor devDeps after tests + stability-days; majors always manual. - Python:
uv(uv lock --upgrade,uv sync --frozen);pip-audit(OSV, fails CI on findings). Dependabot supportsuvbut won't widen a pinned range. - Rust:
cargo update,cargo upgrade(cargo-edit),cargo audit. Go:go get -u,go list -m -u all,govulncheck(reachability-aware).
CVE / vuln patching
Read the advisory (GHSA/OSV/NVD): affected range, fixed version, CVSS score + vector (network-reachable? privileges?). Is it reachable — does your code call the vulnerable path? Use reachability tools (govulncheck, osv-scanner v2 with call analysis) to prioritize, not to declare "safe forever". Transitive dep you can't wait on the parent to fix → force a patched version: npm "overrides", pnpm "pnpm.overrides", yarn "resolutions", Cargo [patch], Go replace, Python pinned constraint. Scan lockfiles with osv-scanner scan -r .; generate an SBOM (CycloneDX/SPDX via syft) for audit. references/vulns.md.
Breaking changes, codemods, EOL
Semver is a promise authors sometimes break — pin-and-test critical deps, don't auto-trust ranges. Use the framework's official codemod (jscodeshift-based) for mechanical changes but expect it to miss peer-dep conflicts and library-level usage. React 19: bridge via 18.3.1 first (surfaces warnings), then npx codemod react/19/migration-recipe + types-react-codemod preset-19. Next.js: npx @next/codemod upgrade latest. Runtime EOL gets no security patches — Node 18 (EOL Apr 2025) and 20 (EOL Apr 2026) are past/near; target 22 or 24. Upgrade off EOL for the security feed alone. references/breaking-changes.md.
Lockfile hygiene
Commit lockfiles (package-lock.json, pnpm-lock.yaml, uv.lock, Cargo.lock for apps, go.sum). CI uses frozen installs — npm ci, pnpm install --frozen-lockfile, uv sync --frozen, cargo build --locked — so it fails on drift. Dedupe (npm/pnpm dedupe). Libraries publish permissive ranges (^1.2.0, never * or exact); applications pin via the committed lockfile.
Decision rules
- Upgrade now: a reachable/high-CVSS CVE, a runtime/dep near EOL, a needed feature/fix, or a widening version gap.
- Hold: no security driver, a brand-new major still shaking out
.0bugs (use stability-days), or a release freeze. - Roll back a bad upgrade: revert the PR and restore the previous lockfile (
git revert;git checkout <prev> -- package-lock.json && npm ci) — deps are reversible because the lockfile is versioned.
Confirm before (never on your own)
A major framework/runtime bump; a change touching auth/crypto/payments; an override/resolution forcing a transitive version the parent doesn't sanction; automerging a non-patch into production code.
Done when: the chosen upgrades are applied one-major-per-PR, the full test/typecheck/build is green, the lockfile is committed, any forced transitive override is noted, and risky bumps were confirmed with the user.
Other versions28 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 28
- langwatch/langwatch★ 5ksame name
- nowork-studio/notfair-plugin★ 4.1ksame name
- nowork-studio/toprank★ 4ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- heyitsnoah/claudesidian★ 2.6ksame name
- TokenRollAI/cc-plugin★ 483same name
- dcb/homeassistant-claude-kit★ 125same name
- rust-off-rails/rustoffrails★ 49same name
- rvdbreemen/adr-kit★ 13same name
- jamillazarev/multica-ops★ 11same name
18 more not listed
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.
Used alongsideProjects with it also use new, context and 6 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
codebycoreySkillnew
Start a new change with a proposal. Use when starting a feature, creating a proposal, or beginning planned work.
Also in 4 projects that use this
aegiswizardSkillcontext
Also in 3 projects that use this
MicrosoftSkillinit
Also in 6 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 5 projects that use this
EffortlessMetricsSkillfeature
Also in 3 projects that use this
Microsoft AzureSkilllint
Run all linting and spell checking for TypeScript and Rust code. Run this before committing to catch style issues, clippy warnings, and misspellings.
Also in 3 projects that use this
In this repository39 other files it gives its agents.
- migrate/AGENTS.mdAGENTS.md
- migrate/CLAUDE.mdCLAUDE.md
- api-designSkill
- architectureSkill
- databaseSkill
- debugSkill
- deploySkill
- docsSkill
- domainSkill
- executeSkill
- frontendSkill
- grillSkill
- handoffSkill
- honeySkill
- incidentSkill
- observabilitySkill
- opensrcSkill
- perfSkill
- planSkill
- principlesSkill
- project-verifySkill
- prototypeSkill
- qaSkill
- researchSkill
- reverse-engineerSkill
- reviewSkill
- rsiSkill
- securitySkill
- shipSkill
- stageshowSkill
- statechartSkill
- tddSkill
- teachSkill
- test-designSkill
- toolingSkill
- triageSkill
- unslopSkill
- verifySkill
- write-skillSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

