update-dependencies

Automates dependency updates across npm, Python, and Rust ecosystems with security audits and risk scoring.

1|Updated Nov 11, 2012
One-click install
npx skills add https://github.com/fairchild/dotfiles --skill update-dependencies-fairchild
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: update-dependencies
Source: https://github.com/fairchild/dotfiles/tree/main/agents/shared/first-party-skills/update-dependencies
Command: npx skills add https://github.com/fairchild/dotfiles --skill update-dependencies-fairchild

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Keeping project dependencies current is tedious and risky: security vulnerabilities pile up, major version bumps break builds, and teams lack a consistent process for batching, testing, and tracking updates across different package ecosystems. ## Core Features & Use Cases - Multi-Ecosystem Detection: Automatically detects npm/bun/pnpm, uv/poetry, and Cargo projects from lockfiles and runs the correct audit and outdated-package commands. - Security-First Workflow: Prioritizes vulnerability fixes into their own PRs, then batches patch and minor updates while isolating risky major upgrades. - Risk Assessment & Grouping: Scores each update 1-5 using changelog analysis and groups related packages (React core, Radix UI, Tokio, FastAPI) to reduce PR noise. - Outcome Learning: Logs update results to a JSONL history file so past migrations and failures inform future risk scores. - Use Case: Run the analyzer in a repository with a bun.lock file to get a categorized report of vulnerabilities and outdated packages, then execute grouped updates with standardized PR titles and bodies. ## Quick Start Ask the assistant to analyze and update the outdated dependencies in this project, starting with any security vulnerabilities.

Frequently Asked Questions about update-dependencies

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

FAQPage Schema
How do I update outdated npm dependencies automatically?▼

Run the analyze script to detect your lockfile and list outdated packages categorized by patch, minor, and major bumps. The skill then groups related packages, applies updates with npm-check-updates, runs tests, and creates a formatted pull request.

How do I fix security vulnerabilities in project dependencies?▼

Security fixes are handled first in a dedicated phase using npm audit, pip-audit, or cargo audit depending on the detected ecosystem. Critical and high severity vulnerabilities get their own PR for fast merging, while moderate and low issues batch with related updates.

Does this support Python uv and poetry projects?▼

Yes, Python projects are detected via uv.lock or poetry.lock files. The skill uses pip-audit for security scanning, uv lock --upgrade or poetry update for upgrades, and commits the appropriate lockfile after updates.

How are risky major version updates handled?▼

Major updates receive individual pull requests rather than batching. Each package gets a 1-5 risk score based on changelog analysis, and past outcomes from the outcomes.jsonl history file raise the score if previous updates required migration.

What happens if tests fail during a dependency update?▼

If tests fail after applying updates, the workflow identifies the problematic package, excludes it from the group, and retries the remaining updates. Failed outcomes are logged to the history file to inform future risk assessments.