Delegate independent tasks to specialized agents working concurrently with isolated context.
GitLab Merge Rules
gitlab-merge-rules
Manages GitLab merge approval rules. Use for approvals, rules at project/group levels. Triggers: code reviews, approvals.
SKILL.md
Full skill instructions
Overview
Handles approval configurations.
Available Tools
get_project_level_merge_request_approval_rules: Retrieve project-level merge request approval rules for a GitLab project details of a specific project-level merge request approval rule.- Parameters:
project_id(str): Optional. - Project ID or pathapproval_rule_id(int): Optional. - Approval rule ID
- Parameters:
create_project_level_rule: Create a new project-level merge request approval rule.- Parameters:
project_id(str): Optional. - Project ID or pathname(str): Optional. - Name of the approval ruleapprovals_required(Optional[int]): Optional. - Number of approvals requiredrule_type(Optional[str]): Optional. - Type of rule (e.g., 'regular')user_ids(Optional[List[int]]): Optional. - List of user IDs required to approvegroup_ids(Optional[List[int]]): Optional. - List of group IDs required to approvectx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
update_project_level_rule: Update an existing project-level merge request approval rule.- Parameters:
project_id(str): Optional. - Project ID or pathapproval_rule_id(int): Optional. - Approval rule IDname(Optional[str]): Optional. - New name for the approval ruleapprovals_required(Optional[int]): Optional. - New number of approvals requireduser_ids(Optional[List[int]]): Optional. - Updated list of user IDs required to approvegroup_ids(Optional[List[int]]): Optional. - Updated list of group IDs required to approvectx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
delete_project_level_rule: Delete a project-level merge request approval rule.- Parameters:
project_id(str): Optional. - Project ID or pathapproval_rule_id(int): Optional. - Approval rule IDctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
merge_request_level_approvals: Retrieve approvals for a specific merge request in a GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathmerge_request_iid(int): Optional. - Merge request IID
- Parameters:
get_approval_state_merge_requests: Retrieve the approval state of a specific merge request in a GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathmerge_request_iid(int): Optional. - Merge request IID
- Parameters:
get_merge_request_level_rules: Retrieve merge request-level approval rules for a specific merge request in a GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathmerge_request_iid(int): Optional. - Merge request IID
- Parameters:
approve_merge_request: Approve a specific merge request in a GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathmerge_request_iid(int): Optional. - Merge request IIDctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
unapprove_merge_request: Unapprove a specific merge request in a GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathmerge_request_iid(int): Optional. - Merge request IIDctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
get_group_level_rule: Retrieve merge request approval settings for a specific GitLab group.- Parameters:
group_id(str): Optional. - Group ID or path
- Parameters:
edit_group_level_rule: Edit merge request approval settings for a specific GitLab group.- Parameters:
group_id(str): Optional. - Group ID or pathallow_author_approval(Optional[bool]): Optional. - Whether authors can approve their own merge requestsallow_committer_approval(Optional[bool]): Optional. - Whether committers can approve merge requestsallow_overrides_to_approver_list(Optional[bool]): Optional. - Whether overrides to the approver list are allowedminimum_approvals(Optional[int]): Optional. - Minimum number of approvals requiredctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
get_project_level_rule: Retrieve merge request approval settings for a specific GitLab project.- Parameters:
project_id(str): Optional. - Project ID or path
- Parameters:
edit_project_level_rule: Edit merge request approval settings for a specific GitLab project.- Parameters:
project_id(str): Optional. - Project ID or pathallow_author_approval(Optional[bool]): Optional. - Whether authors can approve their own merge requestsallow_committer_approval(Optional[bool]): Optional. - Whether committers can approve merge requestsallow_overrides_to_approver_list(Optional[bool]): Optional. - Whether overrides to the approver list are allowedminimum_approvals(Optional[int]): Optional. - Minimum number of approvals requiredctx(Optional[Context]): Optional. - MCP context for progress
- Parameters:
Usage Instructions
- Use approvals_required, user/group IDs.
Examples
- Create rule:
create_project_level_rulewith project_id="123", name="review", approvals_required=2. - Approve MR:
approve_merge_requestwith project_id="123", merge_request_iid=1.
Error Handling
- Insufficient approvals: Check state.
More Other skills
brand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
Fundamental design principles for writing maintainable, testable Python code.
responsive-design
Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.
Generate Playwright tests from scenarios using interactive browser exploration and validation.
Automated website exploration and test case generation using Playwright.
Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.
gdpr-data-handling
GDPR-compliant data handling with consent management, data subject rights, and privacy controls.
Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.
refactor-plan
Detailed multi-file refactor planning with safety checks and rollback guidance.
