review-pr

Installation
SKILL.md
Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

Review

Review a pull request: analyze code changes, validate and execute the test plan, post a review with inline comments, and merge.

PR Context

!gh pr view $0 --json number,title,body,author,state,baseRefName,headRefName,mergeable,labels,reviewDecision,statusCheckRollup 2>/dev/null || echo "ERROR: Could not fetch PR #$0. Verify the PR number and try again."

Workflow

1. Validate PR State

Confirm the PR is open and mergeable using the context above.

Stop conditions:

  • PR is not found → inform and stop
  • PR is already merged or closed → inform and stop
  • PR has merge conflicts (mergeable is CONFLICTING) → inform and stop
Related skills
Installs
2
GitHub Stars
4
First Seen
Feb 6, 2026