Claude-skill-registry gitlab-merge-requests
Manages GitLab merge requests. Use for creating, listing MRs across projects or groups. Triggers: PRs, code reviews.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/gitlab-merge-requests" ~/.claude/skills/majiayu000-claude-skill-registry-gitlab-merge-requests && rm -rf "$T"
manifest:
skills/data/gitlab-merge-requests/SKILL.mdsource content
Overview
Covers MR creation and queries.
Available Tools
: Create a new merge request in a GitLab project with specified source and target branches.create_merge_request- Parameters:
(str): Optional. - Project ID or pathproject_id
(str): Optional. - Source branch for the merge requestsource_branch
(str): Optional. - Target branch for the merge requesttarget_branch
(str): Optional. - Title of the merge requesttitle
(Optional[str]): Optional. - Description of the merge requestdescription
(Optional[int]): Optional. - ID of the user to assign the merge request toassignee_id
(Optional[List[int]]): Optional. - IDs of users to set as reviewersreviewer_ids
(Optional[List[str]]): Optional. - Labels to apply to the merge requestlabels
(Optional[Context]): Optional. - MCP context for progressctx
- Parameters:
: Retrieve a list of merge requests across all projects, optionally filtered by state, scope, or labels.get_merge_requests- Parameters:
(Optional[str]): Optional. - Filter merge requests by state (e.g., 'opened', 'closed')state
(Optional[str]): Optional. - Filter merge requests by scope (e.g., 'created_by_me')scope
(Optional[str]): Optional. - Filter merge requests by milestone titlemilestone
(Optional[str]): Optional. - Filter merge requests by view (e.g., 'simple')view
(Optional[List[str]]): Optional. - Filter merge requests by labelslabels
(Optional[int]): Optional. - Filter merge requests by author IDauthor_id
- Parameters:
: Retrieve a list of merge requests for a specific GitLab project, optionally filtered or a single merge request or a single merge request by merge idget_project_merge_requests- Parameters:
(str): Optional. - Project ID or pathproject_id
(Optional[int]): Optional. - Merge request IDmerge_id
(Optional[str]): Optional. - Filter merge requests by state (e.g., 'opened', 'closed')state
(Optional[str]): Optional. - Filter merge requests by scope (e.g., 'created_by_me')scope
(Optional[str]): Optional. - Filter merge requests by milestone titlemilestone
(Optional[List[str]]): Optional. - Filter merge requests by labelslabels
- Parameters:
Usage Instructions
- For creation: source/target branches, title.
Examples
- Create:
with project_id="123", source_branch="feature", target_branch="main", title="New feature".create_merge_request - List:
with project_id="123", state="opened".get_project_merge_requests
Error Handling
- Conflicts: Resolve before creation.