Get comprehensive review of a GitHub pull request
Provides comprehensive review of GitHub pull requests with code analysis and CI status.
/plugin marketplace add TheBushidoCollective/han/plugin install jutsu-scratch@hanhashi-github:review-pr - Get comprehensive review of a GitHub pull request
/review-pr [arguments]
Get comprehensive review of a GitHub pull request
Get a comprehensive review of a pull request including commits, diffs, and checks status.
/review-pr [owner/repo] [pr-number]
This command performs a thorough review of a pull request.
get_pull_requestUser: /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.
owner/repo (required): Repository in owner/repo formatpr-number (required): Pull request number/create-pr: Create a new pull request/search-code: Find similar implementations for comparison/view-workflow: Check detailed workflow run status