updating-dependencies
Skill1 starsChanged 14 days agoMITView on GitHub
Use when updating, adding or removing a dependency, handling dependency or security update PRs, or when a lockfile, SDK, runtime or toolchain version must change
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- medusajs/medusatheir own version, first seen Oct 25, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- medusajs/medusa★ 37ksame 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 repository36 other files it gives its agents.
- skills/writing-skills/references/agents.mdAGENTS.md
- templates/CLAUDE.mdCLAUDE.md
- backend-servicesSkill
- brainstormingSkill
- changing-legacy-codeSkill
- choosing-a-stackSkill
- ci-quality-gatesSkill
- database-changesSkill
- desktop-developmentSkill
- dispatching-parallel-agentsSkill
- docsSkill
- executing-plansSkill
- finishSkill
- git-workflowSkill
- implementSkill
- kit-initSkill
- mobile-developmentSkill
- new-taskSkill
- observabilitySkill
- onboarding-existing-codebaseSkill
- payments-and-moneySkill
- pos-systemsSkill
- publishing-documentsSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- security-reviewSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- ui-motionSkill
- using-skillsSkill
- verification-before-completionSkill
- verifySkill
- web-frontendSkill
- writing-documentationSkill
- writing-plansSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Security first: Start with known advisories (npm audit, pnpm audit, osv-scanner, pip-audit, govulncheck, cargo audit, Dependabot or …
- Distinctive: line 15
The package manager edits the lockfile,: never your hands. Commit the manifest and the lockfile together.
- Distinctive: line 21
Pin the way the project pins: Follow its version catalog, ranges or exact pins.
- Very specific: line 25
Read the current version and what depends on it (npm ls <pkg>, gradle dependencies, go mod why).
- Distinctive: line 26
Read the changelog or release notes for every version between the current and the target.
- Very specific: line 27
Update with the package manager (npm install <pkg>@<version>, ./gradlew … versionCatalogUpdate, go get, cargo update -p), then adapt the …
- Distinctive: line 28
Run the full verification, plus a manual run of a flow that uses the dependency.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Updating dependencies
A dependency change is a code change you didn't write. Treat it with the same care: one at a time, with its changes read, and proven by the checks.
Rules
- One dependency per change, or one group that must move together (a framework and its plugins). Never batch unrelated updates: a failure must point at one cause.
- Ask first for a major version, a new dependency, a removed one, or a new licence type. Name what it costs: the breaking changes, the size, the maintenance status, and the licence.
- Security first. Start with known advisories (
npm audit,pnpm audit,osv-scanner,pip-audit,govulncheck,cargo audit, Dependabot or Renovate alerts). Fix the ones that reach your code before routine bumps. - The package manager edits the lockfile, never your hands. Commit the manifest and the lockfile together.
- Every override or patch carries a reason and a removal condition (a fixed upstream version, a date) in a comment or decision record. One without an exit is debt; remove it when the condition is met.
- Delay new releases. Use a release-age delay (cooldown) so a version must be out for at least a day before it is installed (for example pnpm
minimumReleaseAge, npmmin-release-age, RenovateminimumReleaseAge, Dependabotcooldown). List the exceptions (urgent security fixes, your own packages) next to the setting. - Install scripts are opt-in: make an unreviewed install script fail the install and allow scripts per package (for example pnpm
strictDepBuildswithallowBuilds). npm has no per-package allow list:ignore-scriptsskips every script, so run the reviewed ones explicitly (npm rebuild <pkg>). - No
@latestor unpinned tools in MCP servers and tool configs: pin an exact version. A smoke job outside the gate whose purpose is to track the newest release is the only exception. - When adding a dependency, take the highest stable release that has passed the delay, no higher than the major of a stable
latesttag (the tag itself can point at a pre-release). Packages typed against a runtime (@types/node) follow that runtime's major. - Pin the way the project pins. Follow its version catalog, ranges or exact pins; don't restate versions from memory.
Process
- Read the current version and what depends on it (
npm ls <pkg>,gradle dependencies,go mod why). - Read the changelog or release notes for every version between the current and the target. List the breaking changes and the deprecations that touch this codebase (grep for the APIs they name).
- Update with the package manager (
npm install <pkg>@<version>,./gradlew … versionCatalogUpdate,go get,cargo update -p), then adapt the code for the listed changes. - Run the full verification, plus a manual run of a flow that uses the dependency. Never skip or re-run CI to get past a failure.
- Report: the package, from → to, the breaking changes found and what you changed for each, and the checks that ran.
Platform constraints
- Mobile: the target and compile SDK, the Kotlin and AGP matrix, the minimum iOS version and Xcode, and store policy limit what you can take (see mobile-development).
- POS and payment terminals: the vendor SDK fixes the Android API level and often its own library versions (see pos-systems). An update that the vendor hasn't certified is a question for the user, not a bump.
- Runtimes and toolchains (Node, JDK, .NET, Go, Xcode): change the version file the project uses (
.nvmrc,global.json,go.modtoolchain,.tool-versions) and CI in the same change. - One source for the runtime version. Derived pins (CI, Dockerfile,
engines) are generated from it or checked against it in CI. The package manager's version lives once, inpackageManager, and CI reads it.
Red flags
| Thought | Reality |
| "I'll bump everything at once" | Then nobody knows which one broke it. One at a time. |
| "Patch releases can't break anything" | They do. Run the checks. |
| "The changelog is long, skip it" | The breaking change you skipped is the bug you'll debug. |
| "CI flaked, re-run it" | Find out why first (systematic-debugging). |
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.

