# Automate Bitbucket Workflows Safely

Bitbucket administration requires many API calls, identifiers, and parameter formats. This skill coordinates repository, branch, pull request, review, and issue workflows through Rube MCP.

## Install

```bash
npx skillstore add sickn33/bitbucket-automation
```

## Metadata

- Status: approved
- Slug: sickn33-bitbucket-automation
- Skillstore revision: r2
- Version status: missing
- Tree hash: abd39f510278b2ab3e5d85e9f0b668c3a97960c6942fbcd450130d24bf41e5b7
- Author: sickn33
- GitHub username: sickn33
- License: MIT
- Repository: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/bitbucket-automation
- Ref: 5a26d1d61d694db29af9b138c661c1981076d9df
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: confirmation\_required
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network
- Quality score: 38
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/sickn33-bitbucket-automation
- Manifest: https://skillstore.pages.dev/api/skills/sickn33-bitbucket-automation/manifest

## Capabilities

- Discovers accessible workspaces, repositories, branches, and workspace members.
- Creates repositories, branches, and pull requests after resolving required identifiers.
- Lists pull requests and retrieves details, diffs, and changed-file statistics.
- Creates, updates, lists, comments on, and deletes Bitbucket issues.
- Posts pull request comments, including inline comments and threaded replies.
- Applies BBQL filters and page-based pagination to Bitbucket list operations.

## Use Cases

- Prepare a Pull Request: Resolve repository branches, create a pull request, and assign reviewers using verified workspace member identifiers.
- Review Repository Activity: List repositories, branches, pull requests, and issues with filters and complete pagination.
- Standardize Issue Triage: Find matching issues, update priorities and states, and add consistent comments across a repository.

## Prompt Templates

### List My Repositories

```
List repositories in workspace [workspace]. Include visibility, main branch, and last update. Read every results page.
```

### Create a Pull Request

```
In [workspace]/[repository], verify [source] and [destination]. Create a pull request titled [title] and assign [reviewers].
```

### Review Pull Request Changes

```
Inspect pull request [id] in [workspace]/[repository]. Summarize risks and draft inline comments. Ask before posting any comment.
```

### Run Filtered Issue Triage

```
Find all [priority] issues in [workspace]/[repository]. Propose state and assignee updates, then request approval before applying each group.
```

## Limitations

- Requires a configured Rube MCP endpoint and an active Bitbucket OAuth connection.
- Available actions depend on current Rube tool schemas and the connected account permissions.
- Repository and issue deletion is permanent and requires explicit user confirmation.
- Large diffs, pagination, and Bitbucket Cloud rate limits can increase execution time.

## Best Practices

- Resolve workspace, repository, branch, member, and commit identifiers before starting write operations.
- Review the current Rube tool schema before constructing parameters or relying on documented defaults.
- Display exact targets and obtain explicit confirmation before deletion or broad updates.

## Anti Patterns

- Do not delete repositories or issues without naming the exact target and receiving immediate confirmation.
- Do not assume the destination branch is main or use branch names where a full commit hash is required.
- Do not stop after the first page when the user requests complete results.

## Security Audit

- Audited at: 2026-08-14T10:32:13.426\+00:00
- Summary: All 118 shell-execution alerts are false positives caused by Markdown backticks, and the key-file and reconnaissance alerts are also false positives. The skill still requires an external MCP connection with Bitbucket OAuth and supports irreversible remote deletion.

## Stats

- Views: 143
- Downloads: 8
- Favorites: 0
- Popularity score: 0
