resolve-pr-comments
GitHub PR의 미해결 Review thread를 일괄 Resolve한다. GraphQL API를 사용해 미해결 Review thread(코드 특정 라인에 대한 코멘트)를 조회한 뒤, resolveReviewThread mutation으로 모두 자동 Resolve한다. Issue comment(대화 탭)는 원래 Resolve 기능이 없으므로 대상에서 제외된다. 각 스레드의 Resolve 결과를 출력한다.
When & Why to Use This Skill
This Claude skill automates the management of GitHub Pull Requests by batch-resolving all unresolved review threads. Utilizing the GitHub GraphQL API, it specifically targets code-level comments to streamline the transition from review to merge, significantly reducing the manual effort required to clean up PR discussions.
Use Cases
- Scenario 1: Rapidly closing out large volumes of feedback threads after a major code refactor has addressed all reviewer concerns.
- Scenario 2: Streamlining the PR workflow in high-velocity development teams where manual resolution of dozens of comments is a bottleneck.
- Scenario 3: Cleaning up administrative or automated bot-generated review comments that have been verified and no longer require individual attention before merging.
| name | resolve-pr-comments |
|---|---|
| description | GitHub PR의 미해결 Review thread를 일괄 Resolve한다. GraphQL API를 사용해 미해결 Review thread(코드 특정 라인에 대한 코멘트)를 조회한 뒤, resolveReviewThread mutation으로 모두 자동 Resolve한다. Issue comment(대화 탭)는 원래 Resolve 기능이 없으므로 대상에서 제외된다. 각 스레드의 Resolve 결과를 출력한다. |
Resolve PR Comments
Instructions
아래 명령어를 실행해 Resolve되지 않은 리뷰 코멘트를 Resolve한다.
bash scripts/resolve-pr-comments.sh