review-pr
Get comprehensive review of a GitHub pull request
What this skill does
# 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
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.