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
- •
ghauthenticated (gh auth status) - •
jqinstalled
Fetch unresolved threads
bash
bash scripts/get-pr-comments <PR_NUMBER> [OWNER/REPO]
Examples:
bash
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
- •Fetch threads with
scripts/get-pr-comments. - •Convert threads into a todo list (group by file/type).
- •For independent threads, you may use
compound_subagentwithpr-comment-resolverin parallel to propose patches.- •Apply patches sequentially to avoid merge conflicts.
- •Once a thread is addressed, resolve it:
bash
bash scripts/resolve-pr-thread <THREAD_ID>
- •Verify:
bash
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)