Skip to content
Back to skills

Dependency Management

ASecurity

Dependencies — necessity and alternatives, health (maintenance, bus factor), license compatibility, vulnerability and freshness tracking, lockfiles, update cadence (Renovate/Dependabot), batching minors, major upgrades with changelog review and codemods, removing unused packages. Use when adding, upgrading or auditing dependencies (dependencies, upgrade, npm, lockfile, license, Renovate).

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgosecurity

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add vectora-os/kit --skill dependency-management --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dependency Management?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dependency Management
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectora-os-dependency-management/badge)](https://www.skillsdirectory.com/skills/vectora-os-dependency-management)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dependency-management
description: Dependencies — necessity and alternatives, health (maintenance, bus factor), license compatibility, vulnerability and freshness tracking, lockfiles, update cadence (Renovate/Dependabot), batching minors, major upgrades with changelog review and codemods, removing unused packages. Use when adding, upgrading or auditing dependencies (dependencies, upgrade, npm, lockfile, license, Renovate).
metadata:
  category: engineering-excellence
---

# Dependency management

## Purpose

Keep dependencies few, healthy, licensed and current.

**Use when:** adding, upgrading, auditing packages.

**Not for:** supply chain provenance (`supply-chain-security`).

## Inputs

- Manifests, lockfiles, advisories.

## Outputs

- Upgrade PRs, dependency review, freshness report.

## Read first

- [Project Brain](../../../project-brain/README.md) — `npm run brain -- query "dependency management"` for prior decisions, patterns and anti-patterns.

## Steps

1. **Need.** For new packages: is it needed, alternatives, ADR?
   Done when justification recorded.
2. **Health.** Maintenance, license, vulnerabilities, size, transitive deps.
   Done when risks listed.
3. **Upgrade.** Read changelogs; codemods; test.
   Done when breaking changes handled.
4. **Prune.** Remove unused and duplicate packages.
   Done when inventory shrinks or holds.

## Best practices

- Automate minor/patch updates with grouped PRs.
- Lockfiles committed and verified in CI.

## Common mistakes

- Adding a package for one function.
- Ignoring transitive vulnerabilities.

## Example

Renovate groups weekly minors; quarterly majors with changelog review; 14 unused packages removed.

## Reusable prompt

```text
Apply the Dependency management skill (.agents/skills/dependency-management/SKILL.md).
Context: {{task card or question; links to PRD, ADRs, code paths}}
Constraints: {{approved thresholds, deadlines, allowed files}}
Assess, upgrade or prune the dependencies with changelog review, license and vulnerability checks.
Return: Upgrade PRs, dependency review, freshness report..
Cite evidence (file:line, command output, source) for every claim; list open questions separately.
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.