技能 gh-address-comments
📦

gh-address-comments

内容修订 r2 高风险 ⚙️ 外部命令📁 文件系统访问

处理 GitHub PR 审查评论

在繁忙的拉取请求中,审查评论可能很难跟踪。此技能会指导 Claude、Codex 或 Claude Code 使用 GitHub CLI 查找评论、选择修复项并应用更改。

支持: Claude Codex Code(CC)
⚠️ 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.

你的智能体仍应展示其计划,并按安全策略请求必要确认。

Agent 可读资源

当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。

测试它

正在使用“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 身份验证检查明确。

试试这些提示

列出审查评论
Use gh-address-comments to inspect the open PR for my current branch. Summarize each review thread and wait for my selection.
修复选定评论
Use gh-address-comments on this branch. Number the PR comments, ask which ones to fix, then apply changes for my selected items.
编辑前分流
Use gh-address-comments to separate blocking comments from suggestions. Ask me which blocking items to address before editing files.
恢复身份验证问题
Use gh-address-comments for this PR. If GitHub authentication or rate limits fail, pause and ask me before retrying authentication.

最佳实践

  • 在批准任何编辑之前,先审查带编号的评论列表。
  • 使用完成 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/24

使用量

4 次下载 · 208 次浏览

文件结构

📄 SKILL.md