Skip to main content

load-mr-context

Load MR context for the current branch using GitLab MCP tools

소스 정보

저장소
TheBushidoCollective/han
최근 소스 활동
2026년 2월 18일 17:36
감지된 SKILL.md 언어
영어
스타
198
포크
24

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
load-mr-context
description
Load MR context for the current branch using GitLab MCP tools
# Load MR Context ## Name gitlab:load-mr-context - Load merge request context for the current branch ## Synopsis ``` /load-mr-context [project-path] [branch] ``` ## Description Loads the full context of an open merge request for the given branch, including description, changes, pipeline status, and review comments. Uses GitLab MCP tools for structured data access. ## Implementation Given `project-path` and `branch` arguments: 1. Use `mcp__plugin_gitlab_gitlab__list_merge_requests` with `project_id: "PROJECT_PATH"`, `source_branch: "BRANCH"`, `state: "opened"` to find the MR 2. If no MR is found, report that no open MR exists for this branch and stop 3. If an MR exists, gather context **silently** (do not narrate each step): - Use `mcp__plugin_gitlab_gitlab__get_merge_request` with the MR IID to read description, labels, reviewers, and metadata - Use `mcp__plugin_gitlab_gitlab__get_merge_request_diffs` to understand what has changed - Check pipeline status for the branch - Check for review notes/discussions - Check for linked issues mentioned in the MR description 4. Present a concise summary: - MR title, number, and status - Key points from the description - Files changed (count and notable files) - Pipeline status (passing/failing) - Review status (approved, changes requested, pending) - Any blocking issues or failing pipelines ## Example Interaction ``` User: /load-mr-context my-group/my-project feat/mr-context Claude: ## MR !42: Add MR context detection hooks - **Status**: Open, 1 review pending - **Description**: Adds SessionStart hooks to GitLab plugin that detect open MRs on the current branch - **Changes**: 4 files (+120, -8) - **Pipeline**: All stages passing - **Reviews**: 1 approved, 1 pending from @reviewer Ready to assist with this MR. ``` ## Arguments - `project-path` (required): GitLab project path (e.g., `group/project` or numeric ID) - `branch` (required): Branch name to find the MR for ## Tips - This skill is typically invoked automatically when starting a session on a feature branch - All data is fetched via MCP tools (no CLI commands needed) - The summary is kept concise to avoid cluttering the session start
GitHub에서 보기