create-bitbucket-pr

Creates a Bitbucket pull request from prepared title, body, and branch inputs.

1|1|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/williamthorsen/codeassembly --skill create-bitbucket-pr-williamthorsen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-bitbucket-pr
Source: https://github.com/williamthorsen/codeassembly/tree/main/packages/agents/content/skills/create-bitbucket-pr
Command: npx skills add https://github.com/williamthorsen/codeassembly --skill create-bitbucket-pr-williamthorsen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When orchestrating pull request creation across multiple Git platforms, each platform needs a dedicated delegate that handles its specific API behavior. This Skill creates a pull request on Bitbucket using fully prepared inputs supplied by the create-pr orchestrator, removing the need to resolve prefixes, labels, or scope at this stage. ## Core Features & Use Cases - Bitbucket PR creation: Calls the configured Bitbucket pull-request tool with a prepared title, body, source branch (current HEAD), and destination branch, creating drafts where supported. - Label handling transparency: Bitbucket pull requests have no labels, so every requested label is reported as skipped, keeping the artifact format consistent with the GitHub delegate. - Artifact persistence: Saves a pull-request artifact with the PR URL, timestamp, and label status lines into the ticket directory following artifact conventions. - Use Case: An agentic workflow finishes a change on a feature branch and needs a Bitbucket PR opened with a standardized body and a saved record for later merge automation. ## Quick Start Ask the create-pr orchestrator to open a pull request for the current branch on Bitbucket and it will delegate to this skill with the prepared title, body, and labels.

Frequently Asked Questions about create-bitbucket-pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Bitbucket pull request from an AI agent workflow?

Use the create-pr orchestrator, which prepares the title, body, labels, and base branch, then delegates to this skill. It calls the configured Bitbucket pull-request tool with the current branch as source and saves a pull-request artifact with the resulting URL.

Does Bitbucket support labels on pull requests?

No, Bitbucket pull requests have no labels and the tool exposes no label parameter. This skill attempts no label call and reports every requested label under Labels skipped, keeping the artifact format consistent with the GitHub delegate.

Can I invoke create-bitbucket-pr directly with my own inputs?

No, this skill is marked user-invocable: false and acts as an internal delegate. It expects fully prepared inputs from create-pr and does not resolve prefixes, labels, or scope/type itself.

What inputs does the Bitbucket PR delegate require?

It requires title, body, labels, base_branch, ticket_id, project_slug, and artifact_base_dir. The source branch is taken from the current git HEAD, and the base branch must be a bare name like main, not origin/main.

Where is the pull request record saved after creation?

A pull-request artifact is saved in the ticket directory at {artifact_base_dir}/projects/{project_slug}/tickets/{ticket_id}/ with a timestamped filename. It records the PR URL, creation time, and the attempted, applied, and skipped label lists.