pr-review-comments
仓库创建 2025年10月21日最近提交 1 个月前SkillHot 收录 22 天前
▸ 精选理由
适合自动化大规模 review 结果发布,借助 gh CLI 无需显式管理 token。
▸ 风险提示
需已安装并认证 gh CLI,脚本会对仓库 PR 写入评论权限。
这个 Skill 做什么
将 JSON 格式的审查发现作为逐行内联评论发布到 GitHub PR 上。
把一份 JSON 格式的审查发现逐条发成 GitHub PR 的行内评论,并自动把每条评论锚定到对应的文件和行号,方便在代码上下文里直接讨论和修复问题。当你有自动化审计、静态检查或人工复核结果,想把这些问题同步到 PR 上时会用到。好处是用 gh CLI 调用 GitHub API,不用额外管理 token,能自动定位仓库和目标 PR。
▸ 展开 SKILL.md 英文原文
Posts review findings from a JSON file as inline comments on a GitHub Pull Request, attaching each comment to its file and line. Use when you have a list/JSON of review findings (each with a file path, line number, and a message such as summary/failure_scenario) and want them published on a PR as inline review comments. Triggers include "post these review comments on the PR", "associate comments to files in the PR", "publish review findings to PR
311
Stars
37
Forks
40
仓库内 Skill
+10
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/giuseppe-trisciuoglio/developer-kit/main/plugins/developer-kit-core/skills/pr-review-comments/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/giuseppe-trisciuoglio/developer-kit/main/plugins/developer-kit-core/skills/pr-review-comments/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# PR Review Comments Publish a JSON array of review findings as inline comments on a GitHub Pull Request, each anchored to its file and line. Uses the GitHub API through the authenticated `gh` CLI, so no token handling is needed. ## Prerequisites - `gh` CLI installed and authenticated (`gh auth status`). The script auto-detects the repo with `gh repo view`; pass `--repo OWNER/REPO` to override. - The PR number to comment on. - A JSON file: an **array** of objects. Required keys per object: `file`, `line`. Message comes from `summary` and/or `failure_scenario` (combined into the body), or an explicit `body`. See [references/json-schema.md](references/json-schema.md) for the full sc
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有