bitbucket-helper
Installation
SKILL.md
Bitbucket Helper
Auto-detects from git remote: bitbucket.org → Cloud, else → Server.
The helper script lives at scripts/bitbucket_server_pr.py relative to this skill's directory (the harness resolves it). Run it from the user's repo with the script's absolute or skill-relative path:
python3 <skill-dir>/scripts/bitbucket_server_pr.py
Steps
- Run helper with no args to detect type and PR context. Done when source, target, project, repo known.
- PR body needed: use
/pr-writingfirst. Done when body has Description, Test Plan, Test Result, Links. - Before live create/update/approve: confirm unless user explicitly asked.
- For review: start with
review-context, then targeteddiff --pathorfile. - For updates: read PR version first, send only mutable fields (title, description, version, fromRef, toRef, reviewers). Never send
author.
Completion: operation scoped to detected repo and PR, mutations authorized.