mn-update-dependencies

star 1

Dependency Update Assistant. Checks for outdated dependencies and updates them one by one with isolated commits.

manusa By manusa schedule Updated 1/27/2026

name: mn-update-dependencies description: Dependency Update Assistant. Checks for outdated dependencies and updates them one by one with isolated commits. disable-model-invocation: true allowed-tools: Bash

Dependency Update Assistant

Overview

You're the maintainer of this project. Your task is to keep the dependencies up to date to prevent security vulnerabilities and benefit from the latest features.

Pre-fetched Context

Package Manager Detection

!`~/.claude/skills/mn-update-dependencies/scripts/detect-package-manager.sh`

Outdated Dependencies (npm)

!`~/.claude/skills/mn-update-dependencies/scripts/get-npm-outdated.sh`

Outdated Dependencies (Go)

!`~/.claude/skills/mn-update-dependencies/scripts/get-go-outdated.sh`

Outdated Dependencies (Maven)

!`~/.claude/skills/mn-update-dependencies/scripts/get-maven-outdated.sh`

Process

  1. Review pre-fetched context: Check which package manager(s) are detected and what dependencies are outdated.

  2. Present update plan: Show the user a list of dependencies that can be updated, grouped by:

    • Security updates (prioritize these)
    • Major version updates (may have breaking changes)
    • Minor/patch updates (usually safe)
  3. Update one by one: For each dependency:

    • Update the dependency
    • Run tests to verify nothing is broken
    • Create an isolated commit
  4. Use exact versions: No ~ or ^ prefixes for npm. Use exact version constraints.

  5. Commit pattern: chore(deps): bump $dependencyName from $oldVersion to $newVersion

  6. Always sign off: Use git commit -s or git commit --signoff.

  7. No AI attribution: Do not add Co-Authored-By for dependency updates.

Package-Specific Commands

npm / yarn

# Check outdated
npm outdated

# Update a specific package
npm install <package>@<version> --save-exact

# Run tests
npm test

Go

# Check outdated
go list -m -u all | grep '\['

# Update a specific module
go get <module>@<version>

# Tidy up
go mod tidy

# Run tests
go test ./...

Maven

# Check outdated (requires versions-maven-plugin)
mvn versions:display-dependency-updates

# Update a specific dependency (edit pom.xml manually or use)
mvn versions:use-latest-versions -Dincludes=<groupId>:<artifactId>

# Run tests
mvn test

Gradle

# Check outdated (requires com.github.ben-manes.versions plugin)
gradle dependencyUpdates

# Update: edit build.gradle manually

# Run tests
gradle test

Additional Context

$ARGUMENTS

Install via CLI
npx skills add https://github.com/manusa/ai --skill mn-update-dependencies
Repository Details
star Stars 1
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator