dependency-versions

Resolve dependency versions from registries using package manager add commands.

Updated Jun 6, 2026
One-click install
npx skills add https://github.com/hacker-cb/claude-code-plugins --skill dependency-versions-hacker-cb
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dependency-versions
Source: https://github.com/hacker-cb/claude-code-plugins/tree/main/plugins/hcb-dev/skills/dependency-versions
Command: npx skills add https://github.com/hacker-cb/claude-code-plugins --skill dependency-versions-hacker-cb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Hand-typed version strings in dependency manifests are often outdated or wrong because they come from memory rather than the registry. This Skill ensures every dependency version is resolved from the live registry by the package manager itself, keeping manifests, lockfiles, and Dependabot configuration accurate. ## Core Features & Use Cases - Registry-Resolved Versions: Uses each package manager's add/install command (cargo add, pnpm add, uv add, go get, bundle add) so the correct current version lands in both the manifest and lockfile in one step. - Runtime and Actions Pinning: Pins Node.js to the active LTS major via nvm, and GitHub Actions to floating major version tags resolved with the gh CLI rather than commit SHAs. - Dependabot Synchronization: On GitHub-hosted repos, checks .github/dependabot.yml covers every ecosystem and directory in use, adding entries or proposing a new config with grouping and cooldown defaults. - Use Case: When asked to add a new npm package to a repository, the Skill runs pnpm add to resolve the latest version, then verifies the npm ecosystem and directory are covered in dependabot.yml. ## Quick Start Add the lodash dependency to my Node project and make sure Dependabot covers it.

Frequently Asked Questions about dependency-versions

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

FAQPage Schema
How do I add a dependency with the correct latest version?▼

Use the package manager's own add command, such as cargo add, pnpm add, uv add, go get, or bundle add. It resolves the current version from the registry and writes it into both the manifest and the lockfile in one step, avoiding stale hand-typed versions.

How should I pin GitHub Actions versions in workflows?▼

Pin GitHub Actions to a floating major version tag like @vN, not a commit SHA. Resolve the current major with gh release view against the action's repository, and let Dependabot raise the major when a new one ships.

What Node.js version should I pin for a project?▼

Pin Node.js to the active LTS major rather than latest. Check available LTS versions with nvm ls-remote --lts before setting the runtime version.

Does Dependabot cover every manifest in a monorepo?▼

Dependabot entries are scoped by both package-ecosystem and directory, so a manifest is covered only when both match an entry. Add a matching entry for any uncovered ecosystem or directory, unless another tool like Renovate deliberately handles it.

When should I not create a Dependabot config automatically?▼

Create .github/dependabot.yml only with the maintainer's approval, because it starts opening automated update PRs. Suggest enabling it once, and if declined, leave the repo without the config.