aj-geddes avatar

Dependency Management

Handles the full spectrum of dependency work across npm, pip, bundler, and other package managers. You'll reach for this when installing packages, resolving version conflicts, running security audits, or debugging why your lock file is causing issues in CI. The guide covers semantic versioning, monorepo setups, peer dependencies, and the difference between npm install and npm ci (which matters more than you'd think). Best part is the concrete dos and don'ts, like why you should never manually edit lock files or mix package managers in the same project. Solid reference when dependency hell strikes.

skills.sh installs
481
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill dependency-management --agent claude-code

Installs into .claude/skills of the current project.

Files

Dependency Management

Table of Contents

Overview

Comprehensive dependency management across JavaScript/Node.js, Python, Ruby, Java, and other ecosystems. Covers version control, conflict resolution, security auditing, and best practices for maintaining healthy dependencies.

When to Use

  • Installing or updating project dependencies
  • Resolving version conflicts
  • Auditing security vulnerabilities
  • Managing lock files (package-lock.json, Gemfile.lock, etc.)
  • Implementing semantic versioning
  • Setting up monorepo dependencies
  • Optimizing dependency trees
  • Managing peer dependencies

Quick Start

Minimal working example:

# Initialize project
npm init -y

# Install dependencies
npm install express
npm install --save-dev jest
npm install --save-exact lodash  # Exact version

# Update dependencies
npm update
npm outdated  # Check for outdated packages

# Audit security
npm audit
npm audit fix

# Clean install from lock file
npm ci  # Use in CI/CD

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Security, AI & Agent Building, Release Management
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258

Recommended

More Security
1jezweb avatarai-sdk-corejezweb/claude-skillsBuild backend AI with Vercel AI SDK v6 stable. Covers Output API (replaces generateObject/streamObject), speech synthesis, transcription, embeddings, MCP tools 479skills.sh installs
2aj-geddes avataraws-cloudfront-cdnaj-geddes/useful-ai-promptsDistribute content globally using CloudFront with caching, security headers, WAF integration, and origin configuration. Use for low-latency content delivery.478skills.sh installs
3solanaguide avatarsolana-payments-wallets-tradingsolanaguide/solana-cliPay people in SOL or USDC, buy and sell tokens, check prices, discover trending and new tokens, create and manage Solana wallets, stake SOL, earn yield through 477skills.sh installs
4aj-geddes avatardjango-applicationaj-geddes/useful-ai-promptsDevelop production-grade Django applications with models, views, ORM queries, authentication, and admin interfaces. Use when building web applications, managing476skills.sh installs
5aj-geddes avataraws-ec2-setupaj-geddes/useful-ai-promptsLaunch and configure EC2 instances with security groups, IAM roles, key pairs, AMIs, and auto-scaling. Use for virtual servers and managed infrastructure.470skills.sh installs
6secondsky avatarapi-reference-documentationsecondsky/claude-skillsCreates professional API documentation using OpenAPI specifications with endpoints, authentication, and interactive examples. Use when documenting REST APIs, cr465skills.sh installs