pr-review-analysis
Analyze PR review comments from a GitHub PR URL. Fetch review comments, verify each finding against the actual codebase, assess validity (correct/incorrect/partial), and present a structured summary with recommended actions. Use when given a PR review URL or when asked to check/analyze PR feedback.
npx skills add majiayu000/claude-skill-registry --skill pr-review-analysis --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# PR Review Analysis GitHub PR のレビューコメントを取得・分析し、各指摘の妥当性を検証してレポートを出力する。 ## Workflow ### Step 1: レビューコメントの取得 1. ユーザーから PR の URL またはリポジトリ情報と PR 番号を受け取る 2. `gh api` を使ってレビューコメントを取得する: ```bash gh api repos/{owner}/{repo}/pulls/{number}/reviews gh api repos/{owner}/{repo}/pulls/{number}/comments ``` 3. コメントの一覧をパースし、指摘内容・対象ファイル・行番号を整理する ### Step 2: 各指摘の検証 各レビューコメントについて: 1. **該当コードの確認**: 指摘が参照するファイルと行を Read ツールで読む 2. **指摘内容の分析**: レビューアの主張が技術的に正しいか検証する 3. **妥当性の判定**: - ✅ **正当** (Valid): 指摘が正しく、修正が必要 - ❌ **不当** (Invalid): 指摘が誤っている、または該当しない - ⚠️ **部分的に正当** (Partial): 指摘の一部は正しいが、完全には当てはまらない ### Step 3: 影響範囲の確認 指摘が参照するパターン(バグ、アンチパターン等)が他のファイルにも存在するか Grep ツールで確認する。 同一パターンが複数箇所にある場合、それらも報告に含める。 ### Step 4: レポート出力 以下の形式でまとめを出力する: ``` ## PR Review Analysis: #{PR番号} ### Summary - Total comments: {件数} - Valid: {件数} | Partial: {件数} | Invalid: {件数} ### Details | # | File | Severity | Validity | Summary | Action | |---|------|----------|----------|---------|--------| | 1 | path/to/file.ts:L42 | Major | ✅ Valid | 説明 | 修正必要 | | 2 | path/to/file.ts:L100 | Minor | ⚠️ Partial | 説明 | 検討 | ### Detailed Analysis #### Comment 1: [タイトル] - **File**: `path/to/file.ts:L42` - **Reviewer's point**: 指摘内容の要約 - **Verific
- Workflow
- Step 1: レビューコメントの取得
- Step 2: 各指摘の検証
- Step 3: 影響範囲の確認
- Step 4: レポート出力
- Notes
gh api repos/{owner}/{repo}/pulls/{number}/reviews
gh api repos/{owner}/{repo}/pulls/{number}/commentsWhat does the pr-review-analysis skill do?
Analyze PR review comments from a GitHub PR URL. Fetch review comments, verify each finding against the actual codebase, assess validity (correct/incorrect/partial), and present a structured summary with recommended actions. Use when given a PR review URL or when asked to check/analyze PR feedback.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill pr-review-analysis --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
