bitbucket-cloud
Handle Bitbucket Cloud PR operations. Use for "PR", "pull request", "review" when repo is on bitbucket.org.
When & Why to Use This Skill
This Claude skill automates Bitbucket Cloud Pull Request operations, enabling seamless PR management, detailed diff analysis, and comprehensive code reviews. It helps developers identify bugs, security risks, and performance bottlenecks directly within their workflow to ensure high code quality and faster merge cycles.
Use Cases
- Automated Code Review: Fetching PR details and diffs to analyze code for bugs, security vulnerabilities, and performance issues before providing a verdict.
- PR Status Tracking: Generating structured tables of open, drafted, or merged pull requests to monitor team progress on bitbucket.org.
- Security & Quality Auditing: Systematically checking code changes against quality standards and posting detailed comments on specific lines of code.
- Platform-Specific Workflow Routing: Automatically detecting repository origins (Bitbucket Cloud vs. Datacenter) to ensure the correct toolset is applied to the PR process.
| name | "bitbucket-cloud" |
|---|---|
| description | "Handle Bitbucket Cloud PR operations. Use for \"PR\", \"pull request\", \"review\" when repo is on bitbucket.org." |
Bitbucket Cloud PR Operations
Use mcp__plugin_bitbucket-plugin__* MCP tools.
Step 1: Detect Platform (REQUIRED)
Run git remote -v to identify platform:
bitbucket.org→ ✅ Bitbucket Cloud (continue)bitbucket.<company>.comor custom domain → Usebitbucket-datacenterskillgithub.com→ Usegithub-prskill
Extract from URL:
- SSH:
git@bitbucket.org:workspace/repo.git→ workspace=workspace, repo=repo - HTTPS:
https://bitbucket.org/workspace/repo.git→ workspace=workspace, repo=repo
Output Format
List PRs as table: | # | Title | Author | Branch | Status | Updated |
Status: ✅ Open | 📝 Draft | 🔀 Merged | ❌ Declined
PR Review
- Fetch PR details + diff
- Analyze: bugs, security, performance, code quality
- Present:
## PR Review: #<NUM> - <TITLE>with Summary, Issues Found ([file:line]), Verdict (APPROVE/REQUEST_CHANGES/COMMENT) - Post comments/approve if requested