AGENT SKILL

bitbucket

Manage Bitbucket repositories, pull requests, and pipelines via API.

License 许可
MIT
最近更新
2026-04-05
Stars
★ 7
Forks
1

01 前言 Front Matter

name
bitbucket
metadata
{ "clawdbot": { "emoji": "?", "requires": { "env": [ "BITBUCKET_USERNAME", "BITBUCKET_APP_PASSWORD" ] } } }
description
Manage Bitbucket repositories, pull requests, and pipelines via API.

02 资源文件 1

03 SKILL.md 正文

Bitbucket

Git repository hosting.

Environment

export BITBUCKET_USERNAME="xxxxxxxxxx"
export BITBUCKET_APP_PASSWORD="xxxxxxxxxx"

List Repositories

curl -u "$BITBUCKET_USERNAME:$BITBUCKET_APP_PASSWORD" "https://api.bitbucket.org/2.0/repositories/$BITBUCKET_USERNAME"

Create Pull Request

curl -X POST -u "$BITBUCKET_USERNAME:$BITBUCKET_APP_PASSWORD" \
  "https://api.bitbucket.org/2.0/repositories/{workspace}/{repo}/pullrequests" \
  -H "Content-Type: application/json" \
  -d '{"title": "Feature PR", "source": {"branch": {"name": "feature"}}, "destination": {"branch": {"name": "main"}}}'

Links

04 同仓库更多 Skills