bitbucket
Skill0 starsChanged 5 months agoMITView on GitHub
Use when the user needs Bitbucket Data Center repository, branch, pull request, comment, merge, or build-trigger operations.
In this repository28 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- api-pentestSkill
- change-implementationSkill
- cloud-pentestSkill
- code-reviewSkill
- confluenceSkill
- delivery-metricsSkill
- deployment-verificationSkill
- fortifySkill
- gate-remediationSkill
- github-issueSkill
- githubSkill
- github-workflowSkill
- gitlabSkill
- incident-responseSkill
- jenkinsSkill
- jiraSkill
- knowledge-captureSkill
- monitor-checkSkill
- network-pentestSkill
- obsidianSkill
- pentestSkill
- release-orchestrationSkill
- repo-understandingSkill
- security-fix-guideSkill
- sonarqubeSkill
- sprint-kickoffSkill
- using-orbitSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 3 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Use this skill to operate Bitbucket Data Center repositories, branches, and pull requests through the packaged launcher and local CLI …
- Very specific: line 19
Always run the packaged launcher through ${BITBUCKET_SKILL_DIR} so it works from the user's current working directory:
- Very specific: line 25
Do not execute ${BITBUCKET_SKILL_DIR}/bin/bitbucket or ${BITBUCKET_SKILL_DIR}\bin\bitbucket.cmd literally when the host has not resolved …
- Very specific: line 27
When the host leaves the placeholder unresolved, check the current workspace install first, such as .claude/skills/bitbucket/bin/bitbucket …
- Very specific: line 28
Do not call node dist/cli.js directly.
- Very specific: line 29
Do not start with version, doctor, or --help when the user already asked for a concrete Bitbucket read or write task, unless the launcher …
- Very specific: line 30
When exact command syntax is unclear, use the packaged launcher with <group> --help or <group> <action> --help before guessing flags.
- Distinctive: line 37
Do not call Bitbucket REST API directly from the skill layer.
- Distinctive: line 42
Prefer stable, structured CLI output that downstream agents can parse reliably.
- Very specific: line 52
Use these directly without reading supporting files.
- Very specific: line 70
Only fall back to BIN build jenkins-trigger ...
- Very specific: line 113
Run bitbucket config get when configuration state is unknown or before the first provider-scoped task in a new session.
- Very specific: line 117
Read references/commands.md for command families and packaged launcher forms.
- Very specific: line 118
Read references/usage.md for execution policy, aggregation rules, and read/write behavior.
- Very specific: line 119
Follow references/usage.md finding classification and routing rules before submitting PR review feedback.
- Very specific: line 120
Read examples/common-workflows.md for end-to-end examples.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Bitbucket Skill
This skill is one implementation of the repo capability in the Orbit shared provider framework. Core repository, branch, and pull request operations live here; repo required-reviewers, jira pr-issues, jira issue-commits, and similar bridge flows are optional Bitbucket-specific enhancements layered on top.
Use this skill to operate Bitbucket Data Center repositories, branches, and pull requests through the packaged launcher and local CLI runtime.
Runtime and execution
Always run the packaged launcher through ${BITBUCKET_SKILL_DIR} so it works from the user's current working directory:
- macOS/Linux:
${BITBUCKET_SKILL_DIR}/bin/bitbucket - Windows:
${BITBUCKET_SKILL_DIR}\bin\bitbucket.cmd
${BITBUCKET_SKILL_DIR} is a documentation placeholder, not a guaranteed shell environment variable.
Do not execute ${BITBUCKET_SKILL_DIR}/bin/bitbucket or ${BITBUCKET_SKILL_DIR}\bin\bitbucket.cmd literally when the host has not resolved that placeholder.
Resolve BIN to a real launcher path once before the first CLI call.
When the host leaves the placeholder unresolved, check the current workspace install first, such as .claude/skills/bitbucket/bin/bitbucket or .Codex/skills/bitbucket/bin/bitbucket, then fall back to the host-provided installed skill directory when available.
Do not call node dist/cli.js directly.
Do not start with version, doctor, or --help when the user already asked for a concrete Bitbucket read or write task, unless the launcher itself is failing.
When exact command syntax is unclear, use the packaged launcher with <group> --help or <group> <action> --help before guessing flags.
The launcher first reuses a compatible system Node runtime when available (currently Node >= 20), and only downloads the required runtime into the local cache when the machine does not already have one.
Scope and boundaries
- Bitbucket Data Center only (not Bitbucket Cloud).
- CLI-mediated operations only.
- Do not call Bitbucket REST API directly from the skill layer.
- The CLI may use explicitly allowlisted plugin endpoints when the project scope permits them, including the Jenkins branch trigger endpoint for
build jenkins-trigger.
Provider-specific caveats
- Prefer stable, structured CLI output that downstream agents can parse reliably.
- Distinguish read actions and write actions explicitly.
- For write failures, return explicit and actionable failure details; do not swallow errors.
Review behavior
- During code review, if no high-confidence, actionable, non-trivial issues are found, return a clean result instead of proposing or submitting comments, and use
pr approvewhen the task is to submit the review result.
Quick reference — common operations
Use these directly without reading supporting files. BIN = the resolved launcher path for this session, not the literal ${BITBUCKET_SKILL_DIR} placeholder token.
| Task | Command |
| Trigger build (simplified) | BIN build trigger --repo <slug> --branch <name> [--project <KEY>] |
| Trigger build (explicit) | BIN build jenkins-trigger --project <KEY> --repo <slug> --branch refs/heads/<name> |
| List repos in a project | BIN repo list --project <KEY> |
| Search repos by name | BIN repo search --name <name> |
| List open PRs (project) | BIN pr list --project <KEY> --state OPEN --draft false |
| List merged PRs (date) | BIN pr list --project <KEY> --state MERGED --after YYYY-MM-DD |
| Get single PR | BIN pr get --project <KEY> --repo <slug> --id <ID> |
| Create branch | BIN branch create --project <KEY> --repo <slug> --name <branch> --start-point <ref> |
| Read file content | BIN repo content --project <KEY> --repo <slug> --path <path> [--at <ref>] |
Notes on build trigger:
--branchaccepts short names likedev(auto-prefixed torefs/heads/dev) or full refs.--projectis optional; when omitted, auto-resolved from repo slug via search. If multiple repos share the same slug across projects, specify--projectexplicitly.- For requests to trigger a specific repository branch build, default to
BIN build trigger --repo <slug> --branch <name>and do not runrepo searchjust to discover the project key. - Only fall back to
BIN build jenkins-trigger ...when the user already provided--project,build triggerreports that the same slug exists in multiple projects, or the user explicitly asks for full refs or explicit control. - Protected branches (main/master/prod/production) require
--confirm-production true.
Capability Domain
Domain:
repo
Provides:
repo.config.getrepo.config.setrepo.repo.listrepo.repo.searchrepo.repo.getrepo.repo.contentrepo.repo.default-branch.getrepo.branch.listrepo.branch.createrepo.pr.listrepo.pr.getrepo.pr.changesrepo.pr.diffrepo.pr.activitiesrepo.pr.createrepo.pr.updaterepo.pr.commentrepo.pr.review-commentrepo.pr.approverepo.commit.listrepo.commit.getrepo.commit.changesrepo.commit.pull-requestsrepo.repo.required-reviewersrepo.pr.linked-work-itemsrepo.issue.linked-commits-via-repo- project-scoped pull request aggregation
- provider-specific workflow helpers
Config check:
bitbucket config get
Config check
Run bitbucket config get when configuration state is unknown or before the first provider-scoped task in a new session.
Supporting files
- Read
references/commands.mdfor command families and packaged launcher forms. - Read
references/usage.mdfor execution policy, aggregation rules, and read/write behavior. - Follow
references/usage.mdfinding classification and routing rules before submitting PR review feedback. - Read
examples/common-workflows.mdfor end-to-end examples.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

