繁體中文

新功能

gh CLI 終端機直接開討論串

gh CLI 現在能直接在命令列操作 GitHub Discussions(討論區功能,社群提問與閒聊的看板)了,這是預覽版(preview,功能還在測試、之後可能調整)。新增「gh discussion」指令組:list 列出討論串、view 看內容、create 開新討論、edit 編輯,另外「gh discussion comment」可以直接留言或回覆別人的討論。內建的 gh 技能(skill,讓 AI 代理知道怎麼用 gh 指令的說明書)也同步補上這批 discussion 指令和 Issues 2.0 的用法說明。像原本只能用網頁逛的社群留言板,現在終端機也能直接開窗留言。

新功能

議題可以分類、拆子任務、互相牽線了

GitHub 的 Issues 2.0(新一代議題系統,議題可以分類、拆子任務、彼此關聯)現在 gh CLI 也支援了:issue 可以標上類型(issue types)、拆成子議題(sub-issues,大任務底下的小任務)、跟其他議題建立關聯(relationships)。像把一張寫滿待辦的便條紙,換成可以分類貼、拆小張、互相牽線的看板,管理大專案的議題終於不用全部擠在一張清單裡。

新功能

gh skill 系列指令一次補齊

gh skill(技能,讓 AI 代理照著說明書做事的功能包)系列指令更好用了。新增「gh skill list」可以一次看清楚裝了哪些技能。「gh skill install」加上 --all 旗標,能把一個 repository(儲存庫)裡的技能全部裝起來,不用一個一個裝。「gh skill update --all」批次更新時,遇到缺 metadata(描述資訊)的技能會自動跳過、不會卡住整批更新。技能檔案放在比較深的巢狀資料夾裡,以前掃描不到,現在也找得到了。像倉庫裡的工具箱終於有清單可以點名,用 --all 一次裝齊、缺標籤的工具不會卡住盤點,藏在櫃子深處的工具也翻得出來。

新功能

擴充功能別名與 CI 自動安裝小改善

這批是指令別名跟自動化的小改善。「gh extension uninstall」現在也能打成「gh extension remove」,兩個名字都通、不用記兩套指令。CI(持續整合,自動跑測試建置的流程)環境裡官方 extension(擴充功能)現在會自動安裝好,不用額外設定。另外新增一個 terminal-mockup canvas extension(終端機模擬畫布擴充功能,用來產生行銷用的終端機截圖)。其餘還有內部整理與相依套件版本更新,不影響日常操作。像商店把退貨跟退款兩個按鈕合併成一個,怎麼按都通到同一個地方。

English

FEATURE

gh CLI can now drive GitHub Discussions from the terminal

gh CLI can now drive GitHub Discussions (a community Q&A and chat board) straight from the command line — this is a preview (the feature is still being tested and may change). The new gh discussion command set covers list, view, create, and edit, and gh discussion comment lets you post or reply to a discussion directly. The built-in gh skill (a skill is a manual that tells an AI agent how to use gh commands) has also been updated with these discussion commands and Issues 2.0 usage notes. It's like a community message board you used to have to browse on the web now getting its own window right in your terminal.

FEATURE

Issues can now be typed, split, and linked to each other

GitHub's Issues 2.0 (the next-generation issue system, where issues can be typed, split into sub-issues, and linked to each other) is now supported in gh CLI: issues can carry a type (issue types), be broken into sub-issues (smaller tasks under a bigger one), and form relationships with other issues. It's like swapping a sticky note crammed with to-dos for a board where you can categorize, split into smaller notes, and draw connecting lines — managing a big project's issues no longer means cramming everything onto one list.

FEATURE

The `gh skill` command family gets rounded out

The gh skill (a skill is a bundle of instructions that tells an AI agent how to do a task) command family got more usable. The new gh skill list shows everything installed at a glance. gh skill install gained an --all flag to install every skill in a repository at once instead of one by one. gh skill update --all now skips skills missing metadata (description info) instead of getting stuck on the whole batch. And skill files buried in nested subfolders, which used to go undetected, are now found too. It's like a warehouse toolbox finally getting an inventory list, one-click restocking, tools without labels no longer jamming the count, and gear buried deep in the cabinet finally turning up.

FEATURE

Small extension-alias and CI auto-install improvements

This batch is small command-alias and automation cleanup. gh extension uninstall now also works as gh extension remove — both names point to the same thing, so you don't need to remember two commands. Official extensions now auto-install in CI (continuous integration, the automated build-and-test pipeline) environments without extra setup. A new terminal-mockup canvas extension was also added, for generating terminal-style screenshots used in marketing. The rest includes internal cleanup and dependency version bumps that don't affect day-to-day use. It's like a store merging its 'return' and 'refund' buttons into one — press either and you end up in the same place.

原始 CHANGELOG

Original changeloggh CLI 終端機直接開討論串
Add `gh discussion` command set (`list`, `view`, `create`, `edit`) as a preview by @babakks and @maxbeizer in [#13541](https://github.com/cli/cli/pull/13541)
Add `gh discussion comment` to comment on and reply to discussions by @babakks in [#13620](https://github.com/cli/cli/pull/13620)
Add `gh discussion` and Issues 2.0 reference to the `gh` skill, plus a README note by @BagToad in [#13631](https://github.com/cli/cli/pull/13631)
Original changelog議題可以分類、拆子任務、互相牽線了
Add Issues 2.0 support: issue types, sub-issues, and relationships by @BagToad in [#13057](https://github.com/cli/cli/pull/13057)
Original changeloggh skill 系列指令一次補齊
Add `gh skill list` to inventory installed agent skills by @tommaso-moro in [#13418](https://github.com/cli/cli/pull/13418)
Add `--all` flag to `gh skill install` to install every skill in a repository by @tommaso-moro in [#13471](https://github.com/cli/cli/pull/13471)
Skip skills without metadata when running `gh skill update --all` by @tommaso-moro in [#13469](https://github.com/cli/cli/pull/13469)
fix(skill): support skill discovery in nested directories by @tommaso-moro in [#13459](https://github.com/cli/cli/pull/13459)
Original changelog擴充功能別名與 CI 自動安裝小改善
Alias `gh extension uninstall` to `gh extension remove` by @BagToad in [#13599](https://github.com/cli/cli/pull/13599)
Auto-install official extensions in CI by @BagToad in [#13581](https://github.com/cli/cli/pull/13581)
Bump Go to 1.26.4 by @github-actions[bot] in [#13578](https://github.com/cli/cli/pull/13578)
Clean up deferred issue update helper by @BagToad in [#13584](https://github.com/cli/cli/pull/13584)
Add terminal-mockup canvas extension for marketing screenshots by @BagToad in [#13612](https://github.com/cli/cli/pull/13612)
chore(deps): bump golangci/golangci-lint-action from 9.2.0 to 9.2.1 by @dependabot in [#13521](https://github.com/cli/cli/pull/13521)
chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.9 to 2.13.10 by @dependabot in [#13520](https://github.com/cli/cli/pull/13520)
chore(deps): bump github.com/mattn/go-colorable from 0.1.14 to 0.1.15 by @dependabot in [#13572](https://github.com/cli/cli/pull/13572)
chore(deps): bump charm.land/bubbletea/v2 from 2.0.6 to 2.0.7 by @dependabot in [#13595](https://github.com/cli/cli/pull/13595)
chore(deps): bump github/codeql-action from 4.36.0 to 4.36.1 by @dependabot  in [#13596](https://github.com/cli/cli/pull/13596)
chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 by @dependabot in [#13597](https://github.com/cli/cli/pull/13597)