bitbucket-plugin
NewBitbucket Cloud PR operations - List, review, and manage pull requests on Bitbucket Cloud (bitbucket.org)
Summary
org) directly from the terminal.
- It streamlines code review workflows by allowing you to fetch PR details, approve or comment on changes, and navigate repositories without leaving your development environment.
Overview
A collection of developer productivity skills for Claude Code including GitHub, Bitbucket PR review and git worktree management.
Available Plugins
| Plugin | Description |
|---|---|
| git-plugin | Create isolated git worktrees for PRs, branches, tags, or commits |
| bitbucket-plugin | PR operations for Bitbucket Cloud (bitbucket.org) |
| bitbucket-datacenter-plugin | PR operations for self-hosted Bitbucket Server/Data Center |
| github-plugin | PR operations for GitHub |
Installation
Quick Install (Recommended)
# Add the marketplace
/plugin marketplace add https://github.com/vkkotha/claude-skills
# Install individual plugins
/plugin install git-plugin@cdskit-marketplace
/plugin install bitbucket-plugin@cdskit-marketplace
/plugin install bitbucket-datacenter-plugin@cdskit-marketplace
/plugin install github-plugin@cdskit-marketplaceDevelopment Mode
For testing or development, load a plugin directly without installing:
# Clone the repository
git clone https://github.com/vkkotha/claude-skills.git
# Run Claude Code with a specific plugin
claude --plugin-dir ./claude-skills/git-plugin
claude --plugin-dir ./claude-skills/bitbucket-plugin
claude --plugin-dir ./claude-skills/bitbucket-datacenter-plugin
claude --plugin-dir ./claude-skills/github-pluginPlugins
git-plugin
Git utility for creating isolated worktrees. Features:
- •Supports PRs, branches, tags, and commits
- •Cross-platform (macOS, Linux, Windows via Git Bash/WSL)
- •Auto-detects IDE context (VS Code, JetBrains, Claude Code CLI)
- •Bitbucket and GitHub PR refs support
- •Worktree auto-cleanup with confirmation
Prerequisites: Git 2.5+ and Bash.
Usage:
"Create a worktree for PR 456"
"Help me inspect branch feature/login"bitbucket-plugin
Pull request operations for Bitbucket Cloud (bitbucket.org). Features:
- •List PRs in table format with status icons
- •Fetch PR details and diffs via MCP
- •AI-powered code review for bugs, security, performance issues
- •Post inline comments and suggestions
- •Approve, request changes, or merge PRs
Prerequisites: Requires the Bitbucket Cloud MCP server.
export BITBUCKET_USERNAME="your-username"
export BITBUCKET_APP_PASSWORD="your-app-password"Usage:
"Review PR 123"
"List open PRs"
"Approve PR 456"bitbucket-datacenter-plugin
Pull request operations for self-hosted Bitbucket Server/Data Center. Features:
- •List PRs in table format with status icons
- •Fetch PR details and diffs via MCP
- •AI-powered code review for bugs, security, performance issues
- •Post inline comments and suggestions
- •Approve, request changes, or merge PRs
Prerequisites: Requires the Bitbucket Data Center MCP server.
export BITBUCKET_USERNAME="[email protected]"
export BITBUCKET_TOKEN="your-http-access-token"
export BITBUCKET_BASE_URL="https://bitbucket.yourcompany.com"Usage:
"Review PR 123"
"List open PRs"
"Approve PR 456"github-plugin
Pull request operations for GitHub. Features:
- •List PRs in table format with status icons
- •Fetch PR details and diffs via MCP
- •AI-powered code review for bugs, security, performance issues
- •Post inline comments and suggestions
- •Approve, request changes, or merge PRs
Prerequisites: Requires the GitHub MCP server.
export GITHUB_PERSONAL_ACCESS_TOKEN="your-token"Creating a GitHub Personal Access Token:
- Go to https://github.com/settings/tokens
- Click "Generate new token" (classic or fine-grained)
- For classic tokens, select scopes:
repo,read:org,read:user - For fine-grained tokens, grant access to the repositories you need
- Copy the generated token
Usage:
"Review PR 123"
"List open PRs"
"Approve PR 456"Development
Testing a Plugin
# Load plugin for development/testing
claude --plugin-dir ./claude-skills/git-plugin
# Load multiple plugins
claude --plugin-dir ./claude-skills/git-plugin --plugin-dir ./claude-skills/github-pluginPlugin Environment Variables
In hooks, MCP servers, and skill scripts, use ${CLAUDE_PLUGIN_ROOT} to reference the plugin directory:
"${CLAUDE_PLUGIN_ROOT}/skills/git-worktree/setup-worktree.sh" --pr 558Contributing
Contributions are welcome! To add a new skill:
- Fork this repository
- Create a new folder named
<your-skill-name> - Add
.claude-plugin/plugin.jsonwith plugin metadata - Add
skills/<skill-name>/SKILL.mdwith YAML frontmatter and instructions - Update
marketplace.jsonwith the new plugin - Update
README.mdwith skill documentation - Submit a pull request
Skill Template
Create folder structure:
my-skill/
├── .claude-plugin/
│ └── plugin.json
└── skills/
└── my-skill/
└── SKILL.mdplugin.json:
{
"name": "my-skill",
"version": "1.0.0",
"description": "Short description of the skill",
"author": { "name": "your-name" },
"repository": "https://github.com/your-repo",
"license": "MIT",
"skills": ["./skills/"]
}SKILL.md:
---
name: "my-skill"
description: Short description for skill matching. Use when user wants to...
---
# My Skill
Detailed instructions for the skill...
## Prerequisites
List any requirements...
## Instructions
Step-by-step instructions for Claude to follow...License
MIT License - See LICENSE for details.
Install & Usage
/plugin marketplace add <org/repo>Add the configuration to /plugin install bitbucket-plugin@<marketplace>
/pluginUse Cases
Usage Examples
/bitbucket-plugin list --repo my-org/my-repo
/bitbucket-plugin show --pr 42
/bitbucket-plugin approve --pr 42 --repo my-org/my-repo
Security Audits
Frequently Asked Questions
What is bitbucket-plugin?
The Bitbucket Cloud plugin for Claude Code enables developers to list, review, and manage pull requests on Bitbucket Cloud (bitbucket.org) directly from the terminal. It streamlines code review workflows by allowing you to fetch PR details, approve or comment on changes, and navigate repositories without leaving your development environment.
How to install bitbucket-plugin?
To install bitbucket-plugin: add a marketplace (/plugin marketplace add <org/repo>), then add the config to /plugin install bitbucket-plugin@<marketplace>. Finally, /plugin in Claude Code.
What is bitbucket-plugin best for?
bitbucket-plugin is a plugin categorized under General. It is designed for: code-review, plugin. Created by vkkotha.
What can I use bitbucket-plugin for?
bitbucket-plugin is useful for: List all open pull requests in a Bitbucket repository to get a quick overview of pending reviews.; Fetch detailed information about a specific PR, including description, reviewers, and status.; Approve a pull request after reviewing the code changes directly in Claude Code.; Add comments or request changes on a PR without switching to the Bitbucket web interface.; Check the diff of a pull request to understand what changes are proposed.; Merge a pull request once it has been approved and all checks pass..