dependency-update
Skill0 starsChanged 32 days agoMITView on GitHub
Audit outdated dependencies, review changelogs for breaking changes, update packages safely, and write a clean commit. Use when the user asks to update dependencies, upgrade packages, check for outdated deps, or bump a library version. Never upgrades a major version blindly — always reads the changelog first and surfaces breaking changes before touching any file.
- Installs packages
10 other projects use a version of this.
Adopted by
Most recently taken up by
- shino369/claude-code-personal-workspacetheir own version, first seen Nov 8, 2026
- codewhale-hq/codewhale-plugin-marketplacetheir own version, first seen Nov 8, 2026
- gocronx-team/gocrontheir own version, first seen Oct 8, 2026
- dotnet/aspiretheir own version, first seen Oct 8, 2026
- lintangknitto/agent-skillstheir own version, first seen Sep 23, 2026
- Abdox-menara/guard-skillstheir own version, first seen Aug 24, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- dotnet/aspire★ 6.4ksame name
- microsoft/aspire★ 6.4ksame name
- gocronx-team/gocron★ 808same name
- microsoft/haste★ 110same name
- codewhale-hq/codewhale-plugin-marketplace★ 5same name
- shino369/claude-code-personal-workspace★ 4same name
- turntuptechnologies-ai/skills★ 1same name
- Abdox-menara/guard-skills★ 0same name
- lintangknitto/agent-skills★ 0same name
- MrCipherSmith/goodai-base★ 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 repository68 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- accessibilitySkill
- api-designSkill
- api-versioningSkill
- authSkill
- background-jobsSkill
- cachingSkill
- capacity-planningSkill
- changelogSkill
- chaos-engineeringSkill
- ci-cdSkill
- circuit-breakerSkill
- claude-best-practicesSkill
- code-commentsSkill
- code-hygieneSkill
- code-reviewSkill
- code-structureSkill
- commit-styleSkill
- concurrency-and-lockingSkill
- database-transactionsSkill
- data-consistencySkill
- debug-infra-startupSkill
- debug-sessionSkill
- demo-video-creatorSkill
- demo-video-script-creatorSkill
- dependency-injectionSkill
- disk-cleanupSkill
- distributed-tracingSkill
- dockerSkill
- env-configSkill
- env-setupSkill
- error-handlingSkill
- event-driven-architectureSkill
- feature-flagsSkill
- file-storageSkill
- graceful-shutdownSkill
- idempotencySkill
- input-validationSkill
- jars-engineering-blogsmithSkill
- jars-workshop-builderSkill
- licensingSkill
- loggingSkill
- memory-and-allocationsSkill
- migrate-dbSkill
- monitoringSkill
- multi-tenancySkill
- notificationsSkill
- openapiSkill
- paginationSkill
- perf-profileSkill
- pr-descriptionSkill
- query-optimizationSkill
- rate-limitingSkill
- refactorSkill
- releaseSkill
- runbook-writerSkill
- searchSkill
- secrets-auditSkill
- simplifySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 8 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
8
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
One package at a time for risky upgrades: Don't batch a major + two minors into one commit.
- Distinctive: line 21
Never skip hooks or force-write lockfiles: Use the package manager's standard update command so integrity checks and resolution logic run …
- Distinctive: line 23
Tests must pass after every update: If they don't, report the failure honestly — don't hide it, don't proceed with the next package.
- Distinctive: line 129
After each install, verify the lockfile changed as expected:
- Distinctive: line 137
Run the full check suite:
- Distinctive: line 155
Read the error carefully — it is usually a removed or renamed API.
- Distinctive: line 157
If the fix is non-trivial, stop and report to the user before continuing.
- Distinctive: line 184
Use the repository's existing commit style if it differs from the examples above.
“Common” is measured: kept by at least 6 in 10 of the 8 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 Update
Work through a dependency upgrade systematically: find what's outdated, read what changed, update one layer at a time, verify the build still passes, and leave a clear commit. The goal is to land updates that don't break anything and that a reviewer can audit in 30 seconds.
Ground rules
- Read the changelog before touching anything. For any major or minor bump, find and read the migration guide or release notes. Never upgrade based on the version number alone.
- Major versions require explicit user confirmation. Flag the breaking changes you found, explain what migration work is likely needed, and wait for a go-ahead before updating.
- One package at a time for risky upgrades. Don't batch a major + two minors into one commit. Group patch updates together; keep each significant upgrade isolated.
- Never push. Stage, commit, and stop. The user decides when to push.
- Never skip hooks or force-write lockfiles. Use the package manager's standard update command so integrity checks and resolution logic run normally.
- Tests must pass after every update. If they don't, report the failure honestly — don't hide it, don't proceed with the next package.
Workflow
1. Identify the package manager and current state
# Node / npm
cat package.json
npm outdated
# Node / yarn
yarn outdated
# Node / pnpm
pnpm outdated
# Python / pip
pip list --outdated
# Python / uv
uv pip list --outdated
# Rust
cargo outdated # requires cargo-outdated
# Ruby
bundle outdatedAlso check:
.nvmrc,.node-version,.python-version— confirm you're on the right runtimepackage.json"engines"field orpyproject.tomlrequires-python— version constraints- CI config (
.github/workflows/,Jenkinsfile) — if it pins versions there too, note it
2. Triage the outdated list
Build a table before touching anything:
| Package | Current | Latest | Jump | Category |
express | 4.18.2 | 4.21.0 | patch/minor | safe to batch |
eslint | 8.57.0 | 9.12.0 | major | needs changelog review |
axios | 1.6.8 | 1.7.4 | minor | safe to batch |
Categories:
- safe to batch — patch or minor bumps with no noted breaking changes
- needs changelog review — any major bump, or a minor bump on a library known for sharp edges
- skip — packages the user hasn't asked about, or locked by a peer-dependency
3. Read the changelog for each significant bump
For every major version bump (and minors on critical libraries):
# Find changelog on npm
npm info <package> homepage
npm info <package> repository.url
# Or fetch directly
curl -s https://raw.githubusercontent.com/<owner>/<repo>/main/CHANGELOG.md | head -200Look for:
- Removed APIs — will your codebase call something that no longer exists?
- Renamed exports, config keys, or CLI flags
- Peer dependency changes — does the new version require a different version of something else?
- Node.js / Python minimum version bumps
Report what you found before proceeding with a major bump. Wait for the user to confirm.
4. Apply updates
Batch safe updates (patches and minors):
# npm
npm update # patch + minor updates within semver ranges
npx npm-check-updates -u # also update the ranges in package.json if needed
npm install
# yarn
yarn upgrade --latest --pattern "*" # or specify packages
# pnpm
pnpm update
# Python / uv
uv pip install --upgrade <package1> <package2>
# Python / pip
pip install --upgrade <package1> <package2>
pip freeze > requirements.txt # if using a flat requirements file
# Rust
cargo updateIndividual major upgrade (confirmed by user):
npm install <package>@<new-major>
# then apply any migration steps found in step 3After each install, verify the lockfile changed as expected:
git diff package-lock.json # or yarn.lock / pnpm-lock.yaml / Cargo.lock5. Verify the build
Run the full check suite:
# Node
npm run build # or tsc --noEmit
npm test
# Python
python -m pytest
# or
uv run pytest
# Rust
cargo build
cargo testIf anything fails:
- Read the error carefully — it is usually a removed or renamed API.
- Fix the call site, not the version pin.
- If the fix is non-trivial, stop and report to the user before continuing.
6. Commit
Group related updates into logical commits:
chore(deps): update patch and minor dependencies
Bumped:
- axios 1.6.8 → 1.7.4
- eslint-plugin-react 7.34.3 → 7.35.1
- vitest 1.6.0 → 1.6.4For a major upgrade, use a separate commit with more context:
chore(deps)!: upgrade eslint 8 → 9
Breaking changes from upstream:
- Flat config is now required; migrated eslint.config.js
- Removed --ext flag; now configured via ignores pattern
Ref: https://eslint.org/docs/latest/use/migrate-to-9.0.0Use the repository's existing commit style if it differs from the examples above.
7. Report back
Tell the user:
- What was updated and to which version
- Any breaking changes found and how they were handled (or flagged for later)
- Any packages you skipped and why
- Any test failures still unresolved
Examples
| Weak | Strong |
Run npm update and commit everything | Triage first, batch safe updates, isolate majors |
Upgrade webpack 4 → 5 without reading the migration guide | Read the webpack 5 migration guide first, note breaking changes, confirm with user |
chore: bump deps | chore(deps): update axios 1.6.8 → 1.7.4, vitest 1.6.0 → 1.6.4 |
| Hide a failing test after the upgrade | Report the failure explicitly; fix or revert before committing |
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.

