review-pr

Automate GitHub pull request review and squashed merging with release tagging via gh CLI.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/samzzi/dotfiles --skill review-pr-samzzi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-pr
Source: https://github.com/samzzi/dotfiles/tree/main/config/claude/skills/review-pr
Command: npx skills add https://github.com/samzzi/dotfiles --skill review-pr-samzzi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the review and merging of GitHub pull requests using the gh CLI. It helps maintain code quality and streamline collaboration by standardizing PR checks and release tagging.

Core Features & Use Cases

  • Fetch PR details and diff with gh pr view and gh pr diff.
  • Verify CI status and enforce green checks before merging.
  • Merge PRs with squash and tag a release following versioning rules.

Quick Start

Provide a PR number or URL to initiate the review and the tool will guide you through fetching details, validating CI, and merging with release tagging.

Frequently Asked Questions about review-pr

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

FAQPage Schema
How do I automate GitHub pull request reviews and merging using the gh CLI?

You can automate GitHub pull request reviews and merging by providing a PR number or URL; the tool fetches details, validates CI status, and executes a squashed merge with release tagging.

Can I enforce green CI checks before merging a pull request automatically?

Yes, you can enforce green CI checks before merging a pull request by using this automation to verify CI status and ensure all checks pass before executing a squashed merge.

How do I perform a squashed merge and tag a release with gh CLI?

To perform a squashed merge and tag a release, provide a PR number to initiate the review, and the tool will guide you through validating CI and merging with controlled version bumps.

Do I need gh CLI installed and repository access to automate PR merging?

Yes, you need the gh CLI installed and access to the target repository to automate PR merging, as the tool requires these to fetch PR details, verify CI, and enforce safety checks.

How do I fetch PR details and diff for a code review using gh CLI?

You can fetch PR details and diff for a code review by running gh pr view and gh pr diff through this automation, which standardizes PR checks and streamlines collaboration.

Can I use this to handle version bumps and release tagging for Spatie packages?

Yes, you can use this to handle version bumps and release tagging for Spatie packages, as it enforces controlled versioning rules during the squashed merge process.