{"enrichment":{"faq":[{"a":"dart-resolve-package-conflicts guides you through surgical lockfile edits when pub get fails due to incompatible versions. Rather than deleting your entire pubspec.lock, remove only the problematic package entry from pubspec.lock, then run pub get again to re-resolve dependencies. This targeted approach preserves your other locked versions while finding compatible alternatives for the conflicting package.","q":"How to fix dart pub get version conflicts?"},{"a":"dart-resolve-package-conflicts helps you audit and upgrade Dart dependencies safely using dart pub outdated to identify resolvable versions. It teaches you how to apply version constraints and caret syntax in pubspec.yaml to control upgrade scope, avoiding version lock while maintaining stability. The workflow prevents accidental major version jumps that break compatibility.","q":"What does dart-resolve-package-conflicts cover for dependency auditing?"},{"a":"dart-resolve-package-conflicts teaches surgical editing of pubspec.lock to fix retracted or locked packages. Instead of regenerating the entire lock file, identify the conflicting package entry, remove only that section, and run pub get to re-resolve just that dependency against your constraints. This preserves all other pinned versions and speeds recovery from version conflicts.","q":"How do I resolve dart package conflicts without wiping my lockfile?"},{"a":"dart-resolve-package-conflicts covers understanding and applying version constraints and caret syntax in pubspec.yaml. The caret operator (^) allows patch and minor updates while pinning the major version, giving you controlled flexibility. The workflow shows how to tighten or loosen these constraints to resolve dependency graph conflicts without manual lockfile regeneration.","q":"What version constraint syntax does dart-resolve-package-conflicts explain?"},{"a":"dart-resolve-package-conflicts addresses fixing transitive dependency issues by teaching you to identify which direct or transitive package is causing pub get to fail. By surgically removing the problematic entry from pubspec.lock and re-running pub get, the resolver recalculates the entire dependency graph, finding compatible versions that satisfy all constraints downstream.","q":"How does dart-resolve-package-conflicts handle transitive dependency issues?"},{"a":"dart-resolve-package-conflicts provides a major version upgrade workflow that combines auditing with dart pub outdated, adjusting version constraints in pubspec.yaml incrementally, and testing compatibility before committing lockfile changes. This staged approach prevents breaking your entire dependency tree and lets you validate each upgrade step safely.","q":"What workflow does dart-resolve-package-conflicts recommend for major version upgrades?"}],"shadow_tags":["dependency-resolution","version-locking","constraint-management","transitive-deps","lockfile-surgery","conflict-resolution","package-auditing","upgrade-workflow"],"summary_rewrite":"When pub get fails due to version conflicts, this workflow guides you through surgical lockfile edits to remove only the problematic package entry, then re-resolve to find compatible versions. It covers auditing dependencies with dart pub outdated, upgrading safely with version constraints, and handling retracted packages without wiping your entire lock file."},"files":[{"bytes":5267,"path":"skills/dart-resolve-package-conflicts/SKILL.md","sha256":"967093ae2bca2784ba6a104dba3821ad809b399ca22071e9afc512915f60fa0a","url":"https://skillfed.io/files/flutter/agent-plugins/dart-resolve-package-conflicts/fdd25a2d/SKILL.md"}],"id":"flutter/agent-plugins/dart-resolve-package-conflicts","links":{"html":"https://skillfed.io/flutter/agent-plugins/dart-resolve-package-conflicts","md":"https://skillfed.io/flutter/agent-plugins/dart-resolve-package-conflicts.md","repo":"https://github.com/flutter/agent-plugins"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":161,"language":"Dart","last_updated":"2026-07-28","license":"BSD-3-Clause","name":"dart-resolve-package-conflicts","publisher":"flutter","stars":2745},"relations":{"similar":[{"id":"dart-lang/skills/dart-resolve-package-conflicts"},{"id":"dhruvanbhalara/skills/dart-tooling"},{"id":"wasabeef/claude-code-cookbook/update-flutter-deps"},{"id":"K9i-0/ccpocket/flutter-upgrade"},{"id":"MADTeacher/mad-agents-skills/flutter-duit-bdui"},{"id":"softspark/ai-toolkit/dart-rules"},{"id":"syncfusion/document-sdk-skills/syncfusion-flutter-pdf"},{"id":"flutter/agent-plugins/check-downstream-consumers"},{"id":"MADTeacher/mad-agents-skills/flutter-drift"},{"id":"getsentry/sentry-for-ai/sentry-flutter-sdk"}]},"slug":{"owner":"flutter","repo":"agent-plugins","skill":"dart-resolve-package-conflicts"},"version":"fdd25a2d"}
