본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)48k · #4035

bitbucket-automation

하는 일

이 도구는 Bitbucket 프로젝트를 관리하도록 돕습니다. 다른 사람과 합칠 코드를 검토하는 풀 리퀘스트를 만들고, 작업을 정리하며, 코드가 저장된 저장소를 관리할 수 있습니다.

사용하는 경우

  • ✓내 코드를 다른 사람의 코드와 병합하고 싶을 때.
  • ✓프로젝트의 작업을 정리하거나 새 작업을 만들어야 할 때.
  • ✓코드를 저장할 새 장소를 만들거나 더 이상 쓰지 않는 저장소를 삭제하고 싶을 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/bitbucket-automation/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/bitbucket-automation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“'new-feature' 브랜치를 'main' 브랜치에 병합하는 풀 리퀘스트를 만들고, John에게 검토를 요청해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 Rube MCP라는 도구를 사용해 Bitbucket에 연결합니다. 먼저 연결이 활성 상태인지 확인한 다음, 풀 리퀘스트를 만들거나 작업을 조회하는 등의 특정 명령을 사용합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Bitbucket Automation via Rube MCP

Automate Bitbucket operations including repository management, pull request workflows, branch operations, issue tracking, and workspace administration through Composio's Bitbucket toolkit.

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active Bitbucket connection via RUBE_MANAGE_CONNECTIONS with toolkit bitbucket
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit bitbucket
  3. If connection is not ACTIVE, follow the returned auth link to complete Bitbucket OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Manage Pull Requests

When to use: User wants to create, review, or inspect pull requests

Tool sequence:

  1. BITBUCKET_LIST_WORKSPACES - Discover accessible workspaces [Prerequisite]
  2. BITBUCKET_LIST_REPOSITORIES_IN_WORKSPACE - Find the target repository [Prerequisite]
  3. BITBUCKET_LIST_BRANCHES - Verify source and destination branches exist [Prerequisite]
  4. BITBUCKET_CREATE_PULL_REQUEST - Create a new PR with title, source branch, and optional reviewers [Required]
  5. BITBUCKET_LIST_PULL_REQUESTS - List PRs filtered by state (OPEN, MERGED, DECLINED) [Optional]
  6. BITBUCKET_GET_PULL_REQUEST - Get full details of a specific PR by ID [Optional]
  7. BITBUCKET_GET_PULL_REQUEST_DIFF - Fetch unified diff for code review [Optional]
  8. BITBUCKET_GET_PULL_REQUEST_DIFFSTAT - Get changed files with lines added/removed [Optional]

Key parameters:

  • workspace: Workspace slug or UUID (required for all operations)
  • repo_slug: URL-friendly repository name
  • source_branch: Branch with changes to merge
  • destination_branch: Target branch (defaults to repo main branch if omitted)
  • reviewers: List of objects with uuid field for reviewer assignment
  • state: Filter for LIST_PULL_REQUESTS - OPEN, MERGED, or DECLINED
  • max_chars: Truncation limit for GET_PULL_REQUEST_DIFF to handle large diffs

Pitfalls:

  • reviewers expects an array of objects with uuid key, NOT usernames: [{"uuid": "{...}"}]
  • UUID format must include curly braces: {123e4567-e89b-12d3-a456-426614174000}
  • destination_branch defaults to the repo's main branch if omitted, which may not be main
  • pull_request_id is an integer for GET/DIFF operations but comes back as part of PR listing
  • Large diffs can overwhelm context; always set max_chars (e.g., 50000) on GET_PULL_REQUEST_DIFF

2. Manage Repositories and Workspaces

When to use: User wants to list, create, or delete repositories or explore workspaces

Tool sequence:

  1. BITBUCKET_LIST_WORKSPACES - List all accessible workspaces [Required]
  2. BITBUCKET_LIST_REPOSITORIES_IN_WORKSPACE - List repos with optional BBQL filtering [Required]
  3. BITBUCKET_CREATE_REPOSITORY - Create a new repo with language, privacy, and project settings [Optional]
  4. BITBUCKET_DELETE_REPOSITORY - Permanently delete a repository (irreversible) [Optional]
  5. BITBUCKET_LIST_WORKSPACE_MEMBERS - List members for reviewer assignment or access checks [Optional]

Key parameters:

  • workspace: Workspace slug (find via LIST_WORKSPACES)
  • repo_slug: URL-friendly name for create/delete
  • q: BBQL query filter (e.g., name~"api", project.key="PROJ", is_private=true)
  • role: Filter repos by user role: member, contributor, admin, owner
  • sort: Sort field with optional - prefix for descending (e.g., -updated_on)
  • is_private: Boolean for repository visibility (defaults to true)
  • project_key: Bitbucket project key; omit to use workspace's oldest project

Pitfalls:

  • BITBUCKET_DELETE_REPOSITORY is irreversible and does not affect forks
  • BBQL string values MUST be enclosed in double quotes: name~"my-repo" not name~my-repo
  • repository is NOT a valid BBQL field; use name instead
  • Default pagination is 10 results; set pagelen explicitly for complete listings
  • CREATE_REPOSITORY defaults to private; set is_private: false for public repos

3. Manage Issues

When to use: User wants to create, update, list, or comment on repository issues

Tool sequence:

…

자주 묻는 질문

Rube MCP란 무엇인가요?

Bitbucket 같은 다른 도구에 AI가 복잡한 설정 없이 연결하고 제어할 수 있게 해 주는 도구입니다.

Bitbucket은 어떻게 연결하나요?

클라이언트의 설정에 Rube MCP를 서버로 추가한 다음, 도구가 제공하는 링크를 통해 Bitbucket 연결을 승인해야 합니다.

저장소를 삭제하는 것은 안전한가요?

아니요, 저장소 삭제는 영구적인 작업이며 되돌릴 수 없습니다. 삭제하기 전에 확실히 확인하세요.

상세 정보

작성자의 원본 설명

Automate Bitbucket repositories, pull requests, branches, issues, and workspace management via Rube MCP (Composio). Always search tools first for current schemas.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4035
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬