Install any skill in seconds. Free to start, no credit card required.
Get Started Free →wasabeef/安全更新-flutter-依赖
安全更新 Flutter 依赖。「更新 Flutter 包」「更新 pubspec.yaml」等触发。
Passed 20 of 22 test cases with the skill, and 16 of 22 without it.
and 7 more in the full report
5 fixed15 passed either way1 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
如果 Flutter 项目在执行依赖更新后测试失败,使用之前建立的 backup 备份文件回滚到原先状态的具体 Shell 命令是什么?
| Checked | Without skill | With skill |
|---|---|---|
| Copies pubspec.yaml.backup back to pubspec.yaml | Missed | Passed |
| Copies pubspec.lock.backup back to pubspec.lock | Missed | Passed |
| Executes flutter pub get after restoring the backup files | Passed | Passed |
The instructions your model reads when the skill loads.
安全地更新 Flutter 项目的依赖关系。
# 确认依赖状态并请求 Claude
flutter pub deps --style=compact
「将 pubspec.yaml 的依赖更新到最新版本」
# 确认当前依赖
cat pubspec.yaml
「分析这个 Flutter 项目的依赖并告诉我可更新的包」
# 升级后确认
flutter pub upgrade --dry-run
「确认这个升级计划中是否有破坏性变更」
# 全面的依赖更新
cat pubspec.yaml
「分析 Flutter 的依赖并执行以下操作:
1. 调查各包的最新版本
2. 确认是否有破坏性变更
3. 评估危险度 (安全・注意・危险)
4. 提出必要的代码更改
5. 生成更新版 pubspec.yaml」
# 安全的分阶段更新
flutter pub outdated
「避免主版本升级,只更新可以安全升级的包」
test cases passed, vs 16 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.