‹ 首页

resolve-pr-parallel

@sammyjoyce · 收录于 昨天 · 上游提交 2 个月前

Resolve GitHub PR review threads efficiently. Uses gh + jq and the bundled scripts to fetch unresolved threads and mark them resolved. Use when addressing lots of PR feedback.

适合你,如果经常需要处理大量 PR 反馈并逐条标记已解决。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add sammyjoyce/pi-compound-engineering/resolve-pr-parallel
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- sammyjoyce/pi-compound-engineering/resolve-pr-parallel
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify sammyjoyce/pi-compound-engineering/resolve-pr-parallel
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
0GitHub stars
~300上下文体积 · 单文件
索引托管

怎么用

技能原文 SKILL.md作者撰写 · MIT · b4eff36

Resolve PR Comments (Parallel-ish)

This skill helps you:

  • fetch unresolved review threads for a PR
  • plan fixes
  • optionally use subagents to propose fixes per thread
  • resolve threads via GitHub GraphQL
Requirements
  • gh authenticated (gh auth status)
  • jq installed
Fetch unresolved threads
bash scripts/get-pr-comments <PR_NUMBER> [OWNER/REPO]

Examples:

bash scripts/get-pr-comments 123
bash scripts/get-pr-comments 123 EveryInc/cora

This prints JSON for unresolved, non-outdated threads (includes id, path, line, and comment bodies).

Suggested workflow
  1. Fetch threads with scripts/get-pr-comments.
  2. Convert threads into a todo list (group by file/type).
  3. For independent threads, you may use compound_subagent with pr-comment-resolver in parallel to propose patches.
  4. Apply patches sequentially to avoid merge conflicts.
  5. Once a thread is addressed, resolve it:
bash scripts/resolve-pr-thread <THREAD_ID>
  1. Verify:
bash scripts/get-pr-comments <PR_NUMBER> [OWNER/REPO]

Success means the script returns an empty JSON array [].

Scripts
  • scripts/get-pr-comments (GraphQL query)
  • scripts/resolve-pr-thread (GraphQL mutation)
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。