flutter-cherry-pick

Validate merged flutter/flutter PRs for cherry-pick to stable or beta channels.

178k|30.9k|Updated Mar 6, 2015
One-click install
npx skills add https://github.com/flutter/flutter --skill flutter-cherry-pick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-cherry-pick
Source: https://github.com/flutter/flutter/tree/main/.agents/skills/flutter-cherry-pick
Command: npx skills add https://github.com/flutter/flutter --skill flutter-cherry-pick

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dart, and includes scripts (resource) components.

What problem does it solve?

This skill formalizes and sanitizes the process of cherry-picking a merged PR from the flutter/flutter repository into stable or beta channels, ensuring only eligible PRs and target branches are used.

Core Features & Use Cases

  • Enforces target repository and allowed channels; PRs must be merged into master before cherry-pick.
  • Validates that the target branch matches the format flutter-<major>.<minor>-candidate.<hotfix> and that the PR is landed.
  • Orchestrates the cherry-pick via a Dart-based helper script and provides structured guidance for conflict resolution and auditing.
  • Supports an auditable workflow with deterministic steps and clear error handling for common cherry-pick scenarios.
  • Use cases include landing urgent fixes to stable or beta channels after merge.

Quick Start

Trigger this skill by providing a merged PR number or URL and optionally the target channel.

Frequently Asked Questions about flutter-cherry-pick

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I cherry-pick a merged pull request to Flutter stable or beta channels?

To cherry-pick a merged pull request to Flutter stable or beta, provide the PR number or URL to trigger the Dart-based helper script, which validates the PR landed in master and orchestrates the cherry-pick to the target channel.

What are the requirements for cherry-picking a PR to a Flutter candidate branch?

Cherry-picking to a Flutter candidate branch requires the PR to be landed in master first, and the target branch must match the format flutter-<major>.<minor>-candidate.<hotfix> for stable or beta channels.

When do I need to use a cherry-pick workflow for Flutter repositories?

You need a cherry-pick workflow for Flutter repositories when landing urgent fixes that have already merged into master and must be backported to stable or beta release channels.

Does the Flutter cherry-pick process support conflict resolution?

Yes, the Flutter cherry-pick process provides structured guidance for conflict resolution, ensuring an auditable workflow with deterministic steps and clear error handling for common scenarios.

Can I use this workflow to cherry-pick a PR that has not landed in master?

No, you cannot cherry-pick a PR that has not landed in master; the workflow enforces constraints requiring the pull request to be merged into the master branch before any cherry-pick to stable or beta.

Do I need Dart to run the Flutter cherry-pick helper script?

Yes, you need Dart because the cherry-pick helper script that validates and orchestrates the backport process is Dart-based, requiring the Dart environment to execute the automation workflow.