Generated banner for Gh Review Requests
Generated logo for Gh Review Requests

Gh Review Requests

SentryOfficialPublished by Sentry

  • Skill
  • Tool integration
  • Software development
  • Apache-2.0
  • Low risk
  • Has scripts

From the author

Fetch unread GitHub notifications for open PRs where review is requested from a specified team or opened by a team member. Use when asked to "find PRs I need to review", "show my review requests", "what needs my review", "fetch GitHub review requests", or "check team review queue".
— the description by Sentry

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill automates the process of identifying pending GitHub pull request reviews. It retrieves unread notifications for open PRs, specifically filtering for requests directed at a designated team or PRs authored by team members. The workflow involves executing a script to query GitHub data and presenting the findings in a structured markdown table for easy review.

What it does

  • Identifies unread review-requested notifications for open pull requests
  • Filters results based on a specified GitHub team slug
  • Checks if a PR was opened by a member of the target team
  • Outputs a summary of PRs including titles, URLs, and the reason for the notification
  • Provides a fallback manual procedure using GitHub CLI commands if the primary script fails

When to use it

  • When you need to find PRs requiring your team's attention
  • When checking the review queue for a specific engineering team
  • When you want to see which PRs were opened by members of your team
  • When managing unread GitHub notifications related to code reviews

Advantages

  • Centralizes review requests into a single, readable format
  • Reduces manual searching through GitHub notification feeds
  • Provides clear context on why a PR appears in the review queue
  • Includes a fallback mechanism to ensure reliability

Usage examples

“What needs my review for the streaming-platform team?”
The agent identifies the team slug, runs the fetch script, and displays a markdown table of all unread PRs requiring review from that team.
“Fetch GitHub review requests for my team.”
The agent prompts for the specific team name if not provided, then retrieves and lists the relevant open PRs.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/getsentry/gh-review-requests/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip gh-review-requests.zip -d .agents/skills

Documentation by Sentry

GitHub Review Requests

Fetch unread review_requested notifications for open (unmerged) PRs, filtered by a GitHub team.

Requires: GitHub CLI (gh) authenticated.

Requires: The uv CLI for python package management, install guide at https://docs.astral.sh/uv/getting-started/installation/

Step 1: Identify the Team

If the user has not specified a team, ask:

Which GitHub team should I filter by? (e.g. streaming-platform)

Accept either a team slug (streaming-platform) or a display name ("Streaming Platform") — convert to lowercase-hyphenated slug before passing to the script.

Step 2: Run the Script

uv run scripts/fetch_review_requests.py --org getsentry --teams <team-slug>

To filter by multiple teams, pass a comma-separated list:

uv run scripts/fetch_review_requests.py --org getsentry --teams <team slugs>
Script output
{
  "total": 3,
  "prs": [
    {
      "notification_id": "12345",
      "title": "feat(kafka): add workflow to restart a broker",
      "url": "https://github.com/getsentry/ops/pull/19144",
      "repo": "getsentry/ops",
      "pr_number": 19144,
      "author": "bmckerry",
      "reasons": ["opened by: bmckerry"]
    }
  ]
}

reasons will contain one or both of:

  • "review requested from: <Team Name>" — the team is a requested reviewer

  • "opened by: <login>" — the PR author is a team member

Step 3: Present Results

Display results as a markdown table with full URLs:

#TitleURLReason
1feat(kafka): add workflow to restart a brokerhttps://github.com/getsentry/ops/pull/19144opened by: evanh

If total is 0, say: "No unread review requests found for that team."

Fallback

If the script fails, run manually:

gh api notifications --paginate

Then for each review_requested notification, check:

  • gh api repos/{repo}/pulls/{number} — skip if state == "closed" or merged_at is set

  • gh api repos/{repo}/pulls/{number}/requested_reviewers — check teams[].name

  • gh api orgs/{org}/teams/{slug}/members — check if author is a member

Files

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Declares allowed tools, Needs a command-line tool, Needs Python

Security

What our scanner noticed· Low risk

  • Scripts that your agent may run

This skill includes scripts that your agent may run. Read them before you use it.

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Sentry
Publisher
Sentry (Official)
Source
getsentry/skills · skills/gh-review-requests · commit e94f222
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Sentry or Sentry.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download gh-review-requests.zip