dependency-management

Select and integrate external libraries for Python and Node.js projects.

Updated Nov 19, 2025
One-click install
npx skills add https://github.com/nikblanchet/claude-code-production-patterns --skill dependency-management-nikblanchet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dependency-management
Source: https://github.com/nikblanchet/claude-code-production-patterns/tree/main/actual-code/skills/user/dependency-management
Command: npx skills add https://github.com/nikblanchet/claude-code-production-patterns --skill dependency-management-nikblanchet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers often waste time reinventing solutions for common problems or struggle with inconsistent package management, leading to conflicts and inefficiencies. This Skill promotes the efficient use of quality external libraries and provides a structured approach to Python package management using conda and pip, saving development time and ensuring stable environments.

Core Features & Use Cases

  • "Use Don't Reinvent" Philosophy: Encourages leveraging existing, reliable libraries to solve common problems, significantly reducing development effort.
  • Python Package Strategy: Recommends conda over pip where possible, with separate requirements-conda.txt and requirements-pip.txt files for robust dependency management.
  • Library Evaluation: Guides on assessing library quality based on maintenance history, documentation, and API design, ensuring you choose reliable and well-supported tools.
  • Use Case: A developer needs to add a new parsing library to a Python project. This skill guides them to first check for a conda package, then pip, and to update the appropriate requirements file, ensuring consistent and conflict-free dependency management.

Quick Start

When considering adding a new dependency, ask me to "Help me evaluate and add a new dependency." I will guide you through the process, including Python-specific recommendations.

Frequently Asked Questions about dependency-management

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

FAQPage Schema
How do I manage Python dependencies with conda and pip?

Manage Python dependencies by prioritizing conda packages over pip, then maintaining separate requirements-conda.txt and requirements-pip.txt files. This approach prevents conflicts and ensures reproducible environments across projects while leveraging quality external libraries instead of building solutions from scratch.

How do I evaluate which library to add to my project?

Evaluate libraries by assessing maintenance history, documentation quality, and API design to ensure reliability. Prefer well-supported, actively maintained packages that solve your problem effectively, reducing development time and technical debt compared to custom implementations.

When should I use an external library versus building my own solution?

Use external libraries for common problems to avoid reinventing functionality. Leverage existing, reliable packages whenever available; custom code introduces maintenance burden and risk. Reserve custom development for unique requirements your domain doesn't already address.

What's the best workflow for adding a new npm or Python package?

When adding dependencies, first check for conda packages in Python projects, then pip. Install through the appropriate manager, update the corresponding requirements file, and document the addition. This structured workflow maintains consistency and prevents dependency conflicts.

Can I manage dependencies across both Node.js and Python projects?

Yes, this approach handles dependency management for both Node.js environments and Python projects. Use npm for Node.js and conda/pip for Python, applying consistent evaluation and documentation practices across your tech stack.

How do I update dependencies without breaking my project?

Maintain separate requirements files and update dependencies systematically through your package manager. Document all changes, test after updates, and use your package manager's version pinning to control which updates apply, ensuring stable environments.