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 streamlines the GitHub Pull Request workflow by automatically extracting, filtering, and summarizing review comments. It identifies unresolved feedback, generates actionable checklists, and provides direct links to code suggestions, helping developers resolve PR blockers faster and improve code quality through efficient feedback management.
Use Cases
- Consolidating and tracking unresolved comments in complex Pull Requests to ensure no reviewer feedback is missed.
- Summarizing and prioritizing feedback from automated review tools like CodeRabbit to focus on critical code improvements.
- Generating a structured 'to-do' checklist from PR reviews to facilitate faster iterations and team handoffs.
- Quickly navigating to specific lines of code requiring changes using the generated direct GitHub deep links.
| 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/...))