跳到正文
Skillpedia
通用编程181k · #657

find-release

它能做什么

这项技能找出首个包含某项代码改动的 Flutter 或 Dart 版本。适合需要知道某个修复何时进入发布通道的开发者。

适用场景

  • ✓你询问某个特定提交何时进入 Flutter 或 Dart 发布版本的时候。
  • ✓你想知道某个提交是否已进入稳定版、测试版或开发版通道的时候。
  • ✓你有一个提交编号,需要找到包含它的 Flutter 版本的时候。

技能链接

https://github.com/flutter/flutter/blob/master/.agents/skills/find-release/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/flutter/flutter/blob/master/.agents/skills/find-release/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“哪一个 Flutter 稳定版本首次包含了提交 02abc57?”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能使用提交编号和通道运行查询工具,然后报告最早的发布标签以及对应的 Flutter 或 Dart 版本。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Instructions

  1. Extract Information:

    • Identify the commit SHA from the user's request (e.g., 02abc57).
    • Identify the target channel (one of: stable, beta, dev). If not specified, try each.
  2. Execute Search:

    • Ensure the find_release.dart tool is available. The tool is typically located at find_release.dart relative to the Flutter workspace root. If the workspace root is not the default, set the environment variable FIND_RELEASE_TOOL_PATH to the absolute path of the tool.
    • Run the tool using the path to ensure it works from any directory within the workspace.
    • Command: dart run ${FIND_RELEASE_TOOL_PATH:-engine/src/flutter/third_party/dart/tools/find_release.dart} --commit=<SHA> --channel=<CHANNEL>
  3. Interpret and Report Results:

    • The tool will report which repository (dart-lang/sdk or flutter/flutter) the commit was found in.
    • It will provide the "Lowest release tag" (the git tag containing the commit).
    • It will provide the "Lowest Flutter release" and/or "Lowest Dart release" version for the specified channel.
    • Present these findings clearly to the user. If the commit is not found or not yet in a release for that channel, inform the user accordingly.
    • Handle edge cases: If the SHA is invalid or not found, suggest checking the SHA. If the channel is invalid, default to stable and notify the user.

Examples

  • User: "When did commit 02abc57 land in stable?"

  • Agent: Runs dart run ${FIND_RELEASE_TOOL_PATH:-engine/src/flutter/third_party/dart/tools/find_release.dart} --commit=02abc57 --channel=stable and reports the release version.

  • User: "Is 02abc57 in beta?"

  • Agent: Runs the command with --channel=beta.

常见问题

我需要向技能提供什么?

一个提交编号,例如 02abc57,以及可选的通道:stable、beta 或 dev。

如果我没有指定通道怎么办?

技能会逐个尝试每个通道,以找到匹配的版本。

如果该提交还没有进入任何发布版本怎么办?

技能会告诉你,该提交在对应通道中尚未进入发布版本。

详情

作者的原始描述

A skill to find the lowest Dart and Flutter release containing a given commit. Use this skill whenever users ask about when a commit landed in Flutter or Dart releases, inquire about release versions for specific SHAs, or want to know if a commit is included in stable, beta, or dev channels for Flutter/Dart projects.

repo: flutter/flutter

热度

GitHub 星标
181k
排名
#657
许可证
BSD-3-Clause
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能