Automated workflow for updating dependencies and runtimes while maintaining CI health.

Install

mkdir -p .claude/skills/upgrade-deps-obot-platform && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11967" && unzip -o skill.zip -d .claude/skills/upgrade-deps-obot-platform && rm skill.zip

Installs to .claude/skills/upgrade-deps-obot-platform

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Upgrade dependencies and runtimes safely, run CI, and report higher-risk options.
81 charsno explicit “when” trigger
Advanced

Key capabilities

  • Identify package managers, lockfiles, and runtime version declarations
  • Discover available updates for JavaScript dependencies and Go modules
  • Check runtime updates for Node.js and Go
  • Classify updates as low impact or higher risk
  • Auto-adopt only low-impact updates and run CI for validation

How it works

The skill inventories dependencies and runtimes, discovers available updates, classifies them by impact, applies low-impact updates, validates with CI, and reports higher-risk options for user decision.

Inputs & outputs

You give it
An optional scope (e.g., 'frontend only', 'include runtimes') for dependency and runtime upgrade pass
You get back
A summary of low-impact changes applied, CI results, and a list of higher-risk upgrades with recommendations

When to use upgrade-deps

  • Updating Go modules
  • Bumping Node.js runtime versions
  • Updating GitHub Actions versions

About this skill

Run a dependency and runtime upgrade pass for this repository.

User scope or notes: $ARGUMENTS

Follow this workflow exactly:

  1. Baseline and inventory

    • Check git status --short first and protect any pre-existing user changes.
    • Identify package managers, lockfiles, runtime version declarations, language-specific manifests, CI workflow files, Dockerfiles, Compose files, container build scripts, and checked-in automation that pins tools or images.
    • For this repository, expect pnpm, Go modules/workspaces, Node runtime pins, Go runtime/toolchain declarations, GitHub Actions, Dockerfiles, Compose files, and scripts.
  2. Discover available updates

    • Check outdated JavaScript dependencies with pnpm tooling.
    • Check Go module updates with go list -m -u in each relevant module/workspace.
    • Check runtime updates for Node.js and Go by inspecting checked-in version pins and current upstream stable releases when needed.
    • Check CI workflow maintenance items, including pinned GitHub Actions versions, setup-node/setup-go versions, workflow tool versions, cache keys, package-manager setup steps, and runtime versions duplicated in workflow files.
    • Check Docker and container maintenance items, including base image tags, runtime/package-manager install steps, image build arguments, Compose image tags, and scripts that build or publish container artifacts.
    • Classify each available update as:
      • Low impact: patch/minor dependency updates within the declared compatible range, lockfile refreshes, non-breaking tool/action patch updates, and Docker base image patch or digest refreshes that stay on the same runtime and distro family.
      • Higher risk: major dependency updates, framework/compiler/runtime version changes, package-manager major changes, Go/Node major or policy changes, GitHub Actions major changes, CI environment or permission changes, Docker base image major/distro-family changes, generated-code-affecting upgrades, or anything with visible migration notes.
  3. Auto-adopt only low-impact updates

    • Apply low-impact updates directly.
    • Keep changes minimal and scoped to dependency/runtime metadata, lockfiles, workflow files, Docker/container metadata, and scripts that only pin versions.
    • Run the package-manager/go tidy commands needed to make lockfiles and sums consistent.
    • Keep runtime pins aligned across manifests, CI workflows, Dockerfiles, and scripts when adopting a runtime or package-manager version.
    • Do not auto-apply higher-risk updates.
  4. Validate

    • Run the repository CI using /ci after low-impact changes are applied.
    • When workflow or Docker/container files changed, also run the relevant local validation commands available in the repository, such as workflow formatting, shell checks, Docker build checks, or targeted tests for build scripts.
    • If CI fails, diagnose and fix issues caused by the adopted upgrades, then rerun /ci until it passes or a clear blocker remains.
  5. Report and ask about higher-risk upgrades

    • Summarize the low-impact changes that were applied, including files changed.
    • State the CI result.
    • Explicitly call out any CI workflow, Dockerfile, Compose, or automation changes, including which tool/image/action pins moved and whether runtime pins remain consistent across the repo.
    • List higher-risk upgrades that are available but not applied. For each, include: current version, available version, why it is higher risk, expected migration or validation work, and a recommendation.
    • Ask the user which, if any, higher-risk upgrades they want to accept next.
    • Do not commit changes unless the user explicitly asks.

Important constraints:

  • Preserve unrelated user changes.
  • Prefer pnpm over npm/yarn.
  • Use Go 1.26 style guidance from AGENTS.md when Go files must change.
  • Update relevant docs only if runtime/dependency policy or developer commands change.

When not to use it

  • When preserving unrelated user changes is not a priority
  • When the user explicitly asks to commit changes without prior approval
  • When the goal is to auto-apply higher-risk updates without user confirmation

Limitations

  • It preserves unrelated user changes.
  • It prefers pnpm over npm/yarn.
  • It does not auto-apply higher-risk updates.

How it compares

This skill automates the safe upgrade of dependencies and runtimes with impact classification and CI validation, unlike manually updating each dependency and checking compatibility.

Compared to similar skills

upgrade-deps side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
upgrade-deps (this skill)02moNo flagsAdvanced
github-actions-templates73moNo flagsIntermediate
ci-cd-config-sync03moReviewIntermediate
bump-go-dependencies13moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry