pr-review-extraction
Extract and summarize review comments from GitHub PRs. Use when analyzing PR reviews, checking unresolved issues, or responding to CodeRabbit feedback.
When & Why to Use This Skill
This Claude skill automates the extraction and summarization of GitHub Pull Request review comments, specifically designed to help developers manage feedback loops more efficiently. By filtering out resolved discussions and generating actionable checklists with direct GitHub links, it streamlines the process of addressing peer reviews and automated feedback from tools like CodeRabbit, ensuring no critical issue is overlooked before merging.
Use Cases
- Streamlining PR Feedback: Automatically extract and summarize unresolved comments in large Pull Requests to help developers focus on pending tasks without manual scrolling.
- CodeRabbit & Bot Response: Efficiently organize and prioritize high-volume automated suggestions from AI review tools into a structured checklist for systematic resolution.
- Review Status Reporting: Generate a concise report of outstanding review items to provide clear visibility into PR progress during team syncs or handovers.
- Unresolved Issue Tracking: Quickly identify 'blocker' comments that haven't been marked as resolved to ensure code quality and compliance with team standards.
| name | pr-review-extraction |
|---|---|
| description | Extract and summarize review comments from GitHub PRs. Use when analyzing PR reviews, checking unresolved issues, or responding to CodeRabbit feedback. |
| allowed-tools | Bash, Read, Write |
PRレビューコメント抽出
レビューコメントを効率的に抽出し、対応すべき項目をチェックリスト化します。
主な機能
- Resolved除外: Resolved状態のコメントを自動除外(未解決のみ表示)
- 統計表示: 未解決/全体のコメント数を表示
- GitHub連携: 各コメントへの直接リンク付き
- チェックリスト: 対応状況を追跡可能
使用方法
基本的な使い方
# 未解決のレビューコメントを取得(デフォルト: 300文字まで表示)
python3 .claude/skills/pr-review-extraction/extract_reviews.py <PR_NUMBER>
オプション
# 完全なコメント表示(切り詰めなし)
python3 .claude/skills/pr-review-extraction/extract_reviews.py <PR_NUMBER> --full
実行例
# PR #7のレビューを取得(未解決のみ、300文字まで)
python3 .claude/skills/pr-review-extraction/extract_reviews.py 7
# PR #7のレビューを取得(完全表示)
python3 .claude/skills/pr-review-extraction/extract_reviews.py 7 --full
出力例
# Review Report (PR #7)
## 🚨 Code Suggestions (Inline)
- [ ] **ingest/collectors/spotify.py:42**
- 指摘: Consider using async context manager for better resource handling...
- [View on GitHub](https://github.com/...)
## 📝 Summary & Walkthrough
- [ ] **PR Summary / Report** ([View on GitHub](https://github.com/...))