$npx -y skills add smartwhale8/claude-playbook --skill review-prReview a pull request for quality, security, and correctness
| 1 | Review pull request: $ARGUMENTS |
| 2 | |
| 3 | Follow this checklist: |
| 4 | |
| 5 | 1. **Read the PR**: Run `gh pr view $ARGUMENTS` and `gh pr diff $ARGUMENTS` |
| 6 | 2. **Understand scope**: What is this PR trying to accomplish? |
| 7 | 3. **Review for correctness**: |
| 8 | - Does the code do what it claims? |
| 9 | - Are there edge cases not handled? |
| 10 | - Are there off-by-one errors, null pointer risks, or race conditions? |
| 11 | 4. **Review for architecture**: |
| 12 | - Does this follow existing patterns in the codebase? |
| 13 | - Is there code duplication that should be extracted? |
| 14 | - Are new dependencies justified? |
| 15 | 5. **Review for security**: |
| 16 | - Input validation on external data? |
| 17 | - SQL injection, XSS, or other OWASP risks? |
| 18 | - Secrets or credentials exposed? |
| 19 | 6. **Review for testing**: |
| 20 | - Are new behaviors covered by tests? |
| 21 | - Are edge cases tested? |
| 22 | 7. **Summarize**: Provide a clear summary with specific, actionable feedback |