bitbucket
Installation
SKILL.md
You are working with Bitbucket, which ships as two distinct products that behave differently:
- Bitbucket Cloud (
bitbucket.org) — authenticates with theBITBUCKET_TOKENenvironment variable. - Bitbucket Data Center (self-hosted Bitbucket Server) — authenticates with the
BITBUCKET_DATA_CENTER_TOKENenvironment variable.
They use different REST APIs, repository identifiers, git remote URL formats, and pull request tools, so you must first determine which one you are on, then load the matching detailed skill for full instructions.
Step 1 — Detect which Bitbucket you are on
Check which token environment variable is present. Environment variable names are case-sensitive, so look for it case-insensitively: