pr-review

Automate GitHub PR reviews with size checks and gh pr review actions.

5|3|Updated Oct 20, 2022
One-click install
npx skills add https://github.com/justifi-tech/web-component-library --skill pr-review-justifi-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-review
Source: https://github.com/justifi-tech/web-component-library/tree/main/.claude/skills/pr-review
Command: npx skills add https://github.com/justifi-tech/web-component-library --skill pr-review-justifi-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates GitHub PR reviews by evaluating code changes (size and content), fetching PR data, running a code-review analysis, and posting results using native GitHub review actions.

Core Features & Use Cases

  • Automated PR sizing and review: Checks PR size, fetches PR metadata, and runs an automated code review.
  • GitHub-native feedback: Posts results with gh pr review actions (approve, request changes, or comment).
  • Workflow-friendly: Integrates with GitHub Actions to streamline CI/CD by providing fast feedback on PRs.

Quick Start

Use the pr-review skill to review PR #123.

Frequently Asked Questions about pr-review

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

FAQPage Schema
How do I automate GitHub PR reviews in CI workflows?

Automate GitHub PR reviews by evaluating code changes, fetching PR metadata via GitHub CLI, and posting structured results using native gh pr review actions in CI workflows.

How does line count affect automated code review outcomes?

Line count determines the automated code review outcome by applying a 250-line threshold to decide whether to approve pull requests, request changes, or leave a comment.

Do I need the GitHub CLI to run automated pull request checks?

Yes, automated pull request checks require GitHub CLI access and the ability to execute Bash commands to fetch PR data and post review outcomes.

Can I integrate automated PR sizing and analysis with GitHub Actions?

Yes, you can integrate automated PR sizing and code review analysis with GitHub Actions to provide fast, native feedback on pull requests across repositories.

What is the best way to post review comments on a GitHub pull request?

Post review comments on a GitHub pull request by running an automated code review analysis and submitting the structured results through native gh pr review actions.

When should I avoid using an automated GitHub code review script?

Avoid using automated GitHub code review scripts for pull requests exceeding the 250-line source code threshold if strict human oversight is required for large diff analysis.