CodeRabbit Rules from PR Reviews - Fetch Comments

Fetch and filter human PR review comments from GitHub repos into structured JSON.

1|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/openshift-eng/ga-regression-reports --skill coderabbit-rules-from-pr-reviews-fetch-comments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: CodeRabbit Rules from PR Reviews - Fetch Comments
Source: https://github.com/openshift-eng/ga-regression-reports/tree/main/.claude/skills/coderabbit-rules-from-pr-reviews
Command: npx skills add https://github.com/openshift-eng/ga-regression-reports --skill coderabbit-rules-from-pr-reviews-fetch-comments

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fetch and filter human PR review comments from a GitHub repository to provide clean JSON data for AI analysis.

Core Features & Use Cases

  • Fetches merged PR review comments and general discussion comments from recent PRs.
  • Filters out bot accounts, prow commands, approvals, and short noise.
  • Outputs structured JSON including repo, PRs, reviewers, and comments for downstream AI analysis.
  • Use case: analyze reviewer feedback and track PR discussions across projects.

Quick Start

Run the fetch_pr_comments.py script on a GitHub repo to collect recent merged PR comments and output structured JSON for AI analysis.

Frequently Asked Questions about CodeRabbit Rules from PR Reviews - Fetch Comments

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract PR review comments from GitHub for AI analysis?

To extract PR review comments for AI analysis, this Skill fetches inline code-review and general discussion comments from recent merged PRs, filters out bot noise, and outputs structured JSON. It uses the GitHub CLI with pagination to collect repository data.

What is the best way to filter bot comments and approvals from GitHub PR reviews?

Filtering bot comments and approvals from GitHub PR reviews is handled automatically by the Skill. It removes bot accounts, prow commands, and short noise, providing only human PR review comments in a clean JSON payload for downstream processing.

Do I need the GitHub CLI and Python 3 to fetch PR comments?

Yes, fetching PR comments requires both the GitHub CLI and Python 3. The Skill uses the gh api command with built-in rate-limit handling and pagination to retrieve recent merged PR data and output structured JSON.

What JSON structure is output when fetching GitHub PR review comments?

The JSON structure output when fetching GitHub PR review comments includes the repository name, PRs, reviewers, and filtered comments. This structured payload provides clean data for downstream AI analysis of reviewer feedback across projects.

Can I use this to analyze reviewer feedback across OpenShift GitHub repositories?

Yes, you can analyze reviewer feedback across OpenShift GitHub repositories. The Skill targets recent merged PRs in any GitHub repo, including OpenShift projects, capturing both inline code-review and general discussion comments for analysis.