---
description: Review a Bitbucket pull request for bugs, security, and code quality
---
Review pull request #$1. Steps:

1. Use `bitbucket({ action: "get_pr", pr_id: $1 })` to get PR details
2. Analyze the source and destination branches
3. Review the diff stats and file changes
4. Check for:
   - Bugs and logic errors
   - Security issues (hardcoded secrets, injection, auth gaps)
   - Error handling gaps
   - Performance concerns
   - Missing tests
   - Code style and naming
5. Summarize your findings with actionable feedback
6. If appropriate, use `bitbucket({ action: "comment_pr", pr_id: $1, comment: "..." })` to leave a review comment
