update-dependencies
Installation
SKILL.md
Activation Contract
Use this skill when asked to update, upgrade, or bump project dependencies, resolve outdated packages, or fix vulnerable dependencies. Not for adding a brand-new dependency, and not for unrelated refactors (use refactor).
Hard Rules
- ALWAYS detect the package manager(s) and ecosystem from lockfiles/manifests first; if several apply or none is found, ask; never guess.
- ALWAYS ask for the update mode (
major|minor|patch) before touching any file; never infer it from the request. - ALWAYS ask before applying ANY major or breaking update; never auto-apply a major/breaking bump.
- Auto-apply only safe updates for the chosen mode (patch, or patch+minor); never hand-edit lockfiles.
- Before updating, list outdated packages AND run the vulnerability audit with the manager's own commands.
- For every non-patch jump, look up breaking changes first: use the Context7 MCP server when available, otherwise official changelogs/migration guides.
- Work on a dedicated branch; NEVER commit or push unless the user asks.
- After each batch: reinstall, fix what it breaks, then run the verification phase before the next batch.
- If verification fails and cannot be fixed safely, revert the batch and report it.