技能 gh-address-comments
📦

gh-address-comments

內容修訂 r2 高風險 ⚙️ 外部命令📁 檔案系統存取

處理 GitHub PR 審查留言

在繁忙的 pull request 中,審查留言可能很難追蹤。此技能會引導 Claude、Codex 或 Claude Code 使用 GitHub CLI 尋找留言、選擇修正項目,並套用變更。

支援: Claude Codex Code(CC)
Maintain this Skill? Claim it ⚠️ 38 差

使用我的智慧代理安裝

將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。

智能體請求
Review the Skillstore skill "gh-address-comments" from https://skillstore.io/skills/davila7-gh-address-comments.md and its manifest at https://skillstore.io/api/skills/davila7-gh-address-comments/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.

你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。

測試它

正在使用「gh-address-comments」。 檢查我目前分支的審查回饋。

預期結果:

助理會呈現審查討論串的編號清單,每項都包含簡短摘要與可能的修正方式。

正在使用「gh-address-comments」。 只處理留言 2 和 4。

預期結果:

  • 留言 2 已透過針對性的程式碼變更修正。
  • 留言 4 已分開處理。
  • 未選取的留言維持不變。

正在使用「gh-address-comments」。 GitHub CLI 驗證在審查分類期間失敗。

預期結果:

助理會暫停、說明驗證問題,並請使用者重新驗證後再繼續。

安全審計

高風險
v9 • 2026/7/23 開啟版本化報告

Three backtick detections are Markdown code spans, and the fixed date substitution has no injection path. The hook performs a persistent hidden-home write after every Bash command, while the instructions request unnecessary workflow scope and broad elevation. Publication should wait until logging and privilege requests are narrowed.

1
已掃描檔案
32
分析行數
2
複核項目
0
已忽略的誤報

已確認的安全問題 (1)

高
Excessive GitHub Scope and Elevation Request
The instructions elevate all gh commands and request workflow/repo scopes. Comment handling does not justify workflow scope.
Line 18 explicitly requests workflow scope and sandbox escalation, while line 16 broadens elevation to every gh command.
能力複核項目 (2)

這些是真實的本機能力,對此技能而言可能是預期行為,因此需要複核,但不會按已確認的惡意行為計分。

高
Hidden file in home directory
command: "echo \"[$(date)] GH Address Comments: Executed gh command to address PR comments\" >> ~/.c
The PostToolUse hook appends to ~/.claude/gh-address-comments.log after every Bash action. This creates persistent, unbounded hidden state outside the project.
中
Hidden file access
command: "echo \"[$(date)] GH Address Comments: Executed gh command to address PR comments\" >> ~/.c
Line 11 writes to a hidden path under the user's home directory through shell redirection. The broad Bash matcher triggers this side effect beyond gh commands.

風險因素

審計單位: codex 檢視審計紀錄 →
分享與引用此報告

分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。

開啟版本化報告
安全評估

複製報告連結

https://skillstore.io/skills/davila7-gh-address-comments/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown 徽章

[![Skillstore security assessment](https://skillstore.io/badges/skills/davila7-gh-address-comments/security.svg)](https://skillstore.io/skills/davila7-gh-address-comments?utm_source=security_passport_badge)

HTML 徽章

<a href="https://skillstore.io/skills/davila7-gh-address-comments?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/davila7-gh-address-comments/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

嵌入卡片

<iframe src="https://skillstore.io/embed/skills/davila7-gh-address-comments.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
學術引用 (APA · BibTeX · CFF)

APA 引用

davila7. (2026). gh-address-comments security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/davila7-gh-address-comments/audits/9

BibTeX 引用

@techreport{davila7-davila7-gh-address-comments-2026, author = {davila7}, title = {gh-address-comments security audit report (audit version 9)}, institution = {Skillstore}, year = {2026}, number = {9}, url = {https://skillstore.io/skills/davila7-gh-address-comments/audits/9}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "gh-address-comments security audit report (audit version 9)" version: "unspecified" type: report authors: - name: "davila7" date-released: "2026-07-23" url: "https://skillstore.io/skills/davila7-gh-address-comments/audits/9" identifiers: - type: other value: "skillstore:davila7-gh-address-comments:audit:9" description: "Skillstore immutable audit report identifier"

Skillstore 評分

評分依據 證據置信度: 中
55
架構
85
可維護性
87
內容
70
社群
83
規範符合度

你可以打造什麼

個人開發者清理

審查目前分支的 PR,列出可執行的留言,並只修正開發者選取的項目。

維護者審查分類

在決定哪些回饋應轉為程式碼變更前,摘要尚未解決的審查討論串。

團隊 PR 後續處理

在審查週期後協調選取的修正,同時明確保留 GitHub 驗證檢查。

試試這些提示

列出審查留言
使用 gh-address-comments 檢查我目前分支的開啟中 PR。摘要每個審查討論串,並等待我的選擇。
修正選取的留言
在此分支使用 gh-address-comments。為 PR 留言編號,詢問要修正哪些留言,然後針對我選取的項目套用變更。
編輯前分類
使用 gh-address-comments 將阻塞性留言與建議分開。在編輯檔案前,詢問我要處理哪些阻塞項目。
復原驗證問題
對此 PR 使用 gh-address-comments。如果 GitHub 驗證或速率限制失敗,請暫停並在重試驗證前詢問我。

最佳實務

  • 在核准任何編輯前,先審查編號留言清單。
  • 針對 PR 任務使用所需的最低 GitHub 存取權限。
  • 在套用選取的修正後執行測試或檢查。

避免

  • 不要為了簡單讀取留言而授予廣泛的 GitHub 範圍。
  • 不要在沒有使用者確認的情況下套用每個審查建議。
  • 當 GitHub CLI 尚未驗證時,不要依賴此技能。

常見問題

此技能需要 GitHub CLI 嗎?
是。它依賴 GitHub CLI 進行驗證與存取 PR 留言。
它可以選擇要修正哪些留言嗎?
不可以。它應該列出留言,並等待使用者選擇項目。
它包含留言擷取腳本嗎?
不包含。封裝檔案參照 fetch_comments.py,但目前只有 SKILL.md。
它可以在沒有網路存取的情況下運作嗎?
不可以。GitHub PR 檢查需要對 GitHub 的網路存取。
授予 workflow 範圍安全嗎?
只有在任務確實需要時才授予 workflow 範圍。大多數審查留言工作應使用較窄的存取權限。
哪些助理可以使用它?
它宣告支援 Claude、Codex 和 Claude Code。

開發者詳細資訊

作者

davila7

授權

MIT

Skillstore 修訂

r2

版本提示

作者未聲明版本。

引用

c43861a65bb95efcae259cd161c9d6f4dc7eec6f

維護新鮮度

2026/7/27

使用量

4 次下載 · 208 次瀏覽

檔案結構

📄 SKILL.md

davila7 的更多技能

查看全部
查看全部