Agent skill

Ln 42 Dependency Upgrader

by levnikolaevich in levnikolaevich/claude-code-skills

Upgrades dependencies in reversible batches with version-specific compatibility and regression checks.

MITAuto-check passedDevelopment

Install Ln 42 Dependency Upgrader

skills CLI
$ npx skills add levnikolaevich/claude-code-skills --skill ln-42-dependency-upgrader -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install levnikolaevich/claude-code-skills ln-42-dependency-upgrader --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/levnikolaevich/claude-code-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/implementation-suite/skills/ln-42-dependency-upgrader .claude/skills/ln-42-dependency-upgrader && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ln-42-dependency-upgrader
GitHub stars
574
Token cost
~3.5k tokens
SKILL.md length
1,764 words
Files
1
Skills in repo
31
Repo updated
First seen
Licence
MIT

At a glance

Upgrades dependencies in reversible batches with version-specific compatibility and regression checks.

  • Works in 5 steps: Discover Scope and Protect the Workspace → Research and Plan Batches → Apply Each Batch Safely → …
  • Development work in your project
  • SKILL.md covers Tool Routing, Evidence Rules, Checklist and Self-Check, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ln 42 Dependency Upgrader is an agent skill from levnikolaevich/claude-code-skills. Upgrades dependencies in reversible batches with version-specific compatibility and regression checks.

Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: Help your AI agent finish the job: solve the right problem, keep changes focused, and show what was verified. For Claude Code and Codex. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “Use the ln-42-dependency-upgrader skill to upgrade dependencies in reversible batches with version-specific compatibility and regression checks”
  • “/ln-42-dependency-upgrader”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Discover Scope and Protect the Workspace
  2. Research and Plan Batches
  3. Apply Each Batch Safely
  4. Verify and Keep or Revert
  5. Finalize and Report

What it can do on your machine

Read from SKILL.md and the folder at commit 0ce8796. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ln 42 Dependency Upgrader loads about 3.5k tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 1,764 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~3.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from levnikolaevich/claude-code-skills at commit 0ce8796, republished under its MIT licence (© levnikolaevich). 1,764 words, ~3,514 tokens.

Download SKILL.mdSave it as .claude/skills/ln-42-dependency-upgrader/SKILL.md (or your agent's skills folder).
name
ln-42-dependency-upgrader
description
Upgrades dependencies in reversible batches with version-specific compatibility and regression checks.

Dependency Upgrader

Goal: Upgrade dependencies in small, attributable batches. Preserve manifests, lockfiles, runtime support, and product behavior; do not treat a newer version as valuable without compatibility, security, or maintenance evidence.

Execution contract: The checklist defines completion. Track each item internally as PENDING, PROVEN with evidence, CLEARED with evidence its condition is absent, or UNPROVEN with a gap; reading, delegation, tool failure, a zero exit status, or a self-reported success is not proof; only the observed outcome is. Reconcile after each section. Before returning, resolve all PENDING, count only PROVEN and CLEARED, and apply verdict and approval rules to every gap. Preserve intent, scope, and existing authorization. Continue authorized work; ask only for consequential unresolved choices or required external approval. When no one can answer during the run, state the exact question and apply the skill's verdict for the remaining gap instead of waiting or guessing. Scale depth to material risk without skipping checks. Preserve dependency and safety order; otherwise choose an appropriate verification method. Accept equivalent user or repository evidence; no other skill, named artifact, or complete lifecycle is required. Preserve source requirement and decision IDs. Bind reused evidence to relevant source versions, dirty changes, configuration, and environment; invalidate only affected claims. On continuation, reconcile task, authorization, current state, and unresolved evidence. For long work, return a compact continuation record or update an already authorized artifact; read-only skills do not persist it. Distinguish artifact readiness, verified behavior, and external-action authority. Prepare authorized work before required approval. If blocked by an instruction, cite its exact source and unresolved boundary; do not invent approval gates from caution.

Tool Routing

NeedPreferred toolUse it whenFallback
Package-manager detectionManifests, lockfiles, workspace files, runtime files, and repository instructionsAlways before choosing commands or update scopeBuild and CI configuration
Outdated and vulnerable packagesNative package-manager outdated and audit commandsThe manager and registry are availableOfficial registry, vendor advisory, and lockfile inspection
Breaking changes and supportOfficial release notes, migration guides, changelogs, advisories, and runtime support tablesEvery consequential minor, major, replacement, or security updatePrimary-source repository releases; otherwise mark UNVERIFIED
Usage and blast radiusLanguage server or host-native code intelligenceAn updated API, type, plugin, build tool, or runtime may affect consumersTargeted import, symbol, configuration, and script search
Safe version changesNative package-manager commandsUpdating manifests and generated lock stateDo not hand-edit lockfiles or emulate package resolution
VerificationRepository-defined install, restore, build, lint, type, test, migration, and smoke commandsBefore changes and after each batchCI and script inspection with explicit unverified status
Diff and rollbackGit status, diff, and isolated commits or worktreeProtecting user changes and reverting only the failed batchStop if the batch cannot be isolated safely

Never publish packages, rotate credentials, deploy, or weaken audit and verification gates. Do not run lifecycle scripts from an untrusted package source without the environment's normal safeguards.

Evidence Rules

  • Manifests declare constraints and lockfiles record resolved versions; install metadata proves the active environment when it differs. Registry "latest" does not override runtime or compatibility constraints.
  • A vulnerability finding requires the affected version, advisory, reachability or exposure context, and a credible remediation.
  • A breaking-change claim requires release or migration evidence matching the exact version transition.
  • Keep generated lockfile changes only when produced by the selected native package manager and expected repository version.
  • Upgrade success requires repository verification, not only a successful install or restore.

Checklist

1. Discover Scope and Protect the Workspace
  • Detect package managers, manifests, locks, registries, runtime/tool pins, generated state, and dependency-linked workspaces within the requested update scope; expand only for demonstrated compatibility dependencies.
  • Classify each deliverable as an application, library, plugin, CLI, container, or build tool so version ranges, lockfiles, peer constraints, and supported-runtime promises are interpreted correctly.
  • Read repository instructions and determine supported package-manager versions, update commands, lockfile policy, and CI expectations.
  • Inspect Git state and isolate the work so existing user changes cannot be overwritten or mistaken for upgrade output.
  • Run-owned resources: Start a run-owned resource ledger with every created absolute path, worktree, process ID, cache, report, and temporary artifact; never register pre-existing resources as cleanup targets.
  • Resolve the requested scope: security-only, routine patch or minor maintenance, selected packages, majors, runtime migration, or complete refresh.
  • Capture install or restore, build, lint, type, test, smoke, and security-audit baseline before editing.
  • Record pre-existing failures, advisories, deprecations, peer conflicts, and unsupported runtime combinations.
2. Research and Plan Batches
  • Use native outdated and audit commands to inventory direct and relevant transitive updates without changing files.
  • Separate removals, security fixes, routine updates, major changes, build-tool changes, and runtime or ecosystem migrations.
  • Check official release notes and migration guides for API changes, configuration changes, defaults, peer constraints, runtime support, and removed behavior.
  • Resolve environment markers, extras, optional/dev groups, peer dependencies, target frameworks, and platform-specific packages; a graph that resolves only on the current machine is not sufficient when the project promises a wider matrix.
  • Check official advisories for affected ranges, exploit conditions, fixed versions, workarounds, and whether the dependency is reachable in this project.
  • Search actual imports, symbols, plugins, scripts, configuration, generated code, and runtime loading for every consequential dependency.
  • Identify unused, duplicate, abandoned, replaced, or platform-redundant dependencies as separate removal candidates; require runtime and dynamic-loading evidence, and explicit user approval when removal is outside the requested upgrade scope.
  • Order batches by the actual compatibility graph; package manager/runtime, tooling, foundational libraries, framework, integrations, and leaves are a discovery guide, not a fixed sequence. Combine mutually dependent transitions.
  • Keep routine batches small enough to attribute failure; batch framework families, analyzers, generated clients, or tightly constrained peers together only when their compatibility matrix requires it.
  • Stop for user direction when mutually exclusive version strategies, runtime support, licensing, registry policy, or migration scope changes product intent.
3. Apply Each Batch Safely
  • Use the native package manager to update manifests and lockfiles with the repository's expected version and flags.
  • Avoid broad re-resolution when the request is narrow unless the manager cannot preserve the lock graph safely; explain unavoidable churn.
  • Inspect install scripts, registry source, checksums, package provenance, and unexpected new transitive packages when security risk warrants it.
  • Update imports, APIs, types, configuration, build scripts, plugins, generated clients, and application code required by documented breaking changes.
  • Update user or operator documentation only when accepted behavior, prerequisites, configuration, or commands change.
  • Inspect the diff immediately for unrelated formatting, deleted constraints, registry drift, line-ending churn, generated artifacts, and accidental downgrades.
  • Inspect the resolved graph for newly duplicated major versions, unsatisfied or silently ignored peers, changed optional features, and transitive substitutions that alter runtime behavior.
  • Do not suppress warnings, disable audits, skip required checks, pin incompatible peers forcibly, or add compatibility hacks without evidence.
Show full SKILL.md (658 more words)Show less
4. Verify and Keep or Revert
  • Test value and boundary: Require every test to detect a concrete defect in this product's business logic and name the protected business outcome. Prefer E2E through user or external-system boundaries; use integration or unit tests only for business scenarios difficult to exercise reliably through E2E. Reject platform, trivial-wiring, implementation-detail, and duplicate proof with no distinct business failure signal.
  • Run install or restore from a clean-enough state to prove lockfile reproducibility.
  • Run the relevant build, lint, type, unit, integration, smoke, packaging, migration, and application-start checks after each batch.
  • Classify affected runtime, target-framework, OS, architecture, and feature combinations as required or optional; retain a batch only with local or trusted CI evidence for every required cell, and return BLOCKED when required coverage has no credible fallback.
  • Exercise changed APIs, plugins, serializers, build outputs, and runtime paths that generic tests may not cover.
  • Compare bundle, startup, artifact, or performance metrics when the updated dependency can materially change them.
  • Re-run the security audit and distinguish fixed, remaining, newly introduced, unreachable, and no-fix advisories.
  • Keep the batch only when verification passes and expected behavior remains supported.
  • For a failed batch, distinguish baseline or environment failures from upgrade defects; repair bounded migration errors and recheck, or revert the entire batch without touching user work. Record the blocker and continue only with independent safe batches.
  • Establish the retained dependency state as the baseline before applying the next batch.
  • Classify each planned batch as KEPT when applied and verified, REVERTED when applied then fully rolled back after failed verification, or SKIPPED when deliberately not applied because a required decision, compatibility strategy, or independent prerequisite is unresolved.
5. Finalize and Report
  • Confirm all required repository verification covers the combined retained state. Reuse still-valid results; run missing checks and rerun those invalidated by later batches or unresolved failures.
  • Confirm manifests, lockfiles, runtime pins, CI, containers, documentation, and generated metadata agree on the final versions.
  • Run-owned cleanup: Remove only run-owned ledger entries: verify absolute paths remain inside approved temporary roots, stop exact recorded process IDs, preserve dirty or pre-existing worktrees, and retain evidence artifacts intentionally reported.
  • List intentionally skipped packages with exact constraint, risk, advisory, or migration reason.
  • Reconcile the batch ledger with final versions, migration edits, advisories, lockfile churn, and residual risks.
  • Bind each retained batch to its original and final dependency state, runtime/configuration, compatibility evidence, and any invalidated checks.
  • Use DELIVERED only when the requested update scope is satisfied and verified; PARTIAL when a safe subset is retained but requested work or optional coverage remains; NO_CHANGE when no batch is retained and baseline is restored; BLOCKED when safe progress or required verification is unavailable.

Self-Check

  • Reconcile before returning. Check item-level evidence, requirement coverage, contradictions, scope, verdict, and applicable cleanup. Correct the report or authorized artifacts. Reuse valid evidence; do not automatically rescan the repository or rerun successful commands. Repeat checks only for relevant changes, failures, or unresolved evidence. Disclose remaining gaps.

Output Contract

Report in the user's language, in this order; label all five fields and state each fact once. Use controlled plain language: one fact per sentence, usually under 20 words, active voice, and one term per concept, with no synonyms for verdicts, IDs, or states. Small results may use one line per field; omit empty tables and do not copy linked artifacts:

  1. Result: The exact skill-specific verdict token first, then the supported outcome.
  2. Scope: Reviewed/changed scope, exclusions, baseline, and material assumptions.
  3. Evidence: Skill-specific fields below; distinguish facts, inferences, and unverified claims. Link artifacts; use tables when useful.
  4. Verification: Checks/results, unavailable evidence, and applicable cleanup/external state.
  5. Completion: Checklist: X/Y complete; Incomplete: None or each UNPROVEN item's reason, outcome impact, and exact next action; residual risks and required decisions.

Skill-specific evidence: Managers, workspaces, runtimes, requested update policy, and pre-existing failures/advisories. Per batch: packages, versions, migrations, KEPT / REVERTED / SKIPPED, and verification. Include fixed/remaining/new advisories, peer/runtime/registry constraints, lockfile churn, skipped-package reasons, combined-state checks, run-owned manifest/lockfile/diff and rollback/cleanup evidence.

© levnikolaevich, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/implementation-suite/skills/ln-42-dependency-upgrader of levnikolaevich/claude-code-skills.

Open the folder on GitHubat commit 0ce8796

Compare with similar skills

Ln 42 Dependency Upgrader next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ln 42 Dependency Upgrader compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ln 42 Dependency Upgrader this skilllevnikolaevich/claude-code-skills574—~3.5kAutomated safety check: PassMIT
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k4 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from levnikolaevich/claude-code-skills

All 31 skills in this repo
  • Ln 53 Documentation Auditor

    levnikolaevich/claude-code-skills

    Audits documentation and comments for trust, coverage, consistency and freshness; read-only.

    574 GitHub stars~3.8k tokensUpdated 5 days ago
    Auto-check passed
  • Ln 81 Skill Reviewer

    levnikolaevich/claude-code-skills

    Reviews skill instructions, trigger boundaries and distribution contracts; not product code.

    574 GitHub stars~3.5k tokensUpdated 5 days ago
    Auto-check passed
  • Ln 11 Opportunity Evaluator

    levnikolaevich/claude-code-skills

    Evaluates new product opportunities through demand, channels and economics before committing to build.

    574 GitHub stars~3k tokensUpdated 5 days ago
    Auto-check passed
  • Ln 12 Product Requirements Builder

    levnikolaevich/claude-code-skills

    Defines product requirements, business rules and acceptance criteria for a committed intent; edits product docs only.

    574 GitHub stars~1.9k tokensUpdated 5 days ago
    Auto-check passed
  • Ln 13 Interaction Design Builder

    levnikolaevich/claude-code-skills

    Designs user flows, interaction states and mockups for a defined product scope; does not implement UI code.

    574 GitHub stars~1.8k tokensUpdated 5 days ago
    Auto-check passed
  • Ln 21 System Design Baseline Builder

    levnikolaevich/claude-code-skills

    Defines measurable architecture drivers and constraints before system design; edits architecture docs only.

    574 GitHub stars~2.5k tokensUpdated 5 days ago
    Auto-check passed

Categories

Questions about Ln 42 Dependency Upgrader

What does Ln 42 Dependency Upgrader do?

Upgrades dependencies in reversible batches with version-specific compatibility and regression checks. Ln 42 Dependency Upgrader is an agent skill from levnikolaevich/claude-code-skills. Upgrades dependencies in reversible batches with version-specific compatibility and regression checks.

When should I use Ln 42 Dependency Upgrader?

Ln 42 Dependency Upgrader fits situations like: development work in your project.

How do I install Ln 42 Dependency Upgrader in Claude Code?

Run `npx skills add levnikolaevich/claude-code-skills --skill ln-42-dependency-upgrader -a claude-code`. Or copy the skill folder (plugins/implementation-suite/skills/ln-42-dependency-upgrader in levnikolaevich/claude-code-skills) into .claude/skills/ln-42-dependency-upgrader in your project. Claude Code loads it when a task matches its description.

How do I install Ln 42 Dependency Upgrader in Codex?

Run `npx skills add levnikolaevich/claude-code-skills --skill ln-42-dependency-upgrader -a codex`. Or copy the skill folder (plugins/implementation-suite/skills/ln-42-dependency-upgrader in levnikolaevich/claude-code-skills) into .agents/skills/ln-42-dependency-upgrader in your project. Codex loads it when a task matches its description.

Can I use Ln 42 Dependency Upgrader in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add levnikolaevich/claude-code-skills --skill ln-42-dependency-upgrader -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ln-42-dependency-upgrader, .gemini/skills/ln-42-dependency-upgrader, .github/skills/ln-42-dependency-upgrader and .opencode/skills/ln-42-dependency-upgrader in your project.

What does Ln 42 Dependency Upgrader need to run?

SKILL.md names no scripts, command-line tools or credentials: Ln 42 Dependency Upgrader is instructions for the agent only.

Does Ln 42 Dependency Upgrader access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ln 42 Dependency Upgrader safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ln 42 Dependency Upgrader use?

Ln 42 Dependency Upgrader is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ln 42 Dependency Upgrader use?

About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ln 42 Dependency Upgrader?

Skills that share tags, products or a category with Ln 42 Dependency Upgrader: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ln 42 Dependency Upgrader?

levnikolaevich (a GitHub user) maintains it in levnikolaevich/claude-code-skills, which has 574 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on October 5, 2026.

Source: levnikolaevich/claude-code-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.