upgrade-deps
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.zipInstalls 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.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
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:
-
Baseline and inventory
- Check
git status --shortfirst 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.
- Check
-
Discover available updates
- Check outdated JavaScript dependencies with pnpm tooling.
- Check Go module updates with
go list -m -uin 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.
-
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.
-
Validate
- Run the repository CI using
/ciafter 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
/ciuntil it passes or a clear blocker remains.
- Run the repository CI using
-
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| upgrade-deps (this skill) | 0 | 2mo | No flags | Advanced |
| github-actions-templates | 7 | 3mo | No flags | Intermediate |
| ci-cd-config-sync | 0 | 3mo | Review | Intermediate |
| bump-go-dependencies | 1 | 3mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
github-actions-templates
wshobson
Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications. Use when setting up CI/CD with GitHub Actions, automating development workflows, or creating reusable workflow templates.
ci-cd-config-sync
mrcoffeex
Detect codebase changes and suggest GitHub Actions CI/CD config updates. Use when: adding dependencies (composer/npm), creating new Laravel features, changing environment variables, modifying Docker Compose, or adding tests. Analyzes changes and proposes workflow updates to keep CI/CD in sync with y
bump-go-dependencies
docker
Update direct Go module dependencies one by one, validating each bump with tests and linter, committing individually, and producing a summary table for a PR description
update-go-version
grafana
Update Go version across the Tempo codebase (go.mod, tools/go.mod, Dockerfile, CI workflows, tools image tag)
makefile-dev-workflow
raphaelmansuy
Unified development workflow for EdgeQuake using Makefile commands. Use when starting services, running tests, or managing the full development stack (database, backend, frontend). Provides simplified alternatives to raw cargo/npm commands.
update-major-deps
makeup
Perform major dependency updates one logical group at a time, assessing breakage risk, then build, test, and create a signed commit per group