gh-address-comments SKILL.md skillA
gh-address-comments from seaworld008/commonly-used-high-value-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add seaworld008/commonly-used-high-value-skills/gh-address-comments@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- seaworld008/commonly-used-high-value-skills
- Path
openclaw-skills/gh-address-comments/SKILL.md- Versions recorded
- 4
- Latest version
- v1.0.0, committed Jun 29, 2026
- First version recorded
- Mar 8, 2026
- Size
- 6,119 bytes
- Repository stars
- 73
- License
- MIT
Use when addressing GitHub PR review comments or issue comments on the current branch with gh CLI, including auth checks, comment triage, edits, verification, and replies.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# PR Comment Handler (GitHub CLI) 用于快速定位当前分支对应的 GitHub Pull Request 并自动处理其中的 Review 意见或 Issue 评论。该技能通过 `gh` CLI 工具与 GitHub API 交互,能够读取评论、理解意图、提出修复建议并自动执行代码修改,从而显著加快代码评审的闭环速度。 ## 安装与配置 ```bash # 确保已安装 GitHub CLI brew install gh # 登录并授权相关权限 (repo, read:org, workflow) gh auth login ``` ## 触发条件 / When to Use - **PR 进入反馈阶段**:在 CI/CD 完成后,评审人提出了若干修改建议。 - **批量处理琐碎反馈**:如拼写错误、变量重命名、代码风格调整等无需深度逻辑讨论的评论。 - **远程协作同步**:当多个团队成员在同一个 PR 下进行异步讨论,需要快速汇总并执行共识。 - **遗留 PR 清理**:针对已经开启多日但未合入的 PR,自动检索所有未解决(Unresolved)的对话。 - **自动化测试失败复盘**:如果评审人指出了测试用例的覆盖不足,Agent 自动根据评论补充测试代码。 ## 核心能力 / Core Capabilities ### 1. 评论提取与语义分类 (Observation) - **操作步骤**: 1. 验证当前分支:`git branch --show-current`。 2. 获取 PR 编号:`gh pr view --json number,url`。 3. 读取所有 Review 线程:`gh pr view --json reviews` 或运行自定义脚本 `fetch_comments.py`。 - **最佳实践**:优先区分 `General Comment` (全局评论) 和 `Inline Comment` (代码行内评论),以便精准定位代码行。 ### 2. 交互式任务确认 (Clarification) - **操作步骤**: 1. 对所有评论进行编号。 2. 针对每一条评论,评估修复难度和可能的变更方案。 3. 输出清晰的列表:`[编号] 评论内容 -> 拟修复逻辑`。 4. 使用 `question` 工具等待用户确认:“请问需要处理哪些编号的评论?” - **最佳实践**:对于不确定的评论,主动询问其语境,避免误改。 ### 3. 自动代码修复 (Action) - **操作步骤**: 1. 根据 `path` 和 `line` 信息,使用 `read` 工具定位本地源文件。 2. 利用 LLM 生成修复后的代码块。 …
Read the whole file at its exact version.
How to install
mdr add seaworld008/commonly-used-high-value-skills/gh-address-comments@sha256:02d4b209a05ff328The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_4nkiue6w7iwdfaui)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Mar 8, 2026 and Jun 29, 2026, about one every 38 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-06-29 | eafe326 | 6,119 B | A | view · diff |
| v1.0.0 | 2026-04-18 | 6d56b59 | 6,013 B | A | view · diff |
| v1.0.0 | 2026-03-27 | 0b34652 | 6,014 B | A | view · diff |
| git:20260308.99bcec4 | 2026-03-08 | 99bcec4 | 1,280 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6119 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
seaworld008/commonly-used-high-value-skills · 73 stars · license MIT · pushed 2026-10-19 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_4nkiue6w7iwdfaui GET https://markdownregistry.com/api/v1/resolve?ref=seaworld008/commonly-used-high-value-skills/gh-address-comments GET https://markdownregistry.com/api/v1/blob/02d4b209a05ff328d9d3bc75fd3055d93624ed8383c167346b6146d2d90e65e9
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from seaworld008/commonly-used-high-value-skills
Every file in seaworld008/commonly-used-high-value-skills