breaking-brake avatar

Pr Review Analysis

This one grabs review comments from a GitHub PR, verifies each finding against the actual code, and tells you whether the feedback is valid, partially valid, or just wrong. It checks if the same issue exists elsewhere in the codebase and outputs a structured report with recommended actions. The workflow is thorough: fetches comments via gh api, reads the referenced files, judges the technical merit of each point, and can even post replies back to GitHub if you want. Useful when you're facing a wall of review comments from bots or teammates and need to triage what actually matters. The verification step against real code is the part that matters here.

GitHub stars
5.1K
last updated
Jun 11, 2026

Install

$ npx -y skills add breaking-brake/cc-wf-studio --skill pr-review-analysis --agent claude-code

Installs into .claude/skills of the current project.

Files

PR Review Analysis

GitHub PR のレビューコメントを取得・分析し、各指摘の妥当性を検証してレポートを出力する。

Workflow

Step 1: レビューコメントの取得

  1. ユーザーから PR の URL またはリポジトリ情報と PR 番号を受け取る
  2. gh api を使ってレビューコメントを取得する:
    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

Sponsors

Details

Repository
github.com/breaking-brake/cc-wf-studio
Categories
Git & Pull Requests, Code Review & Quality
First seen
Jun 11, 2026

More from breaking-brake/cc-wf-studio

All 7
1cockroachdb avatarbackport-pr-assistantcockroachdb/cockroachHelp backport PRs to release branches using the backport CLI tool. Use when backporting changes that have merge conflicts requiring manual resolution.0skills.sh installs
2evalstate avatarpr-writing-reviewevalstate/fast-agentExtract and analyze writing improvements from GitHub PR review comments. Use when asked to show review feedback, style changes, or editorial improvements from a0skills.sh installs
3giuseppe-trisciuoglio avatargithub-issue-workflowgiuseppe-trisciuoglio/developer-kitProvides a structured 8-phase workflow for resolving GitHub issues in Claude Code. Covers fetching issue details, analyzing requirements, implementing solutions3.6Kskills.sh installs
4feiskyer avatargithub-fix-issuefeiskyer/claude-code-settingsFix GitHub issues end-to-end — from analysis through branch creation, implementation, testing, and PR submission. Use this skill whenever the user mentions fixi202skills.sh installs
5zc277584121 avatargit-commit-pushzc277584121/mygitpluginCommit changes and push to origin without creating a PR3.4Kskills.sh installs
6zc277584121 avatargit-commit-przc277584121/mygitpluginCommit changes and create a pull request to the official upstream repo3.4Kskills.sh installs