Bitbucket

From Arvo-AI/aurora · View interactive version

Bitbucket is an AI agent skill from the GitHub repository Arvo-AI/aurora. Bitbucket code repository integration for managing repos, branches, PRs, issues, and CI/CD pipelines

How to use this skill

Skill file

Bitbucket Integration

Overview

Bitbucket code repository integration for managing repositories, branches, pull requests, issues, and CI/CD pipelines.

Connected account: {display_name}

Use bitbucket_repos(action='list_repos', workspace='WS') or bitbucket_repos(action='list_workspaces') to discover connected repos.

Workspace and repository auto-resolve from saved user selection if not passed explicitly.

Instructions

Tools (6 tools, 44 actions)

bitbucket_repos -- Repository, File & Code Operations:

bitbucket_branches -- Branch & Commit Operations:

bitbucket_pull_requests -- Pull Request Operations:

bitbucket_issues -- Issue Operations:

bitbucket_pipelines -- CI/CD Pipeline Operations:

Reading & Editing Repo Files

bitbucket_fix -- Suggest Code Fixes During RCA:

RCA Investigation Flow

  1. List connected repos in the workspace:

bitbucket_repos(action='list_repos', workspace='WS')

  1. Check recent commits for changes that may correlate with the alert:

bitbucket_branches(action='list_commits', workspace='WS', repo_slug='REPO')

  1. Check recent PRs for merged changes:

bitbucket_pull_requests(action='list_prs', workspace='WS', repo_slug='REPO', state='MERGED')

  1. Check pipeline runs for deployment failures:

bitbucket_pipelines(action='list_pipelines', workspace='WS', repo_slug='REPO')

  1. Get step-level logs for failed pipelines:

bitbucket_pipelines(action='get_step_log', workspace='WS', repo_slug='REPO', pipeline_uuid='UUID', step_uuid='UUID')

  1. Inspect diffs for suspicious commits:

bitbucket_branches(action='get_diff', workspace='WS', repo_slug='REPO', spec='COMMIT_SHA')

  1. If a root cause code change is identified, propose a fix:

bitbucket_fix(file_path='path/to/file', edits=[{old_string: '...', new_string: '...'}], fix_description='...', root_cause_summary='...')

Tool Usage Rules

Important Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.