gitlab-mr-description

Installation
SKILL.md

GitLab MR Description

When invoked, read the branch diff, infer the change's intent and shape, then produce a complete MR description. Fill every section you have evidence for; omit sections that genuinely don't apply. Never leave placeholder text in the final output.

Step 1 — Gather context

BASE=$(git rev-parse --abbrev-ref origin/HEAD 2>/dev/null || echo "origin/$(git remote show origin | awk '/HEAD branch/ {print $NF}')")
git diff "$BASE"..HEAD --stat
git log --oneline "$BASE"..HEAD
git diff "$BASE"..HEAD
glab mr view <number>   # read existing description if one exists
ls .gitlab/merge_request_templates/ 2>/dev/null
cat .gitlab/merge_request_templates/Default.md 2>/dev/null

Answer: What does this MR add or fix? Why? What surfaces does it touch? Does the project have a default MR template?

Step 2 — Write the description

Installs
1
GitHub Stars
1
First Seen
Aug 6, 2026
gitlab-mr-description — bingwu2003/skills