协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
gitlab-address-comments【开发与工程】Help address review/issue comments on the open GitLab MR for the current branch using glab CLI. Use when the user wants help addressing review/issue comments on an open GitLab MR
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Find the open MR for the current branch and address its review threads using glab. Run all glab commands with elevated network access.
glab auth status succeeds (via glab auth login or GITLAB_TOKEN).glab is at least v1.80.4.sandbox_permissions=require_escalated.glab auth status
Do a quick check so we know which MR we are about to operate on:
branch="$(git rev-parse --abbrev-ref HEAD)"
glab mr view "$branch" --output json
If this fails, the fetch script below will still try to locate the MR by source_branch.
/tmpUse the local script to fetch MR discussions via glab api. This filters out bot/system-only threads and returns unresolved discussions when --open-comments is set.
skill_dir="<path-to-skill>"
branch="$(git rev-parse --abbrev-ref HEAD)"
safe_branch="${branch//\//_}"
out="/tmp/${safe_branch}_mr_open_discussions.json"
python "$skill_dir/scripts/fetch_comments.py" --open-comments --output "$out"
If you want the full payload (including resolved discussions), drop --open-comments.
1,3,5-7, all, none, or top N.top 3) with a short rationale.Notes:
glab hits auth or rate issues, prompt the user to run glab auth login or re-export GITLAB_TOKEN, then retry.