/synthesis-skills:synthesis-bitbucketfrom synthesis-skills
Interacts with Bitbucket Cloud via the bkt CLI for pull requests, repositories, branches, and API calls. Replaces raw REST calls with a consistent command surface.
Ships in synthesis-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
bkt)How an agent interacts with Bitbucket Cloud using bkt, an open-source community CLI that fills the role gh plays for GitHub. This skill exists because agents working across many repos otherwise drift to raw REST calls or the wrong CLI, reassembling auth, URL-encoding, and pagination by hand — differently every session.
The rule in one line: if bkt can do it, use bkt. The REST API is the escape hatch (bkt api), not the default.
Teams layer a private companion skill on top of this one carrying their workspace names, default context, and release conventions. This skill stays generic.
Rules 1 to 3 are the 1.2.2 safety rules, numbered as before.
approve, merge, decline, or create without the operator's explicit intent for that specific PR.bkt, raw curl, and git-host web UIs in one workflow — state drifts and auth surfaces multiply.bkt command names exactly one literal --repo <slug> (api takes its canonical literal path instead). A shared default context never selects the repository, even for reads or loops: the next session can change it.bkt pipeline run can deploy. Verify its effects and the applicable deployment authorization first.bkt version and re-review the diff before upgrading: it is a community tool with write access to your repos.bkt uses the token. A REST token does not necessarily authenticate git HTTPS, and the context host must match bkt auth status exactly.bkt is not yet installed or authenticated, or when a call fails with "host not found".scripts/pr_queue.py builds the daily-rituals PR queue and when it reports unscanned. Read it when working on or interpreting the PR-queue scan.gh → bkt map, When NOT to apply: below.Every supported repository read or write must carry one literal --repo <slug>.
Supply --workspace <workspace> for Cloud or --project <key> for Data Center
when selecting that namespace. Never use a mutable active context as repository
evidence, including for read-only calls, aliases such as pr ls, or repeated calls
in a loop. bkt pr list --mine also needs the intended repository when running
under this repository-scoped policy. Enumerate the authorized repository inventory
for a portfolio read instead of silently broadening its coverage.
Authentication, connection-context management, help/version and api /user GET
are non-repository operations. The actual api command does not support --repo:
use its canonical literal /repositories/<workspace>/<repo>/... or Data Center
/rest/api/1.0/projects/<key>/repos/<repo>/... path. An unresolved, redirected or
traversing path is not a binding. Never add an unsupported flag to manufacture one.
This is a rule the agent applies, not a mechanical check: before running a
repository-acting command, read it back and confirm it names exactly one --repo
(or one canonical api path). Naming the repository identifies a target only:
it grants no send, review, merge or publication authority. When adopting another
bkt version, recheck the documented flags against its own --help.
Global flags on any command: --json · --yaml · --template '<Go template>' · --jq '<expr>' (with --json) · --format json|yaml · -c <context>. Context overrides: --workspace, --repo.
bkt pr list --repo <repo> — --state OPEN|MERGED|DECLINED · --limit <n> (0 = all) · --minebkt pr view <id> --repo <repo> · bkt pr diff <id> [--stat] --repo <repo> · bkt pr comments <id> [--state unresolved] --repo <repo> · bkt pr checks <id> [--wait] --repo <repo>bkt repo view --repo <repo> · bkt branch list --repo <repo> · bkt pipeline list|view --repo <repo>bkt pr create --title <t> --description <d> --source <branch> --target <branch> [--reviewer <user|{UUID}>]… [--with-default-reviewers] [--draft] --repo <repo>
bkt pr comment <id> --text <msg> [--parent <comment-id>] [--file <path> --to-line <n>] --repo <repo>
bkt pr edit <id> --repo <repo> · bkt pr approve <id> --repo <repo> · bkt pr merge <id> [--strategy <server-supported-id>] --repo <repo> · bkt pr decline <id> --repo <repo> · bkt pr reopen <id> --repo <repo>
bkt pipeline run --repo <repo> --ref <branch|tag|commit> — starts a pipeline and can deploy; verify its effects and applicable deployment authorization first.
Merge strategy IDs depend on the server and repository. The CLI accepts a string; its help uses rebase_fast_forward as an example, not a universal supported-value list.
bkt api /repositories/<ws>/<repo>/... — raw REST with auth handled. Use only for surfaces the catalog lacks; prefer adding a note to your team's companion skill when a gap becomes routine.gh → bkt map| gh | bkt |
|---|---|
gh pr list | bkt pr list --repo <repo> |
gh pr view N | bkt pr view N --repo <repo> |
gh pr diff N | bkt pr diff N --repo <repo> |
gh pr create | bkt pr create --repo <repo> |
gh pr review --approve | bkt pr approve N --repo <repo> |
gh pr merge N | bkt pr merge N --repo <repo> |
gh pr comment N -b … | bkt pr comment N --text … --repo <repo> |
gh api … | bkt api … |
Bitbucket Cloud has no PR labels and its PR states are OPEN, MERGED, DECLINED, SUPERSEDED — port gh habits accordingly.
gh / glab are the right tools there)bkt's support — check the project's README firstagents/openai.yaml (opens in a new tab)references/coverage-map.md (opens in a new tab)references/pr-queue.md (opens in a new tab)references/preserved.md (opens in a new tab)references/setup.md (opens in a new tab)scripts/pr_queue.py (opens in a new tab)tests/fixtures/help-0.30.0.json (opens in a new tab)tests/test_bitbucket_pr_queue.py (opens in a new tab)tests/test_bitbucket_skill_contract.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub synthesisengineering/synthesis-skills --plugin synthesis-skills73 skills in this plugin
/synthesis-absence-coordinationPlan an absence end to end: who to tell, coverage, meetings released, out-of-office on and off, the return sweep. Use for time off or leave./synthesis-action-sheetOne page of what the principal must still do after agents act: approvals, sends, tasks. Use after a decision packet or daily plan./synthesis-adversarial-reviewBounded adversarial review by differently shaped agents, with a findings table and rulings. Use for red-team or cross-agent review.Other plugins' skills for the same job