dart-resolve-package-conflicts

Resolve Dart package dependency conflicts by analyzing incompatible version constraints and repairing pubspec.lock.

Updated May 2, 2026
One-click install
npx skills add https://github.com/Qunnnn/agents --skill dart-resolve-package-conflicts-qunnnn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dart-resolve-package-conflicts
Source: https://github.com/Qunnnn/agents/tree/main/skills/dart/dart-resolve-package-conflicts
Command: npx skills add https://github.com/Qunnnn/agents --skill dart-resolve-package-conflicts-qunnnn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps Dart developers fix failed dependency resolution caused by incompatible package versions, reducing trial-and-error when pub get cannot complete successfully.

Core Features & Use Cases

  • Dependency Auditing: Guides analysis of Dart package constraints using pub outdated and dependency graph inspection.
  • Version Conflict Resolution: Provides workflows for upgrading packages, adjusting constraints, and safely repairing lockfile conflicts.
  • Use Case: When a Flutter or Dart project fails during dependency fetching because packages require incompatible versions, use this Skill to identify the conflicting package and restore a valid dependency set.

Quick Start

Use the dart-resolve-package-conflicts skill to diagnose and fix the package version conflicts preventing my Dart project dependencies from resolving.

Frequently Asked Questions about dart-resolve-package-conflicts

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

FAQPage Schema
How do I resolve Dart package conflicts when pub get fails?

To resolve Dart package conflicts when pub get fails, audit dependency constraints and adjust incompatible version requirements in your pubspec. This Skill repairs failed dependency resolution by analyzing the package graph and safely modifying pubspec.lock to restore a consistent dependency set.

Why does my Flutter project fail dependency fetching due to incompatible package versions?

Your Flutter project fails dependency fetching because packages require incompatible versions of the same dependency. This Skill diagnoses version resolution conflicts by inspecting the dependency graph and applying targeted pubspec.lock modifications to establish a valid package graph.

What is the best way to fix pubspec.lock conflicts during a Dart package upgrade?

The best way to fix pubspec.lock conflicts during a Dart package upgrade is to run dependency auditing workflows. This Skill guides you through analyzing version constraints using pub outdated and updating package constraints safely to repair lockfile conflicts.

Can I use this to fix version resolution errors in both Dart and Flutter development scenarios?

Yes, you can use this to fix version resolution errors in both Dart and Flutter development scenarios. It applies to any project experiencing pub get failures or package upgrades by auditing dependency constraints and applying safe version constraint updates.

What should I do if adjusting pubspec.yaml constraints does not resolve dependency conflicts?

If adjusting pubspec.yaml constraints does not resolve dependency conflicts, you need targeted pubspec.lock modifications. This Skill helps identify the specific conflicting package and repairs the failed dependency resolution by restoring a consistent package graph.

Does dart-resolve-package-conflicts support automated dependency auditing workflows?

Yes, dart-resolve-package-conflicts supports automated dependency auditing workflows. It guides the analysis of Dart package constraints using pub outdated and dependency graph inspection to identify incompatible version constraints and repair failed dependency resolution.