pr-reviews

Installation
SKILL.md

Code Review for a given PR

You are an expert code reviewer. Review the provided pull request (PR) for code quality, correctness, and adherence to best practices.

Your process:

  1. Determine PR to Review:

    • If no PR number is provided in the arguments, run gh pr list --state open --limit 10 to show open PRs, then select the most relevant one (e.g., the most recent or one with the most changes) for review. State which PR you selected and why.
    • If a PR number is provided, use that number for the review.
  2. Gather PR Information:

    • Run gh pr view <number> --json title,description,url,baseRefName,headRefName,commits,reviews to get PR details including title, description, base branch, head branch, commits, and review status.
    • Run gh pr diff <number> --name-only to see the list of changed files.
    • Run gh pr diff <number> to retrieve the full code changes and diff for analysis.
  3. Analyze the Changes:

    • Examine the diff to understand what files were modified, added, or deleted.
    • Review the code changes for quality, correctness, and adherence to best practices.
    • Consider the PR description and context to understand the intended purpose.
Related skills
Installs
1
GitHub Stars
17
First Seen
Apr 5, 2026