AI觉醒星球
Awakening is here
Knowledge File / AI技能杠杆
2026-06-11 0 浏览 会员

趋势解读:Manage sub-issues,types,and dependencies from GitHub CLI,聚焦 Agent 工作流自动化

GitHub CLI v2.94.0 引入了对议题类型、父子议题关系及依赖关系的命令行支持,开发者与编码代理无需浏览器即可结构化管理工作流。

SOURCE / AI技能杠杆 MIN / 9 ACCESS / 会员 POST / 2026-06-11 06:20:55

原贴

查看原文
作者:Allison 来源站点:github.blog 原贴时间:

原文

GitHub CLI now exposes issue types, parent and sub-issue relationships, and issue dependencies directly from the terminal. This means you can structure and track work without dropping into the browser or writing raw gh api scripts. These are exactly the workflows that both developers, and the coding agents that increasingly rely on gh as their interface to GitHub, run every day. As of v2.94.0 , you can now work with issue hierarchy, types, and dependencies directly from gh : Issue types : Set a type on create or edit, and filter by type in gh issue list . Sub-issues : Link, change, or remove a parent with --parent , --set-parent , and --remove-parent . Issue dependencies : Mark blocked-by and blocking relationships with the new --blocked-by and --blocking flags, plus their --add-* and --remove-* variants. gh issue view and gh issue list also expose parent, sub-issue, type, and dependency data as new JSON fields, so your automation can read and act on issue structure reliably. Anyone on GitHub CLI v2.94.0 or later can use the new hierarchy and dependency support in any repository where those features are available. Issue types are configured at the organization level, so type support applies to issues in organizations that have defined them. Install or upgrade to GitHub CLI v2.94.0 today to get started. Have feedback or found an issue? Open an issue in the cli/cli repository .

中文翻译

GitHub CLI 现在通过终端直接暴露议题类型、父议题与子议题关系以及议题依赖关系。这意味着你无需进入浏览器或编写原始 gh api 脚本即可构建和跟踪工作。这些正是开发者以及日益依赖 gh 作为 GitHub 接口的编码代理每天运行的工作流。从 v2.94.0 开始,你可以通过 gh 直接处理议题层级、类型和依赖关系:
议题类型:在创建或编辑时设置类型,并在 gh issue list 中按类型筛选。
子议题:使用 --parent、--set-parent 和 --remove-parent 链接、更改或移除父议题。
议题依赖关系:使用新的 --blocked-by 和 --blocking 标志及其 --add-* 和 --remove-* 变体标记阻塞和依赖关系。gh issue view 和 gh issue list 还将父议题、子议题、类型和依赖关系数据作为新的 JSON 字段暴露,因此你的自动化可以可靠地读取和处理议题结构。
任何使用 GitHub CLI v2.94.0 或更高版本的用户,都可以在启用这些功能的仓库中使用新的层级和依赖关系支持。议题类型在组织级别配置,因此类型支持适用于已定义类型的组织中的议题。
立即安装或升级到 GitHub CLI v2.94.0 以开始使用。有反馈或发现问题?请在 cli/cli 仓库中提交议题。

核心信息

GitHub CLI v2.94.0 引入了对议题类型、父子议题关系及依赖关系的命令行支持,开发者与编码代理无需浏览器即可结构化管理工作流。

  • GitHub CLI v2.94.0 支持议题类型、父子关系及依赖管理
  • 开发者与 AI 代理无需浏览器即可结构化工作项
  • 新增 JSON 字段使自动化能够可靠解析议题结构
  • 议题类型在组织级别配置,个人仓库不支持
  • 升级后可减少上下文切换,提升工作流效率
试看内容

成为会员查看完整内容

你已经看到了这篇内容的前置整理,剩余深度部分仅对会员开放。

详细解读 信息差价值 参考来源
成为会员查看完整内容
上一篇 Replit Agent 新增自定义指令与技能功能 下一篇 趋势解读:Copilot Chat now sees your agent sessions,解读最新研究结论