Skip to content
Development
Command

/modernize-deps

Update and modernize project dependencies

From plugin
claude-command-suite
1.3k199 skills89 agents199 commands
Install
$ npx -y skills add qdhenry/Claude-Command-Suite --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/modernize-deps

Context preview

What this command does when you run it.

Update and modernize project dependencies

Command definition

modernize-deps.md

Modernize Dependencies Command

Update and modernize project dependencies

Instructions

Follow this approach to modernize dependencies: **$ARGUMENTS**

1. **Dependency Audit**

   # Check outdated packages
   npm outdated
   pip list --outdated
   composer outdated
   
   # Security audit
   npm audit
   pip-audit

2. **Update Strategy**

  • Start with patch updates (1.2.3 → 1.2.4)
  • Then minor updates (1.2.3 → 1.3.0)
  • Finally major updates (1.2.3 → 2.0.0)
  • Test thoroughly between each step

3. **Automated Updates**

   # Safe updates
   npm update
   pip install -U package-name
   
   # Interactive updates
   npx npm-check-updates -i

4. **Breaking Changes Review**

  • Read changelogs and migration guides
  • Identify deprecated APIs
  • Plan code changes needed
  • Update tests and documentation

5. **Testing and Validation**

   npm test
   npm run build
   npm run lint

6. **Documentation Updates**

  • Update README.md
  • Revise installation instructions
  • Update API documentation
  • Note breaking changes

Remember to update dependencies incrementally, test thoroughly, and maintain backward compatibility where possible.

Ships withclaude-command-suite

A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.

Get the whole plugin