Skip to content

feat(skills): add resolve-pr-comments skill [experimental]#327

Draft
varex83agent wants to merge 1 commit intomainfrom
bohdan/resolve-pr-comments-skill
Draft

feat(skills): add resolve-pr-comments skill [experimental]#327
varex83agent wants to merge 1 commit intomainfrom
bohdan/resolve-pr-comments-skill

Conversation

@varex83agent
Copy link
Copy Markdown
Collaborator

Summary

  • Adds .claude/skills/resolve-pr-comments/SKILL.md — a new Claude Code skill that automates closing the loop on PR reviews.
  • Step 1: fetches all review threads via GitHub GraphQL and checks for meaningful replies that acknowledge the concern.
  • Step 2: for threads with no reply, retrieves commits made after the comment and diffs the affected file to check if the code was changed in response.
  • Resolves threads classified as answered (ANSWERED_BY_REPLY or ANSWERED_BY_DIFF) using the resolveReviewThread GraphQL mutation.
  • Approves the PR automatically if no unresolved threads remain; otherwise lists the remaining open ones.

Test plan

  • Invoke /resolve-pr-comments <PR> on a PR that has been fully addressed — verify all threads are resolved and PR is approved.
  • Invoke on a PR with some open threads — verify only answered threads are resolved, PR is not approved, open ones are listed.
  • Invoke on a PR with zero review threads — verify immediate approval.

🤖 Generated with Claude Code

Adds a new Claude Code skill that automates PR review resolution:
- Fetches review threads via GitHub GraphQL API
- Step 1: checks thread replies for acknowledgement
- Step 2: compares post-comment commit diffs to the commented location
- Resolves threads that are answered, approves the PR if none remain

Co-Authored-By: varex83 <varex83@users.noreply.github.com>
@varex83 varex83 changed the title feat(skills): add resolve-pr-comments skill feat(skills): add resolve-pr-comments skill [experimental] Apr 14, 2026
@varex83 varex83 marked this pull request as draft April 14, 2026 15:32
@varex83 varex83 added the ai label Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants