pr-review-sla

Flags overdue, stale, and blocked GitHub pull requests and posts daily Slack nudges.

20.2k|3.4k|Updated Oct 5, 2024
One-click install
npx skills add https://github.com/kortix-ai/suna --skill pr-review-sla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-review-sla
Source: https://github.com/kortix-ai/suna/tree/main/packages/starter/templates/marketplace/runtime/skills/pr-review-sla
Command: npx skills add https://github.com/kortix-ai/suna --skill pr-review-sla

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pull requests stall silently — reviewers miss requests, authors ignore requested changes, and PRs sit idle for days before anyone notices. This Skill runs a daily sweep across your GitHub repositories and surfaces every PR that is overdue for review, stale, or blocked on unaddressed feedback, then nudges the responsible person in Slack.

Core Features & Use Cases

  • Overdue Review Detection: Flags PRs where a requested reviewer has not submitted a review within the configured SLA hours, and nudges the reviewer.
  • Stale PR Detection: Identifies PRs with no commits, comments, or reviews within the configured stale window, and nudges the author.
  • Unaddressed Changes Tracking: Detects PRs whose latest review requested changes that the author has not responded to with a commit or comment.
  • Use Case: An engineering team configures a daily cron so every morning a single Slack message lists all PRs awaiting review past 24 hours, PRs idle for over 5 days, and PRs with unanswered change requests, each tagging the person who owns the next move.

Quick Start

Ask the agent to run the PR review sweep across your configured repositories and post the grouped summary of overdue, stale, and blocked pull requests to your alert channel.

Frequently Asked Questions about pr-review-sla

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

FAQPage Schema
How do I monitor pull requests that are overdue for review on GitHub?

Use the gh CLI to list open PRs with their review requests and reviews, then compute how long each outstanding review request has been waiting. This Skill flags any PR waiting longer than the configured SLA hours and nudges the requested reviewer in Slack.

How to find stale pull requests with no activity using gh CLI?

Fetch each PR's commits, comments, and reviews via gh pr view, take the most recent timestamp across all three, and compare it against your stale threshold in days. PRs exceeding the window are flagged and the author is nudged.

Can this Skill merge, close, or approve pull requests automatically?

No. The Skill is strictly read-only against GitHub — it only runs gh pr list, gh pr view, and GET API calls. It never merges, closes, approves, or dismisses reviews, and its only external output is one Slack summary message.

Does the PR sweep remember which PRs were nudged yesterday?

No. Each run is a fresh session with no memory of prior nudges. Every PR's state is recomputed from GitHub's current data, and the full sweep is reposted to the alert channel each day.

What permissions does the GitHub token need for PR review monitoring?

The GH_TOKEN is injected as an environment variable scoped to read access only, limited to this agent's grant. It needs permission to list and view pull requests, reviews, comments, and commits on the target repositories.