dart-resolve-package-conflicts 是做什麼的?
用於修復套件版本衝突的工作流程。當 pub get 因不相容的套件版本而失敗時使用此功能。
用於修復套件版本衝突的工作流程。當 `pub get` 因不相容的套件版本而失敗時使用此功能。
這個 AI 技能專門用於解決 Dart 專案中的套件版本衝突,特別是當執行 `pub get` 時因依賴項版本不相容而失敗的情況。它提供了一種結構化工作流程,幫助開發者識別衝突、分析依賴圖,並建議可解決問題的版本調整。此技能支援任何使用 Dart 或 Flutter 的開發環境,包括 CLI 工具與 CI/CD 管道,能夠自動分析 `pubspec.yaml` 與 `pubspec.lock` 檔案,並給出精確的修復建議。通過系統化診斷相依性衝突,它能顯著減少手動除錯時間,並確保專案能順利建置與執行。
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.