skills/dependency-management/SKILL.md
Manage project dependencies across languages including npm install, package versioning, dependency conflicts, security scanning, and lock files. Use when dealing with dependencies, version pinning, semantic versioning, or resolving conflicts.
npx skillsauth add aj-geddes/useful-ai-prompts dependency-managementInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
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
# View dependency tree
npm list
npm list --depth=0 # Top-level only
Detailed implementations in the references/ directory:
| Guide | Contents | |---|---| | Package Manager Basics | Package Manager Basics | | Semantic Versioning (SemVer) | Semantic Versioning (SemVer) | | Dependency Lock Files | Dependency Lock Files | | Resolving Dependency Conflicts | Resolving Dependency Conflicts | | Security Vulnerability Management | Security Vulnerability Management | | Monorepo Dependency Management | Monorepo Dependency Management | | Peer Dependencies | Peer Dependencies | | Performance Optimization | Performance Optimization | | CI/CD Best Practices | CI/CD Best Practices | | Dependency Update Strategies | Dependency Update Strategies |
npm ci or equivalent in CI/CD pipelinesnpm install in CI/CD (use npm ci)latest tag in productionnpm audit fixdevelopment
Implement Zero Trust security model with identity verification, microsegmentation, least privilege access, and continuous monitoring. Use when building secure cloud-native applications.
development
Prevent Cross-Site Scripting (XSS) attacks through input sanitization, output encoding, and Content Security Policy. Use when handling user-generated content in web applications.
tools
Create wireframes and interactive prototypes to visualize user interfaces and gather feedback early. Use tools and techniques to communicate design ideas before development.
development
Implement real-time bidirectional communication with WebSockets including connection management, message routing, and scaling. Use when building real-time features, chat systems, live notifications, or collaborative applications.