dependency-upgrade
Skill1 starsChanged 15 days agoApache-2.0View on GitHub
Upgrade pinned dependencies safely — inventory across manifests and lockfiles, address security alerts first, group bumps by risk, and verify with full gates after each group. Use when updating dependencies, bumping versions, refreshing lockfiles, or addressing security alerts.
23 other projects use a version of this.
Adopted by
Most recently taken up by
- paureis/pau-skillstheir own version, first seen Nov 8, 2026
- navikt/copilottheir own version, first seen Nov 1, 2026
- agentkitco/agentkit-dev-skillstheir own version, first seen Nov 1, 2026
- Eliahhango/nullbyte-securitytheir own version, first seen Nov 1, 2026
- itsofficialadi/boundifftheir own version, first seen Oct 25, 2026
- juanitourquiza/shipframetheir own version, first seen Oct 23, 2026
Used with
Projects with it also use incident-response, tdd and 2 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.
AnthropicSkillincident-response
Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.
Also in 3 projects that use this
GoogleSkilltdd
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 4 projects that use this
GoogleSkillgrill-me
A relentless interview to sharpen a plan or design.
Also in 3 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- secondsky/sap-skills★ 462same name
- navikt/copilot★ 61same name
- xfstudio/skills★ 9same name
- KhaledSaeed18/dotclaude★ 5same name
- Eliahhango/nullbyte-security★ 4same name
- juanitourquiza/shipframe★ 4same name
- WST2002/claude-code-skills★ 4same name
- 0disoft/mcp-security-proxy★ 2same name
- ai4brands-design/claude-skills★ 2same name
- CodeWithBehnam/cc-docs★ 2same name
13 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 repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adversarial-pr-reviewSkill
- ai-slop-detectorSkill
- architecture-reviewSkill
- codebase-orientationSkill
- code-reviewSkill
- documentation-reviewSkill
- frontend-quality-reviewSkill
- git-github-workflowSkill
- harness-adaptationSkill
- implementation-planningSkill
- parallel-multi-agentSkill
- quality-hardeningSkill
- reduce-code-sizeSkill
- repository-guidance-authoringSkill
- requirements-and-designSkill
- review-feedback-resolutionSkill
- rules-and-skills-auditSkill
- security-reviewSkill
- skill-authoringSkill
- skill-discoverySkill
- skill-optimizerSkill
- skill-reviewerSkill
- systematic-debuggingSkill
- threat-modelingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 10 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 22 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 46
If authentication, permissions, pagination, or source availability prevents complete enumeration, report alert triage as BLOCKED.
- Distinctive: line 50
Never delete a security pin to make the build pass.
- Distinctive: line 54
When an advisory affects a transitive dependency and no parent package update is available, use the per-ecosystem override/remediation …
- Distinctive: line 86
Keep each group small and focused.
- Distinctive: line 93
Always use the ecosystem's deterministic update command for the targeted package.
- Very specific: line 99
After regeneration, run git diff <lockfile> and verify that only the targeted package and its direct dependency tree changed.
- Distinctive: line 101
Ensure lockfiles are regenerated by the package manager, not hand-edited.
- Very specific: line 112
Update CHANGELOG.md when user-visible, and record version pins in the relevant documentation.
- Very specific: line 120
Check runtime engine requirements (engines.node in package.json, requires-python in pyproject.toml, Rust edition in Cargo.toml) before …
- Distinctive: line 121
Check package license changes on minor/major upgrades.
- Distinctive: line 122
Do not downgrade or unpin a dependency to silence a warning.
- Distinctive: line 123
Do not accept a non-permissive license without explicit approval.
- Distinctive: line 124
Do not mix dependency bumps with feature or refactor work in the same commit.
- Distinctive: line 126
Do not create a remote, tag, or release without separate authorization.
“Common” is measured: kept by at least 6 in 10 of the 22 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
Upgrade pinned dependencies in risk-ordered, reviewable groups. Never use
floating latest tags. Verify with the full gates after each group.
Authority and scope
This skill owns the repeatable workflow for moving pinned manifests and lockfiles forward. It does not own architecture, feature work, or deployment. Work only in the requested scope and preserve behavior, wire formats, and distinct tests.
Step 0 — Freeze the baseline
Record the branch, HEAD, working-tree state, relevant runtime and package-manager versions, owning manifests, and lockfiles. Run the smallest complete existing gate before changing dependency state. If it is already red, separate the pre-existing failure from upgrade regressions and do not attribute it to the candidate change.
Step 1 — Security alerts first
Triage all open security alerts, then prioritize. Where GitHub Dependabot alerts are available, use them as the authoritative source; otherwise use the target repository or ecosystem's authoritative vulnerability or advisory source (for example the package registry's advisory database or the language's security tooling). A useful GitHub example:
gh api --paginate repos/{owner}/{repo}/dependabot/alerts --jq \
'.[] | select(.state == "open") | [.number, .security_advisory.severity, .dependency.package.name, .dependency.manifest_path, (.security_vulnerability.vulnerable_version_range // "?")] | @tsv'- Triage all open alerts; prioritize
criticalandhighseverity and document blockers or unfixable alerts with owner and next step rather than ignoring medium or low findings without triage. - If authentication, permissions, pagination, or source availability prevents
complete enumeration, report alert triage as
BLOCKED; do not claim that all alerts were reviewed. - An alert identifies a vulnerable range, not the fixed version — confirm a supported remediation version or dependency path exists and can be expressed through the owning manifest or lockfile before changing dependency state.
- Never delete a security pin to make the build pass.
Transitive vulnerability remediation
When an advisory affects a transitive dependency and no parent package update is available, use the per-ecosystem override/remediation recipes in ecosystem-recipes.md. Never add an internal transitive library as a direct top-level runtime dependency unless the project explicitly imports it.
Step 2 — Inventory
Collect every pinned source: manifests (package.json, requirements.txt,
pyproject.toml, Gemfile, pom.xml, build.gradle, Cargo.toml, etc.),
lockfiles, and container or action pins (for example Dockerfile, workflow
pins, or a version file). Record current versions, latest available patch or
minor, and the owning manifest.
Record supply-chain context when available: publisher or maintainer change, yanked or deprecated status, abandonment signals, install scripts, bundled binaries, provenance or attestation, registry source, and whether the package is transitive. Treat these as risk signals requiring evidence, not automatic vulnerability findings.
Step 3 — Risk-grouped bumps
Order work by risk and reviewability:
- Security — vulnerable direct or transitive dependencies where the package manager or advisory identifies the exposure (patch or minor that fixes the alert).
- Patch — backwards-compatible fixes in direct dependencies.
- Minor — new backwards-compatible features; check changelog and tests.
- Major or toolchain — breaking changes, language or action major bumps; treat as a separate change set with explicit approval.
Keep each group small and focused. Do not bundle unrelated major bumps with security fixes.
Step 4 — Verify after each group
Lockfile regeneration and churn inspection
Always use the ecosystem's deterministic update command for the targeted package. The per-ecosystem update commands are cataloged in ecosystem-recipes.md.
Regardless of ecosystem, the full-gate check MUST include git diff <lockfile> and confirm only the targeted package tree changed; detect the project's actual lockfile tool and use its deterministic command (the reference lists common examples, not an exhaustive list).
After regeneration, run git diff <lockfile> and verify that only the targeted package and its direct dependency tree changed. Reject unexpected sweeping changes to unrelated packages.
- Ensure lockfiles are regenerated by the package manager, not hand-edited.
- Confirm tests still protect distinct behavior and that coverage or lint gates still pass.
- Inspect the diff for unexpected transitive changes.
- For schema or data-shape changes, use an additive expand → backfill → contract sequence when compatibility requires it. Keep old and new code valid at each deploy step, throttle backfills, isolate destructive drops or renames, and verify the rollback/down path before the next group.
Step 5 — Document and propose
Update CHANGELOG.md when user-visible, and record version pins in the
relevant documentation. Keep the PR small, conventional, and linked to the
alert or issue when applicable. Stop and ask before changing pinning policy,
switching registries, or accepting a license that is not clearly
permissive.
Boundaries and gotchas
- Check runtime engine requirements (
engines.nodeinpackage.json,requires-pythoninpyproject.toml, Rust edition inCargo.toml) before applying minor or major version bumps. - Check package license changes on minor/major upgrades. If a dependency changes from a permissive license (MIT, Apache-2.0, BSD) to copyleft or proprietary (GPL, AGPL, SSPL, BSL), stop and request explicit approval.
- Do not downgrade or unpin a dependency to silence a warning.
- Do not accept a non-permissive license without explicit approval.
- Do not mix dependency bumps with feature or refactor work in the same commit.
- Do not create a remote, tag, or release without separate authorization.
Relationship to neighboring skills
| Skill | Owns |
| dependency-upgrade (this) | Pinned dependency and lockfile upgrade workflow |
security-review | Security boundary, secret, and threat-model review |
quality-hardening | Bounded correctness fixes with regression coverage |
git-github-workflow | Branch, commit, and PR hygiene |
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.

