One-click install
npx skills add https://github.com/wednesday-solutions/ai-agent-skills --skill pr-review-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-review-agent
Source: https://github.com/wednesday-solutions/ai-agent-skills/tree/main/skills/agents/pr-review-agent
Command: npx skills add https://github.com/wednesday-solutions/ai-agent-skills --skill pr-review-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents risky merges by ensuring PRs receive structured comment triage plus objective checks for blast radius impact and architectural drift.

Core Features & Use Cases

  • Triage-read: Fetches and categorizes PR review comments from GitHub by impact level (security → breaking → logic → performance → naming → style) for fast developer action.
  • Blast radius + risk scoring: Runs score and blast analysis on each changed file to flag high-risk areas (risk > 60) before any merge.
  • Architecture drift enforcement: Detects architecture violations introduced by the PR by running drift since the base SHA and reporting any breaks.
  • Triage-fix workflow: Waits for explicit developer approval (e.g., “@agent fix #N” or “@agent fix all”) and applies fixes in prioritized order with one commit per fix item.

Quick Start

Use pr-review-agent to review an open pull request by running triage, scoring and blast checks on changed files, performing a drift scan, and summarizing everything into a unified report.

Frequently Asked Questions about pr-review-agent

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

FAQPage Schema
How do I assess pull request merge readiness and blast radius before merging?

To assess pull request merge readiness, you can run a review agent that fetches PR comments via GitHub CLI, scores blast radius on each changed file, and flags high-risk areas before merging. It generates a unified report summarizing triage, scoring, and drift checks.

What is architecture drift detection in a pull request review?

Architecture drift detection identifies violations introduced by a pull request by running a drift scan since the base SHA. It validates architectural compliance and reports any breaks, ensuring the PR does not compromise existing system structure before merging.

Do I need the GitHub CLI to categorize pull request review comments by impact level?

Yes, fetching pull request review comments requires the GitHub CLI. The review agent then categorizes these comments by impact level—security, breaking, logic, performance, naming, and style—to triage and prioritize developer action efficiently.

Can I automate code fixes for pull request comments after triage?

Yes, code fixes are applied through a triage-fix workflow that waits for explicit developer approval, such as an instruction to fix specific items or all items. It then applies fixes in prioritized order with one commit per fix item.

What is the best way to prevent risky merges when reviewing pull requests?

The best way to prevent risky merges is to combine structured comment triage with objective repository impact checks. This approach evaluates blast radius, detects architecture drift, and scores risk on changed files to block high-risk merges.

When should I not use automated pull request review for merge readiness?

You should not use automated pull request review when you need immediate, unprompted code fixes, as the triage-fix workflow requires explicit developer approval for each item. It is designed for structured evaluation rather than autonomous, unsupervised merging.