Agent skill

Dependency Conflict Resolver

by mohitagw15856 in mohitagw15856/pm-claude-skills

Resolve a dependency or version conflict (npm, pip, yarn, pnpm, Maven, Go modules) step by step.

MITAuto-check passedBackend & APIs

Install Dependency Conflict Resolver

skills CLI
$ npx skills add mohitagw15856/pm-claude-skills --skill dependency-conflict-resolver -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mohitagw15856/pm-claude-skills dependency-conflict-resolver --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/dependency-conflict-resolver .claude/skills/dependency-conflict-resolver && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dependency-conflict-resolver
GitHub stars
1.4k
Token cost
~709 tokens
SKILL.md length
336 words
Files
1
Skills in repo
1,348
Repo updated
First seen
Licence
MIT

At a glance

Resolve a dependency or version conflict (npm, pip, yarn, pnpm, Maven, Go modules) step by step.

  • Works in 3 steps: Safest — e.g. align versions, upgrade… → Pragmatic — e.g. an override/resolution… → Last resort — e.g. --legacy-peer-deps /…
  • An install fails with peer-dependency
  • SKILL.md covers Working from a brief, Input, Output Structure and Quality Checks, plus 2 more sections
  • Calls npm

What it does

Dependency Conflict Resolver is an agent skill from mohitagw15856/pm-claude-skills. Resolve a dependency or version conflict (npm, pip, yarn, pnpm, Maven, Go modules) step by step. Use when an install fails with peer-dependency or version-conflict errors, packages won't co-exist, or a lockfile is fighting you. Produces the conflict explained, the resolution options ranked by safety, exact commands, and how to keep it from recurring.

Its SKILL.md is about 710 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering GraphQL and Dependency management. It works with npm, Go and pnpm. The repository describes itself as: 1255 professional Agent Skills for Claude, ChatGPT, Gemini, Cursor & Codex — PRDs, postmortems, leases, medical bills, layoffs, go-bags, new countries. Plain markdown, MIT, in… The licence is MIT.

When your agent uses it

  • An install fails with peer-dependency
  • Version-conflict errors
  • Packages wont co-exist
  • A lockfile is fighting you

Example prompts

  • “/dependency-conflict-resolver”

Requirements

  • Node.js

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Safest — e.g. align versions, upgrade the constrained package, or find a compatible range. Exact command.
  2. Pragmatic — e.g. an override/resolution (overrides, resolutions, constraints file) with the exact snippet — and the risk it carries.
  3. Last resort — e.g. --legacy-peer-deps / --force — clearly flagged as masking the problem, not fixing it.

What it can do on your machine

Read from SKILL.md and the folder at commit 1cbf1f0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dependency Conflict Resolver loads about 709 tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 336 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~709

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mohitagw15856/pm-claude-skills at commit 1cbf1f0, republished under its MIT licence (© mohitagw15856). 336 words, ~709 tokens.

Download SKILL.mdSave it as .claude/skills/dependency-conflict-resolver/SKILL.md (or your agent's skills folder).
name
dependency-conflict-resolver
description
Resolve a dependency or version conflict (npm, pip, yarn, pnpm, Maven, Go modules) step by step. Use when an install fails with peer-dependency or version-conflict errors, packages won't co-exist, or a lockfile is fighting you. Produces the conflict explained, the resolution options ranked by safety, exact commands, and how to keep it from recurring.

Dependency Conflict Resolver Skill

Untangle "could not resolve dependency" hell into a clear, ranked plan.

Working from a brief

Infer the package manager and ecosystem from the error or files mentioned; label assumptions (assumed — confirm). Always deliver a concrete resolution path even from just the error text.

Input

Ask for these if not provided:

  • The install error — the conflict output exactly as the tool printed it
  • The manifest — package.json, requirements.txt, go.mod, pom.xml, whichever applies
  • The lockfile — if one exists, since it is usually where the conflict is pinned
  • The package manager — npm, pnpm, yarn, pip, Maven, Go modules; infer what's missing

Output Structure

The conflict

Plain-English: package A needs X of C, package B needs Y of C, and they can't both be satisfied (name the actual packages/versions from the input).

Options (ranked by safety)
  1. Safest — e.g. align versions, upgrade the constrained package, or find a compatible range. Exact command.
  2. Pragmatic — e.g. an override/resolution (overrides, resolutions, constraints file) with the exact snippet — and the risk it carries.
  3. Last resort — e.g. --legacy-peer-deps / --force — clearly flagged as masking the problem, not fixing it.

Give the exact commands/edits for each, and a recommendation of which to pick and why.

Verify & prevent

How to confirm the fix (npm ls <pkg>, a clean reinstall, the build), and one habit to avoid recurrence (lockfile committed, renovate/dependabot, version pinning policy).

Quality Checks

  • Names the actual conflicting packages and versions from the input
  • Options are ranked by safety with the trade-off of each stated
  • --force/--legacy-peer-deps-style escapes are flagged as masking, not fixing
  • Includes a verification step

Anti-Patterns

  • Do not lead with --force / --legacy-peer-deps — it hides the conflict and breaks later
  • Do not delete the lockfile as the first move — explain what that actually does
  • Do not give a single fix when several are viable — rank them with trade-offs
  • Do not skip verifying the resolution actually installs/builds

Example Trigger Phrases

  • "npm install fails with a peer-dependency error."
  • "pip can't resolve these versions."
  • "These two packages won't co-exist."
  • "My lockfile keeps fighting me."

© mohitagw15856, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/dependency-conflict-resolver of mohitagw15856/pm-claude-skills.

Open the folder on GitHubat commit 1cbf1f0

Compare with similar skills

Dependency Conflict Resolver next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dependency Conflict Resolver compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dependency Conflict Resolver this skillmohitagw15856/pm-claude-skills1.4k—~709Automated safety check: PassMIT
Dependency ResolverArabelaTso/Skills-4-SE253—~3.9kAutomated safety check: NotesApache-2.0
Interlinked Supply ChainQuentinCody/interlinked-cli178—~2.8kAutomated safety check: PassMIT
Audit And Reduce Dependenciesgrafana/skills282—~3.6kAutomated safety check: WarnApache-2.0
Linea Dependency MaintenanceConsensys-Incorporated/linea-attestation-registry1771 repos~3.7kAutomated safety check: WarnMIT
Check Deps SyncHyk260/PureChat546—~594Automated safety check: PassMIT

Similar skills

  • Dependency Resolver

    ArabelaTso/Skills-4-SE

    Identify, analyze, and manage software dependencies before deployment.

    253 GitHub stars~3.9k tokensUpdated 1 mo ago
    DevelopmentAuto-check: notes
  • Interlinked Supply Chain

    QuentinCody/interlinked-cli

    Respond to blocked package installs and manage the Interlinked supply-chain allowlist.

    178 GitHub stars~2.8k tokensUpdated today
    SecurityAuto-check passed
  • Official

    Reduces JavaScript dependency footprint with pnpm while preserving lockfile, workspace layout, and dependency range style.

    282 GitHub stars~3.6k tokensUpdated yesterday
    DevOps & CloudAuto-check: warnings
  • Linea Dependency Maintenance

    Consensys-Incorporated/linea-attestation-registry

    Safely plan and execute dependency maintenance for JavaScript/TypeScript (npm, pnpm) and GitHub Actions, including npm lockfiles, pnpm workspaces, catalogs, overrides, SHA-pinned action versions…

    177 GitHub starsUsed in 1 repo~3.7k tokens
    DevelopmentAuto-check: warnings
  • Check Deps Sync

    Hyk260/PureChat

    Check if package.json files are in sync with pnpm-lock.yaml.

    546 GitHub stars~594 tokensUpdated 23 days ago
    DevOps & CloudAuto-check passed
  • npm Supply Chain Security

    bodadotsh/npm-security-best-practices

    Applies safer package manager defaults and dependency vetting to JavaScript and TypeScript projects to reduce supply-chain attack risk.

    858 GitHub stars~1k tokensUpdated 9 days ago
    SecurityAuto-check: warnings

More from mohitagw15856/pm-claude-skills

All 1,348 skills in this repo
  • Car Tco

    mohitagw15856/pm-claude-skills

    Compare the total cost of car ownership across buy-new, buy-used, lease, and keep-your-current-car — depreciation, insurance, maintenance ramp, and fuel over a real horizon, not just the monthly…

    1.4k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Cs Health Scorecard

    mohitagw15856/pm-claude-skills

    Build a customer health scorecard for a specific account. An agent skill from mohitagw15856/pm-claude-skills.

    1.4k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Exit Waterfall

    mohitagw15856/pm-claude-skills

    Compute who gets what at each exit price from a cap table — liquidation preferences, conversion points, and where the founders' share collapses.

    1.4k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Feature Prioritisation

    mohitagw15856/pm-claude-skills

    Apply prioritisation frameworks (RICE, MoSCoW, Kano, ICE, Opportunity Scoring) to rank features and backlog items.

    1.4k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Fire Number

    mohitagw15856/pm-claude-skills

    Compute a financial-independence (FIRE) target and years-to-reach with every assumption labeled as an assumption — plus a sensitivity table instead of a single false-precision answer.

    1.4k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Freelance Rate

    mohitagw15856/pm-claude-skills

    Derive a freelance day/hourly rate backwards from target income, honest billable utilization, overhead, and the self-employment tax premium — the arithmetic that proves a rate is not salary÷2000.

    1.4k GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Works with

Questions about Dependency Conflict Resolver

What does Dependency Conflict Resolver do?

Resolve a dependency or version conflict (npm, pip, yarn, pnpm, Maven, Go modules) step by step. Dependency Conflict Resolver is an agent skill from mohitagw15856/pm-claude-skills. Resolve a dependency or version conflict (npm, pip, yarn, pnpm, Maven, Go modules) step by step.

When should I use Dependency Conflict Resolver?

Dependency Conflict Resolver fits situations like: an install fails with peer-dependency; version-conflict errors; packages wont co-exist; A lockfile is fighting you.

How do I install Dependency Conflict Resolver in Claude Code?

Run `npx skills add mohitagw15856/pm-claude-skills --skill dependency-conflict-resolver -a claude-code`. Or copy the skill folder (skills/dependency-conflict-resolver in mohitagw15856/pm-claude-skills) into .claude/skills/dependency-conflict-resolver in your project. Claude Code loads it when a task matches its description.

How do I install Dependency Conflict Resolver in Codex?

Run `npx skills add mohitagw15856/pm-claude-skills --skill dependency-conflict-resolver -a codex`. Or copy the skill folder (skills/dependency-conflict-resolver in mohitagw15856/pm-claude-skills) into .agents/skills/dependency-conflict-resolver in your project. Codex loads it when a task matches its description.

Can I use Dependency Conflict Resolver in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mohitagw15856/pm-claude-skills --skill dependency-conflict-resolver -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dependency-conflict-resolver, .gemini/skills/dependency-conflict-resolver, .github/skills/dependency-conflict-resolver and .opencode/skills/dependency-conflict-resolver in your project.

What does Dependency Conflict Resolver need to run?

Going by SKILL.md and its folder, Dependency Conflict Resolver needs the command-line tools its instructions call (npm). Our summary lists: Node.js.

Does Dependency Conflict Resolver access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Dependency Conflict Resolver safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dependency Conflict Resolver use?

Dependency Conflict Resolver is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dependency Conflict Resolver use?

About 709 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dependency Conflict Resolver?

Skills that share tags, products or a category with Dependency Conflict Resolver: Dependency Resolver (ArabelaTso/Skills-4-SE, 253 stars), Interlinked Supply Chain (QuentinCody/interlinked-cli, 178 stars), Audit And Reduce Dependencies (grafana/skills, 282 stars) and Linea Dependency Maintenance (Consensys-Incorporated/linea-attestation-registry, 177 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dependency Conflict Resolver?

mohitagw15856 (a GitHub user) maintains it in mohitagw15856/pm-claude-skills, which has 1,434 GitHub stars. The repository holds 1,348 skills in this directory. The repository was last updated on October 9, 2026.

Source: mohitagw15856/pm-claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.