gitlab-create-merge-request
CommunityCreate GitLab MRs with the first commit as title
System Documentation
What problem does it solve?
This skill creates a GitLab Merge Request (MR) for the current branch by using the glab CLI and sets the MR title to the first commit message on the branch, streamlining merge workflows in GitLab.
Core Features & Use Cases
- Automated MR Creation: Generate a GitLab MR with a meaningful title derived from the first commit message.
- Branch Workflow Support: Ideal for feature branches targeting main, enabling one-step MR creation during code reviews and release prep.
- Use Case: After finishing a feature on a new branch, run this skill to open an MR in GitLab using the first commit message as the MR title.
Quick Start
Ensure glab CLI is installed and authenticated. Get the first commit message: git log main..HEAD --reverse --format="%s" | head -n 1 Create the MR: glab mr create -t "<FIRST_COMMIT_MESSAGE>" -d "<SUMMARY_OF_WHAT_HAS_BEEN_DONE>" -b main --fill -y Push the branch if not pushed: git push -u origin <branch>
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: gitlab-create-merge-request Download link: https://github.com/kentoje/dotfiles/archive/main.zip#gitlab-create-merge-request Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.