发布 查找
- 作者仓库星标 176,634
- 作者仓库 flutter
Instructions
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.
- Identify the commit SHA from the user's request (e.g.,
Execute Search:
- Ensure the
find_release.darttool 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 variableFIND_RELEASE_TOOL_PATHto 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>
- Ensure the
Interpret and Report Results:
- The tool will report which repository (
dart-lang/sdkorflutter/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.
- The tool will report which repository (
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=stableand reports the release version.User: "Is 02abc57 in beta?"
Agent: Runs the command with
--channel=beta.
- 流狐分类
- AI 智能
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @flutter · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 读取环境变量
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 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.
User: "When did commit 02abc57 land in stable?" Agent: Runs dart run ${FINDRELEASETOOLPATH:-engine/src/flutter/thirdparty/dart/tools/findrelease.dart} --commit=02abc57 --channel=stable and reports the release version. User: "Is 02abc57 in beta?"
## 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](../../../engine/src/flutter/third_party/dart/tools/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?"
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Instructions → Examples
要点 -> Extract Information · Execute Search · Interpret and Report Results · User · Agent
文件/命令 -> 02abc57 · stable · beta · dev · findrelease.dart · FINDRELEASETOOLPATH · dart-lang/sdk · flutter/flutter
内容 SHA-256 -> e0cbf9186f6f
原文结构
适用与边界
原文中的明确线索
02abc57、stable、beta、dev、findrelease.dart、FINDRELEASETOOLPATH、dart-lang/sdk、flutter/flutter