dependency-resolver

Diagnose and resolve package dependency conflicts across npm, pip, Maven, Gradle, Cargo, and Go.

1|2|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/santosomar/general-secure-coding-agent-skills --skill dependency-resolver-santosomar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dependency-resolver
Source: https://github.com/santosomar/general-secure-coding-agent-skills/tree/main/skills/code-analysis/dependency-resolver
Command: npx skills add https://github.com/santosomar/general-secure-coding-agent-skills --skill dependency-resolver-santosomar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill diagnoses and resolves complex package dependency conflicts across various ecosystems, such as version mismatches, diamond dependencies, and circular dependencies, which often cause installation failures or break existing functionality.

Core Features & Use Cases

  • Conflict Diagnosis: Identifies the root cause of dependency issues (e.g., diamond, upper-bound collision, peer mismatch, cycles).
  • Ecosystem Support: Works with npm, pip, Maven, Gradle, Cargo, and Go.
  • Resolution Strategies: Provides step-by-step guidance on fixing conflicts, from simple updates to more complex overrides and forking.
  • Use Case: When npm install fails with an ERESOLVE error due to incompatible peer dependencies between your project and a library, this Skill helps you identify the conflict and apply an override.

Quick Start

Use the dependency-resolver skill to diagnose and fix the npm dependency conflict reported in the latest installation log.

Frequently Asked Questions about dependency-resolver

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

FAQPage Schema
How do I resolve npm ERESOLVE peer dependency conflicts?

To resolve peer dependency conflicts, diagnose the root cause using ecosystem-specific tree commands, then apply resolution strategies like updating, overriding, or forking the mismatched packages.

What is a diamond dependency conflict and how do I fix it?

A diamond dependency conflict occurs when different dependencies require incompatible versions of the same package. Fix it by diagnosing the version tree and applying overrides or updates to align the requirements.

Can I fix circular dependencies in Cargo or Go modules?

Yes, circular dependencies in Cargo or Go modules can be resolved by diagnosing the cycle using ecosystem-specific tree commands and applying strategies like refactoring, updating, or vendoring to break the loop.

What's the best way to handle Maven or Gradle version mismatches?

The best way to handle Maven or Gradle version mismatches is to run diagnostic tree commands to identify the upper-bound collision, then resolve it using updates, overrides, or dependency exclusion techniques.

Does this dependency conflict resolution approach work with pip?

Yes, this approach works with pip by diagnosing dependency conflicts using pip-specific tree commands and applying resolution strategies like updating, overriding, or forking the conflicting packages.