pr-review-analysis

Solid

Analyze PR review comments from a GitHub PR URL. Fetch review comments, verify each finding against the actual codebase, assess validity (correct/incorrect/partial), present a structured summary with recommended actions, and optionally reply to each comment on GitHub. Use when given a PR review URL or when asked to check/analyze PR feedback.

AI & Automation 5,048 stars 548 forks Updated yesterday NOASSERTION

Install

View on GitHub

Quality Score: 77/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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**: 指摘内容の要約 - **Verification**: 検証結果の説明 - **Verdict**: ✅ Valid - **Recommended action**: 具体的な修正方針 - **Same pattern found in**: (該当する場合) 他のファイルパス ... ``` ### Step 5: レビューコメントへの返信 レポート出力後、修正対応が完了している場合はレビューコメントへの返信を提案する。 1. **ユーザー確認**: 「コメントに返信しますか?」と確認する。ユーザーが承認した場合のみ返信を実行する 2. **返...

Details

Author
breaking-brake
Repository
breaking-brake/cc-wf-studio
Created
6 months ago
Last Updated
yesterday
Language
TypeScript
License
NOASSERTION

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Featured

pr-writing-review

Extract and analyze writing improvements from GitHub PR review comments. Use when asked to show review feedback, style changes, or editorial improvements from a GitHub pull request URL. Handles both explicit suggestions and plain text feedback. Produces structured output comparing original phrasing with reviewer suggestions to help refine future writing.

3,791 Updated today
evalstate
Code & Development Featured

claude-code-review

Use when asked to review a PR, or when /review is invoked with a PR number or URL. Performs a focused code review checking for bugs, security, performance, and test gaps, then posts findings as a PR comment and formal GitHub review.

456 Updated today
DataRecce
Code & Development Featured

review-pr

Review a PR or branch diff using the knowledge graph for full structural context. Outputs a structured review with blast-radius analysis.

17,382 Updated today
tirth8205
Code & Development Featured

code-reviewer

Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then produces a structured review report with prioritized, actionable feedback. Use when reviewing pull requests, conducting code quality audits, identifying refactoring opportunities, or checking for security issues. Invoke for PR reviews, code quality checks, refactoring suggestions, review code, code quality. Complements specialized skills (security-reviewer, test-master) by providing broad-scope review across correctness, performance, maintainability, and test coverage in a single pass.

9,342 Updated 5 days ago
Jeffallan