원클릭으로
analyze-bitbucket-pr-comments
Fetch Bitbucket PR review comments, analyze whether code changes are needed, and reply after user confirmation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Fetch Bitbucket PR review comments, analyze whether code changes are needed, and reply after user confirmation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | analyze-bitbucket-pr-comments |
| description | Fetch Bitbucket PR review comments, analyze whether code changes are needed, and reply after user confirmation. |
Given a Bitbucket PR URL, this skill fetches all open review comments, analyzes each one to determine if code changes are needed or a reply is sufficient, presents a summary for user confirmation, then executes the approved actions.
$HOME/my-skills/.env):
scripts/analyze_bitbucket_pr_comments.sh must be executable.scripts/reply_bitbucket_pr_comment.sh must be executable.Parse the PR URL and execute $HOME/my-skills/scripts/analyze_bitbucket_pr_comments.sh <pr-url> to fetch PR info and comments.
"comments": [] but you suspect the self-filtering is not working (e.g. comments that should be filtered still appear), it likely means the script cannot identify the current user. STOP and ask the user to either:
BITBUCKET_ACCOUNT_ID in $HOME/my-skills/.env (can be found from any Bitbucket API response containing their user info)Guard check — verify the local repo matches the PR:
repo field from the script output with the current directory name (or git remote slug). If they don't match, STOP and warn the user they are in the wrong repository.git branch --show-current and compare with the source field. If they don't match, STOP and warn the user to switch to the correct branch first.git rev-parse HEAD and compare with the latestCommit field. If they don't match, warn the user that the local branch is not in sync with the remote PR (may need git pull or git push). Ask the user whether to continue or abort.For each comment that has an anchor (file-level comment), read the relevant source file at anchor.path around anchor.line to understand the context.
Analyze each comment and classify it:
Present the analysis as a table:
| # | Comment (author) | File:Line | Classification | Action |
|---|---|---|---|---|
| 1 | "..." (Reviewer) | src/foo.ts:42 | Needs fix | [implementation plan summary] |
| 2 | "..." (Reviewer) | — | Reply only | [draft reply] |
STOP and wait for user confirmation. Do NOT proceed until the user explicitly approves. The user may modify classifications, edit reply text, or skip specific comments.
After confirmation, execute approved actions:
$HOME/my-skills/scripts/reply_bitbucket_pr_comment.sh <pr-url> <comment-id> "<reply-text>" to post the reply on Bitbucket.Output an execution summary listing what was changed and which replies were posted.
/analyze-bitbucket-pr-comments https://bitbucket.org/my-workspace/my-repo/pull-requests/123
Query and manage WooCommerce orders on flowers.fenny-studio.com. (1) Look up orders by product ID or Chinese keyword — e.g. "哪些訂單買了鬱金香材料包"、"4182 被誰訂了"、"查一下 DIY 材料包的訂單". (2) Look up orders by shipping tracking number (運送編號) — e.g. "P93479717606 是哪張單"、"查物流單 R53049771167". (3) Filter orders by 希望送達時間 (desired delivery date) — e.g. "明天要出哪些貨"、"4/15 要送的訂單"、"本週出貨清單". (4) Reissue ECPay C2C tracking number for expired logistics — e.g. "4372 重打綠界"、"物流單過期了重新產生"、"reissue tracking". (5) Query ECPay logistics status — e.g. "誰到店了"、"查物流狀態"、"列到店待取的訂單"、"已寄出的訂單目前狀況"、"4345 現在物流狀態".
Trigger a Bitbucket Cloud pipeline on the current branch, with interactive pipeline selection and variable support. Polls for completion and reports results.
Generate a slide deck from a topic or context, then convert it into a Google Slides presentation after user confirmation.
Create or update a Bitbucket Cloud pull request with auto-generated title and description from git diff.
Query an Asana task by ID or title keyword via the Asana API, retrieve its title and description, then analyze and process it.
Generate a D2 diagram (sequence diagram or flowchart) by tracing an API endpoint or method's execution flow in the current repository. Use when the user wants to visualize code flow.