Agent Skills: Create Merge Request

>

UncategorizedID: kentoje/dotfiles/gitlab-create-merge-request

Install this agent skill to your local

pnpm dlx add-skill https://github.com/kentoje/dotfiles/tree/HEAD/.agents/skills/gitlab-create-merge-request

Skill Files

Browse the full folder contents for gitlab-create-merge-request.

Download Skill

Loading file tree…

.agents/skills/gitlab-create-merge-request/SKILL.md

Skill Metadata

Name
gitlab-create-merge-request
Description
>

Create Merge Request

Create a GitLab merge request for the current branch targeting main.

Steps

  1. Get the first commit message of the current branch (compared to main):

    git log main..HEAD --reverse --format="%s" | head -n 1
    
  2. Create the MR using glab:

    glab mr create -t "<FIRST_COMMIT_MESSAGE>" -d "<SUMMARY_OF_WHAT_HAS_BEEN_DONE>" -b main --fill -y
    

Notes

  • Ensure the branch has been pushed before running this command
  • The MR title will be the first commit message of the branch