/productization-plugin:gitlab-code-reviewfrom productization-plugin
Code review a GitLab merge request using multiple specialized agents with confidence-based scoring to filter false positives. Use when the user asks to review an MR, do a code review, or check changes in a merge request.
Ships in productization-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Automated code review for GitLab merge requests using multiple specialized agents with confidence-based scoring to filter false positives.
Agent assumptions (applies to all agents and subagents):
To do this, follow these steps precisely:
Verify auth. Do NOT use a subagent — run this directly yourself:
glab auth status. If it fails, tell the user to authenticate (glab auth login) and stop.Launch a fast, lightweight subagent to check if any of the following are true:
glab mr view <MR_IID> -R <owner/repo> --comments for comments left by claude)If any condition is true, stop and do not proceed.
Note: Still review Claude-generated MRs.
Launch a fast, lightweight subagent to return a list of file paths (not their contents) for all relevant CLAUDE.md files including:
Launch a subagent to view the merge request and return a summary of the changes. Use:
glab mr view <MR_IID> -R <owner/repo> -F json for metadataglab mr diff <MR_IID> -R <owner/repo> --color=never --raw for the diffLaunch 4 agents in parallel to independently review the changes. Each agent should return the list of issues, where each issue includes a description and the reason it was flagged (e.g. "CLAUDE.md adherence", "bug"). The agents should do the following:
Agents 1 + 2: CLAUDE.md compliance agents Audit changes for CLAUDE.md compliance in parallel. Note: When evaluating CLAUDE.md compliance for a file, you should only consider CLAUDE.md files that share a file path with the file or parents.
Agent 3: Bug detection agent Scan for obvious bugs in the changed code. Focus exclusively on changes (not pre-existing issues). Look for:
Agent 4: Historical context agent Analyze git blame and history for context-based issues. Check:
Important guidance for ALL review agents:
In addition to the above, each subagent should be told the MR title and description. This will help provide context regarding the author's intent.
For each issue found in the previous step by agents 3 and 4, launch parallel subagents to validate the issue. These subagents should get the MR title and description along with a description of the issue. The agent's job is to review the issue to validate that the stated issue is truly an issue with high confidence. For example, if an issue such as "variable is not defined" was flagged, the subagent's job would be to validate that is actually true in the code. Another example would be CLAUDE.md issues. The agent should validate that the CLAUDE.md rule that was violated is scoped for this file and is actually violated.
Filter out any issues that were not validated in step 6. Filter out any issues with a score less than 80. This step will give us our list of high signal issues for our review.
Output a summary of the review findings to the terminal:
If --comment argument was NOT provided, stop here. Do not post any comments.
If --comment argument IS provided and NO issues were found, post a summary comment using glab mr note <MR_IID> -R <owner/repo> -m "<body>" and stop.
If --comment argument IS provided and issues were found, continue to step 9.
Create a list of all comments that you plan on leaving. This is only for you to make sure you are comfortable with the comments. Do not post this list anywhere.
Post inline comments for each issue. For each comment:
How to post inline comments:
First fetch the MR diff refs:
glab api projects/<url-encoded-fullpath>/merge_requests/<MR_IID> | jq '{base_sha: .diff_refs.base_sha, start_sha: .diff_refs.start_sha, head_sha: .diff_refs.head_sha}'
Then post each inline comment:
glab api projects/<url-encoded-fullpath>/merge_requests/<MR_IID>/discussions -X POST \
-f body="<comment>" \
-f "position[position_type]=text" \
-f "position[base_sha]=<base_sha>" \
-f "position[start_sha]=<start_sha>" \
-f "position[head_sha]=<head_sha>" \
-f "position[new_path]=<file_path>" \
-f "position[new_line]=<line_number>"
IMPORTANT: Only post ONE comment per unique issue. Do not post duplicate comments.
Use this list when evaluating issues in Steps 5 and 6 (these are false positives, do NOT flag):
Notes:
glab CLI to interact with GitLab. Do not use web fetch.--comment argument is provided, post a comment with the following format:## Code Review
No issues found. Checked for bugs and CLAUDE.md compliance.
https://gitlab.com/owner/repo/-/blob/c21d3c10bc8e898b7ac1a2d745bdc9bc4e423afe/path/file.ext#L10-15
$(git rev-parse HEAD) will not work, since your comment will be directly rendered in Markdown./-/blob/ in the pathL<start>-<end> (no second L)L4-7)git remote get-url origin. Parse the host from the URL (HTTPS: https://host/owner/repo.git, SSH: git@host:owner/repo.git). Use this host for all links.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub opendatahub-io/productization-skills --plugin productization-plugin18 skills in this plugin
/aws-log-analyzerTroubleshoot and analyze logs from AWS CloudWatch Logs. This skill should be used when the user asks to investigate logs, troubleshoot application issues, query log groups, analyze error patterns, or perform log analysis for machines writing to AWS CloudWatch. Uses the AWS CLI for CloudWatch Logs operations./gitlab-branch-managerCreate and protect GitLab branches. Use when the user asks to create a branch, protect a branch, or set up branch protection rules on GitLab. Uses the glab GitLab CLI. The script takes three required positional args in order: repo, branch-name, ref (no --ref flag)./gitlab-job-analyzerAnalyze GitLab CI/CD job failures, parse logs, identify error patterns, and troubleshoot pipeline issues. This skill should be used when the user asks to investigate failed jobs, debug pipeline failures, analyze job logs, compare job runs, or generate failure reports. Uses the official GitLab CLI (glab) and integrates with the gitlab skill./gws-calendar-readerCheck Google Calendar for team availability and upcoming events. Use when the user asks about free/busy status, team schedules, upcoming events, or calendar availability. Uses the Google Workspace CLI (gws). Requires prior authentication via `gws auth login` or a service account credential file./gws-doc-action-extractorScan Google Docs shared with you for action patterns (e.g. "create a card", "action item", "open a ticket") in both content and comments, extract them as structured data, and create Jira issues. Use when the user asks to scan docs for actions, find TODOs in Google Docs, or automatically create Jira cards from document content./gws-drive-readerRead and search Google Drive files (Docs, Sheets, Slides, and plain files). Use when the user asks to list, search, or read the content of any file in Google Drive, including Google Docs and Google Sheets. Uses the Google Workspace CLI (gws). Requires prior authentication via `gws auth login` or a service account credential file.2 plugins in one repository ship this exact skill · first indexed Jul 20, 2026
Other plugins' skills for the same job