Loading...
Loading...
Manage Bitbucket repositories, pull requests, branches, tags, commits, and projects using the orbit CLI. Use this skill whenever the user asks about Bitbucket repos, PRs (pull requests), branches, tags, commits, code review, or project management on Bitbucket Server/Data Center or Bitbucket Cloud. Trigger on phrases like 'list PRs', 'show pull requests', 'create a branch', 'open a PR', 'view the latest commits', 'list repos in project X', 'merge the PR', 'decline the PR', 'check PR activity', or any Bitbucket-related task — even casual references like 'what PRs are open', 'show me the repos', 'tag a release', 'check if it merged', 'who approved it', or 'list branches'. Also trigger when the user provides a Bitbucket Server URL (e.g., https://git.example.com/projects/PROJ/repos/my-repo/) or mentions Bitbucket Data Center. The orbit CLI alias is `bb`.
npx skill4agent add jorgemuza/orbit bitbucketorbitorbitbitbucket~/.config/orbit/config.yamlop://orbit -p <profile> bitbucket <command> [flags]orbit -p <profile> bb <command> [flags]-o jsonreferences/commands.mdL3SUPMYPROJagents-sremy-servicehttps://git.example.com/projects/L3SUP/repos/agents-sre/
^^^^^ ^^^^^^^^^^
project-key repo-slug# List all projects
orbit -p myprofile bb project list
# View project details
orbit -p myprofile bb project view L3SUP
# List repositories in a project
orbit -p myprofile bb repo list L3SUP
# View repo details (includes clone URLs)
orbit -p myprofile bb repo view L3SUP agents-sre# List open PRs (default)
orbit -p myprofile bb pr list L3SUP agents-sre
# List merged PRs
orbit -p myprofile bb pr list L3SUP agents-sre --state merged
# List all PRs
orbit -p myprofile bb pr list L3SUP agents-sre --state all
# View PR details (shows from/to branches, reviewers, approval status)
orbit -p myprofile bb pr view L3SUP agents-sre 42
# Create a PR
orbit -p myprofile bb pr create L3SUP agents-sre \
--from feature/new --to main --title "Add new feature"
# Create a PR with reviewers
orbit -p myprofile bb pr create L3SUP agents-sre \
--from feature/new --to main --title "Add feature" \
--reviewers john.doe,jane.smith
# View PR diff (for code review)
orbit -p myprofile bb pr diff L3SUP agents-sre 42
# View PR diff with more context lines
orbit -p myprofile bb pr diff L3SUP agents-sre 42 --context 10
# Merge a PR
orbit -p myprofile bb pr merge L3SUP agents-sre 42
# Merge a PR bypassing review checks (requires repo admin)
orbit -p myprofile bb pr merge L3SUP agents-sre 42 --bypass-review
# Decline a PR
orbit -p myprofile bb pr decline L3SUP agents-sre 42
# Add a comment to a PR
orbit -p myprofile bb pr comment L3SUP agents-sre 42 --body "LGTM!"
# View PR activity (comments, approvals, status changes)
orbit -p myprofile bb pr activity L3SUP agents-sre 42OPENMERGEDDECLINEDALL# List branches
orbit -p myprofile bb branch list L3SUP agents-sre
# Filter branches by name
orbit -p myprofile bb branch list L3SUP agents-sre --filter feature
# Show default branch
orbit -p myprofile bb branch default L3SUP agents-sre
# Create a branch from a ref
orbit -p myprofile bb branch create L3SUP agents-sre feature/new-thing main
# Delete a branch
orbit -p myprofile bb branch delete L3SUP agents-sre feature/old-thing
# List tags
orbit -p myprofile bb tag list L3SUP agents-sre
# Create a tag
orbit -p myprofile bb tag create L3SUP agents-sre v1.0.0 main -m "Release v1.0.0"# List recent commits (default branch)
orbit -p myprofile bb commit list L3SUP agents-sre
# List commits on a specific branch
orbit -p myprofile bb commit list L3SUP agents-sre --branch feature/new
# View commit details
orbit -p myprofile bb commit view L3SUP agents-sre abc1234def5678# List users
orbit -p myprofile bb user list
# Filter users by name
orbit -p myprofile bb user list --filter johnorbit -p myprofile bb pr list L3SUP agents-sre -o json | jq '.[].title'# View PR details and reviewers
orbit -p myprofile bb pr view L3SUP agents-sre 42
# Get the full diff for code review
orbit -p myprofile bb pr diff L3SUP agents-sre 42
# Check activity (approvals, comments)
orbit -p myprofile bb pr activity L3SUP agents-sre 42
# Add your review comment
orbit -p myprofile bb pr comment L3SUP agents-sre 42 --body "Approved, looks good"https://git.cnvrmedia.net/projects/L3SUP/repos/agents-sre/pull-requestsL3SUPagents-sreorbit -p myprofile bb pr list L3SUP agents-sreorbit -p myprofile bb repo list L3SUP-p <profile>bitbucket--service <name>servercloud/rest/api/latest//2.0/op://vault/item/fieldorbit authorbit auth clearOPENMERGEDDECLINEDALL--limit Nhttps://host/projects/KEY/repos/SLUG/...