upgrade-dependency

Upgrade a specified dependency to a new version and validate via install, build, and tests.

84|5|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/fitlab-ai/agent-infra --skill upgrade-dependency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: upgrade-dependency
Source: https://github.com/fitlab-ai/agent-infra/tree/main/.agents/skills/upgrade-dependency
Command: npx skills add https://github.com/fitlab-ai/agent-infra --skill upgrade-dependency

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

将依赖包升级到新版本,并在构建和测试中验证变更,帮助团队在不同语言生态中保持依赖一致性和稳定性。

Core Features & Use Cases

  • Parameter-driven upgrades: target package name, old version, and new version.
  • Multi-ecosystem support: detects and updates dependencies across common files like package.json, pom.xml, requirements.txt/pyproject.toml, and go.mod.
  • Validation workflow: runs installation, builds, and tests to verify compatibility and catch breaking changes.

Quick Start

Provide the package name, old version, and new version to upgrade and validate.

Frequently Asked Questions about upgrade-dependency

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upgrade a dependency and verify it doesn't break my tests?

To upgrade a dependency safely, specify the package name, old version, and new version. The Skill updates the appropriate files, then runs install, build, and tests to verify compatibility.

Can I upgrade dependencies across different ecosystems like Python and Go?

Yes, dependency upgrades support multiple ecosystems. The process detects and updates common files like package.json, pom.xml, requirements.txt, pyproject.toml, and go.mod automatically.

What's the best way to automate dependency versioning and build validation?

The best way to automate dependency versioning is using parameter-driven inputs for package name and target versions. This triggers an automated validation workflow that runs installation, builds, and tests.

How does dependency upgrade verification work for breaking changes?

Dependency upgrade verification works by parsing package files, applying the version updates, and executing a validation workflow. It runs build and test commands to catch breaking changes, reporting modified files and outcomes.

What files are modified when upgrading project dependencies?

Upgrading project dependencies modifies ecosystem-specific package files. This includes package.json, pom.xml, requirements.txt, pyproject.toml, and go.mod, depending on your project's language and framework.

Why should I validate dependency upgrades with a build process?

You should validate dependency upgrades with a build process to ensure new versions do not introduce breaking changes. Running install, build, and tests verifies compatibility and maintains project stability across updates.