dart-resolve-package-conflicts 是做什么的?
用于修复包版本冲突的工作流程。当 pub get 因包版本不兼容而失败时使用。
用于修复包版本冲突的工作流程。当 `pub get` 因包版本不兼容而失败时使用。
该技能提供了一套结构化的处理Dart包依赖冲突的工作流程。当运行 `pub get` 时遇到版本不兼容错误,此技能会自动引导你分析 `pubspec.lock` 或相关错误输出,识别冲突的具体包和版本约束。它支持标准Dart项目以及Flutter项目,并推荐最佳实践如使用 `dependency_overrides` 临时解决冲突或调整 `pubspec.yaml` 中的版本范围。通过清晰的检查和修复步骤,此技能帮助开发者快速解决依赖树中的版本冲突问题,确保项目构建继续,无需手动深入复杂的依赖关系图。
npx skills add https://github.com/dart-lang/skills/tree/main/skills/dart-resolve-package-conflictsInstalled? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →
用于修复包版本冲突的工作流程。当 pub get 因包版本不兼容而失败时使用。
This repo contains 8 individual skills — each has its own dedicated page.
Write and organize unit tests for functions, methods, and classes using `package:test`. Use when creating new logic or fixing bugs to ensure code remains correct and regression-free.
Entrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications.
Collect coverage using the coverage packge and create an LCOV report
Uses get_runtime_errors and lsp to fetch an active stack trace, locate the failing line, apply a fix, and verify resolution via hot_reload.
Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`. Use when unit testing classes that depend on complex external services like APIs or databases.
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
Execute `dart analyze` to identify warnings and errors, and use `dart fix --apply` to automatically resolve mechanical lint issues. Use during development to ensure code quality and before committing changes.
Use switch expressions and pattern matching where appropriate
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.
Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.
Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files.
Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.
Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.
List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio.