versions

Verify package versions against package.json and block unapproved installs.

41|3|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/darkroomengineering/cc-settings --skill versions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: versions
Source: https://github.com/darkroomengineering/cc-settings/tree/main/skills/versions
Command: npx skills add https://github.com/darkroomengineering/cc-settings --skill versions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents installing packages without confirming the latest versions, reducing risk from outdated or vulnerable dependencies.

Core Features & Use Cases

  • Version verification: checks latest versions before installation commands like bun add or npm install.
  • Upgrade guidance: suggests updates when libraries are outdated to avoid compatibility issues.
  • Safety guardrails: blocks unverified installs in CI and production pipelines.

Quick Start

Check the latest version of a package and install only if approved.

Frequently Asked Questions about versions

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

FAQPage Schema
How do I check package versions before installing dependencies?

Check the latest package versions against your package.json before running bun add or npm install. This preinstall check blocks unapproved installations to prevent regressions and ensure only verified dependencies are added.

Can I block npm install or bun add from running in CI pipelines?

Yes, safety guardrails block unverified installs in CI and production pipelines. The version check compares the requested package against the latest available version and halts the installation command if the version is not approved.

Why should I verify the latest package versions before updating dependencies?

Verifying the latest package versions before updating dependencies reduces the risk of introducing outdated or vulnerable libraries into your project. It provides upgrade guidance and prevents compatibility issues by enforcing version approval before installation.

What is a preinstall check for package management?

A preinstall check for package management is a safety mechanism that identifies and enforces correct package versions before installation commands execute. It verifies the latest versions, compares them against package.json, and blocks installations when versions are not approved.

Does this version verification work with both bun add and npm install?

Yes, version verification is applicable whenever adding dependencies across development, testing, and production workflows. It actively checks versions before installation commands like bun add or npm install to ensure package safety.