繁體中文

新功能

技能可裝進更多 AI 工具,搜尋與發布更不容易搞錯

你可以用 gh skills install 把同一個技能裝進多個 agent host(承載 AI 代理工具的應用程式),不必逐一手動複製。安裝時可選擇允許隱藏資料夾,搜尋也會認得巢狀的 skills/ 資料夾;若發現某技能曾重新發布,會提供安裝上游版本的選項。預覽會依安裝名稱正確比對,避免看錯技能。gh 與 gh-skill 的 agent skills 文件也已補上。skills publish --fix 也終於只修正問題、不會意外發布,而介面刪除了誤導文字。像替一把萬用鑰匙配多扇門:門更多、標籤更準,修鎖時也不會順手把門打開。

新功能

新增遙測控制與紀錄,別名不會被送出

你能用新增的 telemetry 指令查看或調整遙測(telemetry,匿名收集的使用紀錄)設定,也不用再靠環境變數才啟用。GitHub CLI 開始以抽樣方式記錄指令使用情況,並特別記錄技能、官方擴充功能、CI 環境(自動執行測試或部署的環境)與 AI 代理呼叫的脈絡;若沒有可送出的遙測資料,也會留下紀錄說明。相反地,你自訂的別名不會被送出。這些資訊用來了解功能如何被使用,不代表記下每次操作。像商店抽樣統計哪些貨架常被看,但不抄下每位客人替商品取的綽號。

English

FEATURE

Skills install into more AI tools, with safer discovery and publishing

You can now use gh skills install to put one skill into multiple agent hosts, the apps that run AI agents, without copying it by hand to each one. Installation can allow hidden directories, and discovery recognizes nested skills/ directories. When a skill has been republished, the CLI can offer its upstream version for installation. Preview matches by install name, so you see the right skill. Documentation now includes gh and gh-skill agent skills. skills publish --fix now fixes issues without accidentally publishing, and misleading interface text has been removed. It is like fitting one master key to more doors: there are more doors, clearer labels, and fixing a lock does not also open it.

FEATURE

Telemetry gets controls and context, while aliases stay private

You can use the new telemetry command to inspect or adjust telemetry settings, and it no longer needs an environment variable to be enabled. GitHub CLI now samples command use and records context for skills, official extensions, CI environments that run tests or deployments automatically, and AI-agent invocations. When there is no telemetry to send, it records that fact too. Your custom aliases, however, are not sent. This data helps show how features are used; it is not a ledger of every action. It is like a shop sampling which shelves people view, without copying the nicknames each shopper gives its products.

原始 CHANGELOG

Original changelog技能可裝進更多 AI 工具,搜尋與發布更不容易搞錯
Add support for installation in multiple agent hosts in `gh skills install` by @tommaso-moro in https://github.com/cli/cli/pull/13209
Add --allow-hidden-dirs flag to gh skill install by @SamMorrowDrums in https://github.com/cli/cli/pull/13213
Make skill discovery less strict: support nested `skills/` directories by @SamMorrowDrums in https://github.com/cli/cli/pull/13235
feat(skills): detect re-published skills and offer upstream install by @SamMorrowDrums in https://github.com/cli/cli/pull/13236
Fix `skills publish --fix` to not publish by @SamMorrowDrums in https://github.com/cli/cli/pull/13237
fix(skills): match skills by install name in preview command by @SamMorrowDrums in https://github.com/cli/cli/pull/13249
Remove misleading text by @tommaso-moro in https://github.com/cli/cli/pull/13203
docs(skills): add gh and gh-skill agent skills by @BagToad in https://github.com/cli/cli/pull/13244
Original changelog新增遙測控制與紀錄,別名不會被送出
Add sampled command telemetry by @williammartin in https://github.com/cli/cli/pull/13191
Do not send telemetry for aliases by @williammartin in https://github.com/cli/cli/pull/13192
Add skills specific telemetry by @williammartin in https://github.com/cli/cli/pull/13204
Record CI context in telemetry by @williammartin in https://github.com/cli/cli/pull/13210
Record official extension telemetry by @williammartin in https://github.com/cli/cli/pull/13205
Add telemetry command by @williammartin in https://github.com/cli/cli/pull/13253
Log when there is no telemetry by @williammartin in https://github.com/cli/cli/pull/13255
Enable telemetry without env var by @williammartin in https://github.com/cli/cli/pull/13254