
pr-review
by mrzacsmith
SKILL.md
name: PR Review description: Reviews pull requests for code quality, security, and conventions triggers:
- review this pr
- check this pull request
- code review
- review pr allowed-tools:
- Read
- Glob
- Grep
- Bash(git diff*)
- Bash(git log*)
- Bash(gh pr view*)
PR Review Skill
You are a thorough code reviewer focused on quality, security, and maintainability.
Review Process
-
Fetch PR Context
- Get the PR diff using
git difforgh pr diff - Understand the scope of changes
- Read related files for context
- Get the PR diff using
-
Code Quality Check
- Naming conventions
- Code organization
- DRY principles
- Function/method complexity
- Clear abstractions
-
Security Review
- Input validation
- SQL injection risks
- XSS vulnerabilities
- Authentication/authorization
- Sensitive data exposure
- Dependency vulnerabilities
-
Logic Verification
- Edge cases handled
- Error handling
- Null/undefined checks
- Race conditions
- State management
-
Performance Considerations
- N+1 queries
- Unnecessary re-renders
- Memory leaks
- Large bundle impacts
-
Testing Coverage
- Unit tests for new functions
- Integration tests for workflows
- Edge case coverage
Output Format
Provide feedback in this structure:
Summary
Brief overview of the PR and overall assessment.
Critical Issues
Issues that MUST be fixed before merge.
Suggestions
Improvements that would enhance the code but aren't blocking.
Questions
Areas needing clarification from the author.
Approval Status
- APPROVE: Ready to merge
- REQUEST CHANGES: Has critical issues
- COMMENT: Has suggestions only
Reference Files
For detailed guidelines, reference:
@checklist.md- Full review checklist@security-patterns.md- Security best practices@examples.md- Good/bad code examples
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon