用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ranbot-ai/awesome-skills --skill bitbucket-data-center命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | bitbucket_data_center |
| description | You have access to an environment variable, `BITBUCKET_DATA_CENTER_TOKEN`, which contains |
| category | Development & Code Tools |
| source | openhands |
| tags | ["git","bitbucket","bash","pr","agent","tool","api"] |
| url | https://github.com/OpenHands/OpenHands/blob/main/skills/bitbucket_data_center.md |
You have access to an environment variable, BITBUCKET_DATA_CENTER_TOKEN, which contains
a basic auth token in the format username:your-token that allows you to interact with the git repository.
You can also use this token to interact with Bitbucket Data Center's REST API:
curl -u "${BITBUCKET_DATA_CENTER_TOKEN}" https://{domain}/rest/api/1.0/...
ALWAYS use the Bitbucket Data Center API for operations instead of a web browser.
ALWAYS use the `create_bitbucket_data_center_pr` tool to open a pull request
If you encounter authentication issues when pushing to Bitbucket Data Center (such as password prompts or permission errors), the old token may have expired. In such case, update the remote URL to include the current token: git remote set-url origin https://${BITBUCKET_DATA_CENTER_TOKEN}@{domain}/scm/{project_lower}/{repo}.git
The repository format for Bitbucket Data Center is PROJECT/repo_slug (project key, slash, repo slug).
Here are some instructions for pushing, but ONLY do this if the user asks you to:
main or master branchopenhands-workspace. Create a new branch with a better name before pushing.create_bitbucket_data_center_pr tool to create a pull request, if you haven't alreadygit remote -v && git branch # to find the current org, repo and branch
git checkout -b create-widget && git add . && git commit -m "Create widget" && git push -u origin create-widget