Skip to content
review-pr logo

Review GitHub Pull Request

review-pr

Get comprehensive review of a GitHub pull request

SKILL.md

Full skill instructions

Review GitHub Pull Request

Name

github:review-pr - Get comprehensive review of a GitHub pull request

Synopsis

/​review-pr [arguments]

Description

Get comprehensive review of a GitHub pull request

Implementation

Get a comprehensive review of a pull request including commits, diffs, and checks status.

Usage

/​review-pr [owner/​repo] [pr-number]

This command performs a thorough review of a pull request.

What This Command Does

  1. Fetches pull request details using get_pull_request
  2. Retrieves commit history
  3. Analyzes file changes and diffs
  4. Checks CI/​CD status from GitHub Actions
  5. Provides a structured review with:
    • PR metadata (title, author, status, dates)
    • Commit history and messages
    • File changes summary
    • Code review suggestions
    • CI/​CD workflow status
    • Recommendations for approval or changes

Prerequisites

  • GitHub MCP server must be installed and configured
  • You must have access to the repository
  • OAuth authentication must be completed

Example Interaction

User: /​review-pr my-org/​my-repo 15

Claude: Reviewing pull request #15 in my-org/​my-repo...

## Pull Request Review: #15 - Add JWT-based user authentication

### Overview
- **Author**: @johndoe
- **Status**: Open
- **Created**: 2025-01-15
- **Target Branch**: main <- feature/​user-authentication
- **Changes**: +347 lines, -12 lines across 8 files

### Commits (3 total)
1. feat: add JWT token generation and validation
2. feat: implement user login and registration endpoints
3. test: add unit tests for authentication flows

### Files Changed
+ src/​auth/​jwt.ts (+145, -0) - New JWT utilities
+ src/​api/​login.ts (+89, -5) - Login endpoint implementation
+ src/​api/​register.ts (+67, -0) - Registration endpoint
+ src/​middleware/​auth.ts (+23, -0) - Authentication middleware
+ tests/​auth.test.ts (+23, -0) - Unit tests

### Code Review Observations

**Strengths:**
- Clean separation of concerns with dedicated auth module
- Comprehensive error handling in login/​register flows
- Good test coverage for happy and error paths
- Proper password hashing implementation

**Suggestions for Improvement:**
1. Consider adding rate limiting to login endpoint
2. Add JSDoc comments to JWT utility functions
3. Could benefit from integration tests

### CI/​CD Status
- build: Passed (1m 23s)
- test: Passed (2m 45s)
- lint: Passed (24s)

### Recommendation
**Approve with minor suggestions**

This PR implements authentication securely and follows best practices.

Arguments

  • owner/​repo (required): Repository in owner/​repo format
  • pr-number (required): Pull request number

Tips

  • Review PRs regularly to maintain code quality
  • Look for security issues, especially in authentication code
  • Check test coverage for new functionality
  • Verify CI passes before approving
  • Consider architectural impact of large changes
  • Use this for pre-review analysis before detailed code review

Related Commands

  • /​create-pr: Create a new pull request
  • /​search-code: Find similar implementations for comparison
  • /​view-workflow: Check detailed workflow run status

More Security skills

supabase logo
Security

supabase

Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...

2.7K 308.9K
View

Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.

98 216.2K
View

Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.

462 163.8K
View

A skill to evaluate how secure Firestore security rules are. Use this when Firestore security rules are updated to ensure that the generated rules are extremely secure and robust.

462 127.7K
View

Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.

462 125.1K
View

Complete Better Auth server and client setup with database adapters, session management, plugins, and security configuration.

222 118.2K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View
cloudflare logo
Security

cloudflare

Complete Cloudflare platform integration with decision trees for compute, storage, AI, networking, security, and infrastructure-as-code.

3K 110.7K
View

Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.

253 103K
View
gws-gmail logo
Security

gws-gmail

Send, read, and manage Gmail messages, drafts, labels, and account settings.

31.2K 78.9K
View

Comprehensive website auditing across 230+ rules in 21 categories including SEO, performance, security, and accessibility.

94 72.3K
View
gws-shared logo
Security

gws-shared

Shared authentication, CLI syntax, and output formatting patterns for gws Google Workspace commands.

31.2K 63.4K
View

Security AI tools

StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
GeoSpy logo
Security

GeoSpy

GeoSpy: Pricing, Features, FAQs, and Alternatives for AI Teams

Free
View

Detect AI-generated voices to protect against audio fraud.

Paid
View

Ensure Your Content's Originality with AI Plagiarism Checker

Freemium
View
Img Upscaler logo
Security

Img Upscaler

Upscale images by 400% without quality loss

Freemium
View
AICheatCheck logo
Security

AICheatCheck

Accurately Detect AI-Generated Content with TheChecker.AI

Free
View
D
Security

Detect GPT

Chrome extension that detects and flags AI-generated content

Free
View