flutter-dart-dependency-upgrade — firebase flutter-dart-dependency-upgrade, sharezone-app, community, firebase, ide skills, flutter, organisation, school, Claude Code, Cursor, Windsurf

v1.0

关于此技能

适用于需要自动升级Flutter/Dart依赖和CocoaPods对齐的维护代理。 Perform a controlled, maintenance-only upgrade of Flutter and Dart dependencies in a monorepo, including regeneration of code and localizations and reconciliation of iOS/macOS CocoaPods (notably Firebase SDK versions). Intended for manual or scheduled dependency hygiene tasks, not for routine feature development.

# 核心主题

SharezoneApp SharezoneApp
[309]
[58]
更新于: 3/20/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 9/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
9/11
Quality Score
66
Canonical Locale
en
Detected Body Locale
en

适用于需要自动升级Flutter/Dart依赖和CocoaPods对齐的维护代理。 Perform a controlled, maintenance-only upgrade of Flutter and Dart dependencies in a monorepo, including regeneration of code and localizations and reconciliation of iOS/macOS CocoaPods (notably Firebase SDK versions). Intended for manual or scheduled dependency hygiene tasks, not for routine feature development.

核心价值

赋予代理安全升级Flutter依赖、重新生成派生工件并确保iOS和macOS的CocoaPods对齐,包括Firebase SDK,使用Flutter pub和fvm命令。

适用 Agent 类型

适用于需要自动升级Flutter/Dart依赖和CocoaPods对齐的维护代理。

赋予的主要能力 · flutter-dart-dependency-upgrade

自动化Flutter/Dart依赖升级以用于维护工作流程
依赖升级后重新生成派生工件
将iOS和macOS的CocoaPods,特别是Firebase SDK,与升级的依赖对齐

! 使用限制与门槛

  • 仅适用于维护工作流程,不适用于正常的功能开发
  • 需要仓库根目录访问权限以使用fvm和Flutter pub命令
  • 仅限于Flutter/Dart依赖和CocoaPods对齐

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

flutter-dart-dependency-upgrade 是什么?

适用于需要自动升级Flutter/Dart依赖和CocoaPods对齐的维护代理。 Perform a controlled, maintenance-only upgrade of Flutter and Dart dependencies in a monorepo, including regeneration of code and localizations and reconciliation of iOS/macOS CocoaPods (notably Firebase SDK versions). Intended for manual or scheduled dependency hygiene tasks, not for routine feature development.

如何安装 flutter-dart-dependency-upgrade?

运行命令:npx killer-skills add SharezoneApp/sharezone-app/flutter-dart-dependency-upgrade。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

flutter-dart-dependency-upgrade 适用于哪些场景?

典型场景包括:自动化Flutter/Dart依赖升级以用于维护工作流程、依赖升级后重新生成派生工件、将iOS和macOS的CocoaPods,特别是Firebase SDK,与升级的依赖对齐。

flutter-dart-dependency-upgrade 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

flutter-dart-dependency-upgrade 有哪些限制?

仅适用于维护工作流程,不适用于正常的功能开发;需要仓库根目录访问权限以使用fvm和Flutter pub命令;仅限于Flutter/Dart依赖和CocoaPods对齐。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add SharezoneApp/sharezone-app/flutter-dart-dependency-upgrade。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    flutter-dart-dependency-upgrade 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

flutter-dart-dependency-upgrade

安装 flutter-dart-dependency-upgrade,这是一款面向AI agent workflows and automation的 AI Agent Skill。支持 Claude Code、Cursor、Windsurf,一键安装。

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

Goal

Safely upgrade Flutter/Dart dependencies across the repository, regenerate all derived artifacts, and ensure iOS and macOS CocoaPods (especially Firebase SDKs) are aligned.


When to use

This skill is intended for maintenance workflows, not for normal feature development.

Activate this skill only when the user asks for "Upgrade my Flutter dependencies" or similar


Procedure

1. Upgrade Flutter dependencies

Run from the repository root:

bash
1fvm flutter pub upgrade

2. Regenerate generated code

bash
1sz build_runner build

3. Regenerate localizations

bash
1sz l10n generate

4. Install CocoaPods (iOS and macOS)

Run CocoaPods for both platforms:

bash
1pod install --project-directory=app/ios 2pod install --project-directory=app/macos

Common failure: Firebase SDK version mismatch

Example error

text
1[!] CocoaPods could not find compatible versions for pod "FirebaseAnalytics": 2 In snapshot (Podfile.lock): 3 FirebaseAnalytics (= 12.2.0) 4 5 In Podfile: 6 firebase_analytics (...) depends on FirebaseAnalytics (= 12.8.0)

Root cause

The Firebase SDK version pinned in the Podfiles does not match the version required by the FlutterFire plugins.

In app/ios/Podfile and app/macos/Podfile, Firebase frameworks are pinned via Invertase git tags, for example:

ruby
1pod 'FirebaseFirestore', 2 :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', 3 :tag => '12.2.0'

The error output indicates the required SDK version (e.g. 12.8.0).


Fix

  1. Read the required Firebase SDK version from the error message (e.g. 12.8.0).
  2. Update both Podfiles (app/ios/Podfile and app/macos/Podfile) to use that version:
ruby
1pod 'FirebaseFirestore', 2 :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', 3 :tag => '12.8.0'
  1. Remove existing lockfiles:
bash
1rm -f app/ios/Podfile.lock app/macos/Podfile.lock
  1. Reinstall CocoaPods:
bash
1pod install --project-directory=app/ios 2pod install --project-directory=app/macos

Success is indicated by:

text
1Pod installation complete!

with no errors.


Final checks

5. Format code

bash
1sz format

6. Run static analysis

bash
1sz analyze

7. Run tests

bash
1sz test

If golden tests (located in **/test_goldens) fail with less than 0.15% difference, update the golden files:

bash
1sz test --update-goldens

If non-golden tests fail, investigate and fix the issues.

Both commands must complete without errors.


Checklist

  • fvm flutter pub upgrade
  • sz build_runner build
  • sz l10n generate
  • pod install (iOS)
  • pod install (macOS)
  • Firebase SDK versions aligned in both Podfiles
  • sz format
  • sz analyze
  • sz test

Notes

  • If CocoaPods reports a minimum deployment target error, the required Firebase SDK may exceed the current iOS/macOS deployment target. Update the deployment target consistently across Podfiles and Xcode project settings before retrying.
  • Always update both iOS and macOS Podfiles to the same Firebase SDK version.

相关技能

寻找 flutter-dart-dependency-upgrade 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具