.agents/skills/flutter-cherry-pick/SKILL.md
This skill has the following strict constraints:
flutter/flutter repository.stable, beta, or a release candidate branch matching the format flutter-<major>.<minor>-candidate.<hotfix> (e.g., flutter-3.10-candidate.0).master.Trigger this skill by providing a merged PR number or URL and optionally the target channel:
<ORIGINAL_PR> (number or URL provided by the user).<CHANNEL> (either stable or beta).stable or beta?" and wait for their response before proceeding.flutter repository.git status --porcelain to check. If there are pending changes, stop and ask the user to resolve them or stash them.<DART_EXECUTABLE> .agents/skills/flutter-cherry-pick/scripts/flutter_cp.dart --pr <ORIGINAL_PR> --channel <CHANNEL> --action start
SUCCESS:AUTOMATED:<CP_PR> or SUCCESS:MANUAL:<CP_PR>.<CP_PR> number.cherry-pick-<ORIGINAL_PR>-to-<CHANNEL>.git status --porcelain to see unmerged files).<<<<<<<, =======, >>>>>>>).git add <resolved-files> to stage them.<DART_EXECUTABLE> .agents/skills/flutter-cherry-pick/scripts/flutter_cp.dart --pr <ORIGINAL_PR> --channel <CHANNEL> --action continue
git cherry-pick --continue, push, create the PR, and print SUCCESS:MANUAL:<CP_PR>.<CP_PR> number and proceed to Phase 4: Fill Template.[PULL_REQUEST_CP_TEMPLATE](../../../.github/PR_TEMPLATE/PULL_REQUEST_CP_TEMPLATE.md) relative to this skill).gh issue view <ISSUE_NUMBER> --json title,body.### Impact
What is the impact of this cherry-pick? (Explain the impact on users...)
### Impact
This fixes a critical crash in the image decoder when rendering corrupted GIFs.
### Shared Engineering Cohort
Were any engineering cohorts (e.g. Flutter Tooling, Engine, Framework) consulted?
- [ ] Yes
- [ ] No
### Shared Engineering Cohort
Were any engineering cohorts (e.g. Flutter Tooling, Engine, Framework) consulted?
- [x] Yes
- [ ] No
[<CHANNEL>] <ORIGINAL_PR_TITLE>.cp: review label is added to the CP PR.gh pr edit <CP_PR> --title "[<CHANNEL>] <ORIGINAL_PR_TITLE>" --body "<FINAL_TEMPLATE>" --add-label "cp: review"
gh pr edit fails due to GraphQL deprecation errors, you can use the REST API via gh api to update the body and add the label).