Skill to update packages defined in a Flutter project's pubspec.yaml. Supports bulk updates or updating specified packages. When a major version upgrade is detected it prompts for confirmation, and before applying updates it checks changelogs on pub.dev and GitHub and reports the changes. Specify package names in $ARGUMENTS or use --all to update all packages.
Flutterプロジェクトのpubspec.yaml依存パッケージを安全に更新するためのスキル。更新前に変更内容を確認し、メジャーバージョン変更時はユーザー確認を挟む。
/flutter-pub-update パッケージ名 - 指定パッケージを更新/flutter-pub-update パッケージ1 パッケージ2 - 複数パッケージを更新/flutter-pub-update --all - 全パッケージを一括更新flutter pub outdated
出力から以下を把握:
指定パッケージの場合: $ARGUMENTSで指定されたパッケージのみ対象
--allの場合: outdatedで表示された全パッケージを対象
対象パッケージごとにWebFetchツールを使用して変更内容を確認:
pub.devのChangelogを確認
https://pub.dev/packages/{パッケージ名}/changelogGitHubリリースノートを確認(必要に応じて)
変更内容をまとめて報告
メジャーバージョンが変わる場合(例: 1.x.x → 2.x.x):
このパッケージはメジャーバージョンが変わります:
- {パッケージ名}: {現在バージョン} → {新バージョン}
Breaking Changes:
- [変更内容1]
- [変更内容2]
更新を続行しますか?
承認後、flutter pub upgradeコマンドを使用:
指定パッケージの更新:
flutter pub upgrade パッケージ名
メジャーバージョンを含む更新:
flutter pub upgrade --major-versions パッケージ名
全パッケージの更新:
flutter pub upgrade
全パッケージのメジャーバージョン更新:
flutter pub upgrade --major-versions
更新完了後、以下を報告:
## 更新完了
| パッケージ | 旧バージョン | 新バージョン | 変更種別 |
|-----------|-------------|-------------|---------|
| xxx | 1.0.0 | 1.2.0 | Minor |
| yyy | 2.0.0 | 3.0.0 | Major |
### 主な変更点
- xxx: 新機能Aが追加
- yyy: APIが変更(要確認)
flutter pub run build_runner build --delete-conflicting-outputsの実行を提案下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer