← ClaudeAtlas

mr-reviewlisted

Fetch and resolve GitLab MR review feedback (AI Assistant, human reviewers, bots). Trigger on: fix MR review, address review comments, fix AI assistant findings, resolve MR feedback, or any mention of MR review + fix. Covers the full loop: fetch comments → categorize by severity → fix locally → test → commit → push.
rcdelfin/agentkit · ★ 1 · Code & Development · score 77
Install: claude install-skill rcdelfin/agentkit
# MR Review Fetch review feedback from a GitLab MR, understand each issue, fix it locally, verify, and push — all in one pass. ## When to Use - User says "fix MR review", "address AI assistant findings", "fix review comments" - A GitLab AI Assistant or human reviewer posted feedback on an MR - User provides an MR number or URL with a "fix" or "review" intent ## Prerequisites - `glab` CLI installed and authenticated (`glab auth login`) - On the MR's source branch locally (or willing to checkout) - Current working directory is the project root with `.git` ## Procedure ### 1. Fetch MR Comments ```bash # Get all non-system notes from the MR env -u GITLAB_ACCESS_TOKEN glab api \ "projects/<url-encoded-project-path>/merge_requests/<iid>/notes?per_page=100" \ | python3 -c " import sys, json notes = json.load(sys.stdin) for n in notes: if n.get('system'): continue author = n.get('author', {}).get('username', '?') body = n.get('body', '') created = n.get('created_at', '')[:19] print(f'--- @{author} ({created}) ---') print(body[:3000]) print() " ``` **Alternative** (if project path is unknown — auto-resolve from remote): ```bash REMOTE=$(git remote get-url origin) # SSH: git@gitlab.com:group/project.git → group%2Fproject # HTTPS: https://gitlab.com/group/project.git → group%2Fproject PROJECT=$(echo "$REMOTE" | sed 's/.*gitlab.com[:/]\(.*\)\.git/\1/' | python3 -c "import sys,urllib.parse;print(urllib.parse.quote(sys.stdin.read().strip(),safe=''))