From bitbucket
Create, view, manage, and merge Bitbucket pull requests using bbt. Use this skill when the user wants to work with pull requests — creating, listing, reviewing, or merging them.
npx claudepluginhub tanyagray/claude --plugin bitbucketThis skill uses the workspace's default tool permissions.
Use the `bbt` CLI to manage Bitbucket pull requests.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
Use the bbt CLI to manage Bitbucket pull requests.
# List open pull requests in the current repository
bbt pr list
# List pull requests for a specific repository
bbt pr list -R workspace/repo
# View pull request details by ID
bbt pr view <pr-id>
# View for a specific repository
bbt pr view <pr-id> -R workspace/repo
# Interactive creation
bbt pr create
# Create for a specific repository
bbt pr create -R workspace/repo
When creating a PR, bbt will prompt for:
main or develop# Merge a pull request by ID
bbt pr merge <pr-id>
# Merge for a specific repository
bbt pr merge <pr-id> -R workspace/repo
$ARGUMENTS to reference a specific PR ID if the user provides onebbt pr list first to understand open PRs and their IDsFor operations not yet in bbt, use the Bitbucket REST API directly:
# List PR comments (requires BITBUCKET_TOKEN env var)
curl -s -u "${BITBUCKET_USER}:${BITBUCKET_TOKEN}" \
"https://api.bitbucket.org/2.0/repositories/{workspace}/{repo}/pullrequests/{id}/comments"
# Approve a PR
curl -s -X POST -u "${BITBUCKET_USER}:${BITBUCKET_TOKEN}" \
"https://api.bitbucket.org/2.0/repositories/{workspace}/{repo}/pullrequests/{id}/approve"
# Decline a PR
curl -s -X POST -u "${BITBUCKET_USER}:${BITBUCKET_TOKEN}" \
"https://api.bitbucket.org/2.0/repositories/{workspace}/{repo}/pullrequests/{id}/decline"