Chuyển đến nội dung
Skillpedia
Lập trình chung181k · #657

find-release

Skill này làm gì

Skill này tìm xem bản phát hành Flutter hoặc Dart nào đã chứa thay đổi code được đưa ra đầu tiên. Skill dành cho lập trình viên cần biết khi nào một bản sửa lỗi đến được một kênh phát hành.

Khi nào nên dùng

  • ✓Khi bạn hỏi một commit cụ thể đã nằm trong bản phát hành Flutter hoặc Dart nào.
  • ✓Khi bạn muốn biết một commit có trong kênh stable, beta hoặc dev hay không.
  • ✓Khi bạn có một ID commit và cần phiên bản Flutter chứa nó.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/flutter/flutter/blob/master/.agents/skills/find-release/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bản Flutter stable nào đầu tiên chứa commit 02abc57?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill chạy một công cụ tra cứu với ID commit và kênh, rồi báo cáo thẻ phát hành thấp nhất cùng phiên bản Flutter hoặc Dart tương ứng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

Câu hỏi thường gặp

Tôi cần cung cấp gì cho skill?

Một ID commit, như 02abc57, và tùy chọn kênh: stable, beta hoặc dev.

Nếu tôi không nêu kênh thì sao?

Skill thử từng kênh để tìm kết quả khớp.

Điều gì xảy ra nếu commit chưa có trong bản phát hành?

Skill cho bạn biết commit đó chưa có trong bản phát hành cho kênh đó.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
181k
Vị trí xếp hạng
#657
Giấy phép
BSD-3-Clause
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự