用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill flutter-upgrade-sdk命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | flutter-upgrade-sdk |
| description | > Use when this capability is needed. |
Follow this procedure when upgrading the Flutter and Dart SDK versions used in this monorepo. Ensuring all configurations, packages, and CI pipelines stay in sync is critical for monorepo health.
FVM is the source of truth for the local development environment. fvm flutter --version will automatically update the fvm managed local flutter to the correct version if it is not already installed.
You can manually update flutter versions by running:
fvm install <new-flutter-version> (e.g., fvm install 3.41.2) in the root of the repository if the new target version of flutter is not already installed.fvm use <new-flutter-version> (e.g., fvm use 3.41.2) in the root of the repository..fvm/fvm_config.json has been updated with the new version.The GitHub Actions workflows must use the exact same Flutter version as FVM to prevent CI drifts.
.github/workflows/test.yml.subosito/flutter-action step.flutter-version: parameter to match the new FVM version exactly.pubspec.yaml FilesAll packages in the monorepo should share the same minimum Dart/Flutter SDK requirements.
Locate all pubspec.yaml files across the repository. This includes:
packages/flutter_adaptive_cards_fs/pubspec.yamlpackages/flutter_adaptive_charts_fs/pubspec.yamlpackages/flutter_adaptive_template_fs/pubspec.yamladaptive_explorer/pubspec.yamlwidgetbook/pubspec.yamlUpdate the environment: constraints to match the new minimum Dart SDK (and optionally Flutter SDK) corresponding to the new Flutter version.
environment:
sdk: ^<new-dart-version>
Document the SDK bump so consumers of the packages are aware of the new minimum requirements.
CHANGELOG.md file for every updated package under the Unreleased or upcoming version heading.- Require Dart SDK <new-dart-version> and Flutter <new-flutter-version>Ensure that the new SDK version does not break existing code or cause new linting errors.
fvm flutter pub get or upgrade at the workspace root).fvm flutter analyze to catch any new static analysis errors or deprecations introduced by the newer SDK.fvm flutter test to ensure all tests continue to pass.Source: freemansoft/Flutter-AdaptiveCards — distributed by TomeVault.