Skip to content
Back to skills

Flutter Upgrade

ASecurity

Plan or execute a safe Flutter SDK, Dart SDK floor, or Dart pub dependency upgrade. Use for incremental SDK hops, dependency campaigns, or upgrade verification. Requires the target repository's instructions, package manager, and CI rules.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 7, 2026
ai-agentsgitsecurity

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 7, 2026

npx -y skills add mgerdov-igt/ai-cookbook --skill flutter-upgrade --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Flutter Upgrade?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Flutter Upgrade
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mgerdov-igt-flutter-upgrade/badge)](https://www.skillsdirectory.com/skills/mgerdov-igt-flutter-upgrade)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: flutter-upgrade
description: Plan or execute a safe Flutter SDK, Dart SDK floor, or Dart pub dependency upgrade. Use for incremental SDK hops, dependency campaigns, or upgrade verification. Requires the target repository's instructions, package manager, and CI rules.
---

# Flutter and Dart Upgrade

Use this skill to plan or carry out a Flutter SDK, Dart SDK constraint, or Dart package upgrade. It is project-agnostic: discover the target project's real version pins, package graph, build commands, protected contracts, and CI gates. Do not copy versions, paths, commands, thresholds, or assumptions from another repository.

Read [the upgrade workflow](references/UPGRADE-WORKFLOW.md) before changing files. First inspect the repository instructions, current Git state, SDK/package-manager configuration, and CI workflows. For a multi-hop or major-version campaign, write a baseline and ordered plan before editing. Execute only the scope the user requested; stop and ask when a gate or unknown contract requires a scope change.

## Safety Rules

- Preserve the user's worktree and local changes. Do not reset, stash, force-update, or switch the active branch without explicit authorization. Use isolated worktrees when that fits the repository's workflow.
- Upgrade by compatible coupling unit, not by arbitrary package list. Check target SDK floors before choosing batch order.
- Move SDKs through exact, documented versions and validate each hop. Do not jump to whatever `flutter upgrade` currently selects.
- Use the repository's actual CI and build commands, including required wrappers, working directories, profiles, and setup.
- Do not weaken tests, protected contracts, security controls, or project-specific gates to make an upgrade pass. Stop if a fix requires that.
- Never read out, print, copy, commit, or include GitHub secret values, tokens, signing material, `.env` contents, or credential-bearing build definitions in chat, logs, reports, diffs, or artifacts. Use only the repository's approved local or CI secret mechanism. Do not ask the user to paste a secret into chat.
- Do not commit, push, publish, or create a PR unless the user requests it.

Report the baseline, upgrade units, checks run, failures or waivers, deferred work, and remaining risks. Redact sensitive values and avoid publishing private repository details outside their authorized context.

Files in this skill

  • SKILL.md2.3 KB
  • references/UPGRADE-WORKFLOW.md9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.