ln-32-dependency-upgrader

Upgrades dependencies in verified, rollback-safe batches across package managers.

556|83|Updated Oct 24, 2025
One-click install
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-32-dependency-upgrader
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ln-32-dependency-upgrader
Source: https://github.com/levnikolaevich/claude-code-skills/tree/main/plugins/optimization-suite/skills/ln-32-dependency-upgrader
Command: npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-32-dependency-upgrader

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dependency upgrades often break builds, introduce silent regressions, or leave lockfiles inconsistent. This Skill upgrades dependencies in small, attributable batches with breaking-change research and per-batch verification, so failures can be isolated and reverted without touching unrelated work.

Core Features & Use Cases

  • Batched upgrades with rollback: Groups updates by prerequisite order (runtime, build tooling, frameworks, leaf packages), verifies each batch, and reverts only the failed batch.
  • Breaking-change and security research: Checks official release notes, migration guides, and advisories before applying consequential updates, and re-runs security audits after each batch.
  • Evidence-based reporting: Produces a verdict (UPDATED, PARTIAL, NO_CHANGE, BLOCKED) with a batch table, advisory status, and verification evidence.
  • Use Case: A repository has 30 outdated npm packages including one major framework upgrade. The Skill inventories updates, researches the framework's migration guide, applies routine patches in small batches, migrates code for the major version, and reverts any batch that fails tests.

Quick Start

Ask the AI to upgrade the outdated dependencies in this repository in safe verified batches, researching breaking changes first and reverting anything that fails the build or tests.

Frequently Asked Questions about ln-32-dependency-upgrader

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

FAQPage Schema
How do I upgrade dependencies without breaking my build?

Upgrade in small batches ordered by prerequisite: runtime and package manager first, then build tooling, frameworks, and leaf packages. Run install, build, lint, and tests after each batch, and revert only the failed batch while keeping verified ones.

How to check for breaking changes before a major version upgrade?

Read the official release notes and migration guides for the exact version transition, then search your codebase for affected imports, APIs, configuration, and plugins. A breaking-change claim requires release evidence matching the specific versions involved.

Does this work with npm, pip, and other package managers?

Yes, the workflow detects all package managers, manifests, lockfiles, and workspace files first, then uses each manager's native outdated, audit, and update commands. Lockfiles are only modified by the native package manager, never hand-edited.

How are security vulnerabilities handled during dependency upgrades?

Each finding requires the affected version, advisory, reachability context, and a credible remediation. After each batch, the security audit is re-run to distinguish fixed, remaining, newly introduced, and unreachable advisories.

What happens when a dependency upgrade fails verification?

The entire failed batch is reverted without touching user work, the blocking package is recorded, and independent safe batches continue. The final report classifies each batch as KEPT, REVERTED, or SKIPPED with reasons.

When should I not batch dependency updates together?

Keep routine batches small enough to attribute failure to a specific package. Only batch framework families, analyzers, or tightly constrained peers together when their compatibility matrix requires it.