Skip to content

claude-commands/command-deps-upgrade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

command-deps-upgrade

A Claude Code slash command for intelligent dependency upgrades with breaking change analysis.

Installation

# Clone to your preferred location
git clone git@github.com:claude-commands/command-deps-upgrade.git <clone-path>/command-deps-upgrade

# Symlink (use full path to cloned repo)
ln -s <clone-path>/command-deps-upgrade/deps-upgrade.md ~/.claude/commands/deps-upgrade.md

Usage

/deps-upgrade                 # Analyze all upgradable dependencies
/deps-upgrade react           # Upgrade specific package
/deps-upgrade --major         # Include major version upgrades
/deps-upgrade --safe          # Only patch/minor updates
/deps-upgrade --interactive   # Choose which to upgrade

What it does

  1. Detects package manager and lists outdated deps
  2. Categorizes by version change type (patch/minor/major)
  3. Analyzes breaking changes for major updates
  4. Generates upgrade plan with risk assessment
  5. Applies upgrades and runs verification
  6. Provides rollback commands if needed

Output Format

# Dependency Upgrade Plan

## Safe Updates (14 packages)
| Package | Current | Latest | Type |
| ------- | ------- | ------ | ---- |
| lodash | 4.17.19 | 4.17.21 | Patch |

## Major Updates (2 packages)
**react: 17.0.2 → 18.2.0**
- Risk: High
- Breaking changes: New concurrent rendering
- Migration effort: 2-4 hours

## Verification Results
- Tests: ✓ Passed
- Build: ✓ Successful

Risk Levels

Level Criteria
Low Patch update, security fix
Medium Minor update, new features
High Major update, breaking changes

Package Manager Support

Manager Command
npm npm outdated
yarn yarn outdated
Go go list -m -u
pip pip list --outdated
cargo cargo outdated

Requirements

  • Package manager installed
  • Claude Code with Opus 4.5 model access

Updates

cd <clone-path>/command-deps-upgrade && git pull

About

Claude Code command: Intelligent dependency upgrades with breaking change analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •