dart-resolve-package-conflicts
Resolve Dart Package Conflicts Safely
Dart package conflicts can block builds and make upgrades difficult. This skill provides a controlled workflow to inspect constraints, update dependencies, and verify the resolved graph.
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "dart-resolve-package-conflicts" from https://skillstore.io/skills/flutter-dart-resolve-package-conflicts.md and its manifest at https://skillstore.io/api/skills/flutter-dart-resolve-package-conflicts/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“dart-resolve-package-conflicts”。 A project cannot resolve http because direct and transitive constraints are incompatible.
预期结果:
- Identify the direct constraint and the package imposing the transitive constraint.
- Check whether a compatible http version exists.
- Update the smallest necessary constraint, then run dependency checks and tests.
正在使用“dart-resolve-package-conflicts”。 dart pub outdated shows a resolvable minor update.
预期结果:
- The update needs a pubspec.yaml constraint change.
- Apply the new compatible lower bound.
- Run dart pub upgrade, dart analyze, and dart test before committing the lockfile.
安全审计
安全All 37 external-command alerts are false positives caused by Markdown backticks around documented Dart commands, file names, and code examples. The single network alert is a standard pub.dev URL in a lockfile example, not an active request. No prompt-injection, exfiltration, or malicious intent was found.
风险因素
⚙️ 外部命令 (37)
🌐 网络访问 (1)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/flutter-dart-resolve-package-conflicts/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/flutter-dart-resolve-package-conflicts?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/flutter-dart-resolve-package-conflicts?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/flutter-dart-resolve-package-conflicts/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/flutter-dart-resolve-package-conflicts.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
flutter. (2026). dart-resolve-package-conflicts security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/flutter-dart-resolve-package-conflicts/audits/1BibTeX 引用
@techreport{flutter-flutter-dart-resolve-package-conflicts-2026,
author = {flutter},
title = {dart-resolve-package-conflicts security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/flutter-dart-resolve-package-conflicts/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "dart-resolve-package-conflicts security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "flutter"
date-released: "2026-08-30"
url: "https://skillstore.io/skills/flutter-dart-resolve-package-conflicts/audits/1"
identifiers:
- type: other
value: "skillstore:flutter-dart-resolve-package-conflicts:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
Unblock a Flutter build
Identify incompatible dependency constraints after dart pub get fails and select a narrow resolution path.
Plan a controlled upgrade
Use outdated-package results to separate safe compatible updates from changes that require new constraints.
Stabilize CI dependencies
Apply lockfile and verification practices to keep tested package versions consistent in continuous integration.
试试这些提示
Explain this dart pub get version-solving error in simple terms and list the first checks I should make.
Review this dart pub outdated output. Separate packages that are upgradable from packages that need pubspec.yaml constraint changes.
Help me resolve this conflict between these pubspec.yaml constraints. Propose the smallest safe change and explain why.
Create a staged Dart dependency upgrade plan from these pubspec files and test results. Include verification after each stage.
最佳实践
- Review dart pub outdated before changing version constraints.
- Change one dependency group at a time and test after each change.
- Commit pubspec.yaml and pubspec.lock together after successful verification.
避免
- Do not delete the full lockfile to bypass a single conflict.
- Do not upgrade every dependency before identifying the constraint causing the failure.
- Do not ignore analyzer or test failures after a dependency upgrade.