# Bitbucket Datacenter

> Handle Bitbucket Data Center/Server PR operations. Use for "PR", "pull request", "review" when repo is on self-hosted Bitbucket (NOT bitbucket.org).

- Skill: `majiayu000/bitbucket-datacenter` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/bitbucket-datacenter`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/bitbucket-datacenter/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/bitbucket-datacenter

---


# Bitbucket Data Center PR Operations

Use `mcp__plugin_bitbucket-datacenter-plugin__*` MCP tools.

## Step 1: Detect Platform (REQUIRED)

Run `git remote -v` to identify platform:
- `bitbucket.<company>.com` or custom domain → ✅ Bitbucket DC (continue)
- `bitbucket.org` → Use `bitbucket-cloud` skill
- `github.com` → Use `github-pr` skill

**Extract from URL:**
- SSH: `git@bitbucket.company.com:7999/PROJ/repo.git` → workspace=`PROJ`, repo=`repo`
- HTTPS: `https://bitbucket.company.com/scm/PROJ/repo.git` → workspace=`PROJ`, repo=`repo`

## Output Format

List PRs as table: `| # | Title | Author | Branch | Status | Updated |`
Status: ✅ Open | 📝 Draft | 🔀 Merged | ❌ Declined

## PR Review

1. Fetch PR details + diff
2. Analyze: bugs, security, performance, code quality
3. Present: `## PR Review: #<NUM> - <TITLE>` with Summary, Issues Found (`[file:line]`), Verdict (APPROVE/REQUEST_CHANGES/COMMENT)
4. Post comments/approve if requested

