Skip to content
Development
Command

/update-deps

Safely update project dependencies with compatibility verification.

From plugin
rohitg00-claude-code-toolkit
2.5k199 skills138 agents199 commands
Install
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/update-deps

Context preview

What this command does when you run it.

Safely update project dependencies with compatibility verification.

Command definition

update-deps.md
name: update-deps
description: Safely update project dependencies with compatibility verification.

Safely update project dependencies with compatibility verification.

Steps

1. List all outdated dependencies: `npm outdated`, `pip list --outdated`. 2. Categorize updates by risk:

  • **Patch**: Bug fixes, safe to auto-update.
  • **Minor**: New features, backward compatible.
  • **Major**: Breaking changes, requires review.

3. For each update candidate:

  • Read the changelog for breaking changes.
  • Check peer dependency compatibility.
  • Verify TypeScript type compatibility if applicable.

4. Apply updates in order: patch first, then minor, then major. 5. After each batch, run the test suite. 6. If tests fail, identify the breaking dependency and provide fix guidance. 7. Update lock file and commit changes.

Format

Dependency Updates Applied:

Patch (safe):
  - <pkg> 1.0.0 -> 1.0.1

Minor (compatible):
  - <pkg> 1.0.0 -> 1.1.0

Major (breaking - review required):
  - <pkg> 1.0.0 -> 2.0.0: <breaking change summary>

Tests: <pass/fail after updates>

Rules

  • Never update major versions without reading the changelog first.
  • Run tests after each update category, not just at the end.
  • Commit patch and minor updates separately from major updates.
  • Do not update dev dependencies and production dependencies in the same batch.
  • Keep a rollback plan: note the exact versions before updating.
Read more
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

Get the whole plugin