dependency-upgrade
Skill4 starsChanged 4 months agoMITView on GitHub
Moves a project onto newer versions of its libraries, runtime, or framework without breaking it — major version bumps, security patches, and long-deferred upgrade backlogs. Use this whenever the user mentions upgrading a dependency, a framework migration, bumping a version, an end-of-life runtime, or a pile of outdated packages. For assessing which dependencies are risky in the first place, use dependency-audit.
16 other projects use a version of this.
Adopted by
Most recently taken up by
- aprameyak/coding-skillstheir own version, first seen Oct 2, 2026
- juanitourquiza/shipframetheir own version, first seen Oct 1, 2026
- nafeeur/MaskShifttheir own version, first seen Sep 12, 2026
- talhaMah56/claude_skillstheir own version, first seen Sep 12, 2026
- HyperVon/agent-guidance-kittheir own version, first seen Aug 30, 2026
- suleymanbyzt/agent-helmtheir own version, first seen Aug 18, 2026
Used with
Projects with it also use tdd.
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.
AWSSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 3 projects that use this
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- sangrokjung/claude-forge★ 847same name
- secondsky/sap-skills★ 458same name
- jpolec/odysseus★ 9same name
- Sir-chawakorn/sanook-cli★ 9same name
- xfstudio/skills★ 9same name
- KhaledSaeed18/dotclaude★ 5same name
- ai4brands-design/claude-skills★ 2same name
- CodeWithBehnam/cc-docs★ 2same name
- juanitourquiza/shipframe★ 2same name
- nafeeur/MaskShift★ 2same name
6 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.
In this repository61 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-deploymentSkill
- agent-designSkill
- agent-evaluationSkill
- agent-hardeningSkill
- agent-implementationSkill
- agent-observabilitySkill
- agent-scopingSkill
- api-designSkill
- code-templatingSkill
- error-handlingSkill
- feature-implementationSkill
- project-scaffoldingSkill
- refactoringSkill
- data-analysisSkill
- data-migrationSkill
- data-modelingSkill
- sql-queriesSkill
- ci-pipelinesSkill
- containerizationSkill
- deployment-strategiesSkill
- infrastructure-as-codeSkill
- debuggingSkill
- issue-investigationSkill
- issue-triageSkill
- log-analysisSkill
- network-troubleshootingSkill
- performance-profilingSkill
- api-documentationSkill
- commit-messagesSkill
- diagrammingSkill
- markdown-docsSkill
- plain-languageSkill
- pr-descriptionsSkill
- release-notesSkill
- browser-testingSkill
- integration-testingSkill
- load-testingSkill
- test-dataSkill
- test-driven-developmentSkill
- unit-testingSkill
- deep-researchSkill
- feed-digestSkill
- summarizationSkill
- accessibility-reviewSkill
- code-analysisSkill
- code-lintingSkill
- code-reviewSkill
- auth-designSkill
- dependency-auditSkill
- secrets-managementSkill
- security-analysisSkill
- threat-modelingSkill
- capacity-planningSkill
- disaster-recoverySkill
- incident-responseSkill
- monitoring-setupSkill
- root-cause-analysisSkill
- runbooksSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Run the full test suite before touching anything.
- Distinctive: line 28
Do not start with the biggest.
- Distinctive: line 59
Run the upgrade, fix compilation, run the tests.
“Common” is measured: kept by at least 6 in 10 of the 14 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
Dependency upgrade
Upgrades fail in a predictable way: several are attempted at once, something breaks, and nobody can tell which one did it. The whole batch gets reverted, the work is wasted, and the project falls further behind.
One dependency per commit, always. It is the difference between a bisectable history and an afternoon of guessing.
1. Establish that the current state is green
Run the full test suite before touching anything. If it is already failing or flaky, fix that first — you cannot attribute a failure to an upgrade when the baseline is red.
Record what "working" means beyond tests: the app starts, a smoke path succeeds, the build produces the same artifacts.
Done when: you have a green baseline and know how you would notice a regression.
2. Order the work by risk, not by convenience
Do not start with the biggest. Sequence:
- Security patches on the current major, usually trivial, always worth doing first
- Patch and minor bumps — batch these only if the ecosystem's versioning is trustworthy, and still commit separately
- Major versions of leaf dependencies — things nothing else depends on
- Major versions of core dependencies, the framework, the ORM, the runtime. Last, alone, with time budgeted
Upgrading the runtime before the libraries that target it usually creates work you then redo.
Done when: you have an ordered list, not a lockfile-wide bump.
3. Read the changelog before running the command
For every major version, read the release notes and the migration guide. This is the step that gets skipped and the one that saves the day.
You are looking for:
- Removed and renamed APIs: the obvious breakage, and the easy kind
- Behavioural changes with the same signature: the dangerous kind. A default that changed, a stricter parser, a different rounding mode. These compile fine and produce wrong results
- Deprecations: fix them now while you have context, or you will meet them next major
- Minimum runtime version: often the real blocker
Many ecosystems ship codemods for their own major versions. Use them, then read the diff.
Done when: you can list what will break before you run the upgrade.
4. Upgrade, then verify what tests cannot
Run the upgrade, fix compilation, run the tests. Then check the things a test suite will not catch:
- Behaviour that changed silently: date formatting, sorting, serialization, floating point, timezone handling, character encoding
- Performance: an upgrade that is correct and three times slower is a failed upgrade
- Bundle or image size, if it ships to users
- Transitive changes: diff the whole lockfile, not just the package you named. A minor bump can pull in a new major of something else
Done when: you have checked behaviour that no test asserts.
5. When the upgrade is too big
Some upgrades cannot be done in one commit. Do not force it:
- Run both versions side by side where the ecosystem allows aliasing, and migrate callers incrementally
- Adapter layer: wrap the old API, move to the new one behind it, then delete the adapter
- Strangle it: new code on the new version, old code migrated as it is touched
- Decide to stay, deliberately and in writing, with the reason and the risk. That is a legitimate outcome and much better than a half-finished migration
Done when: the path is incremental and each step ships.
6. Keep it from happening again
A large upgrade backlog is a process failure, not bad luck.
- Automated dependency PRs: Dependabot, Renovate — with patch updates auto-merged on green
- A schedule for majors, so they are never a surprise
- Fewer dependencies. The cheapest upgrade is the one you do not have. A small utility library you could write in 20 lines is a permanent maintenance obligation
- Pin and commit the lockfile, always
Done when: the next upgrade of this dependency arrives as a routine PR.
Report
For each dependency: old version, new version, what broke, what you changed, and what you verified beyond the test suite. Call out any behavioural change you found in the changelog but could not test — that is the item most likely to surface in production.
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.

