create-mr

Generate merge request or pull request drafts from the current git branch.

Updated Nov 12, 2025
One-click install
npx skills add https://github.com/f-esquivel/dotfiles --skill create-mr-f-esquivel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-mr
Source: https://github.com/f-esquivel/dotfiles/tree/main/claude/skills/create-mr
Command: npx skills add https://github.com/f-esquivel/dotfiles --skill create-mr-f-esquivel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates drafting a merge request or pull request from the current branch, enabling quick reviews before submission.

Core Features & Use Cases

  • Automatic target branch selection, commit/diff extraction, and draft generation for GitLab and GitHub.
  • Generates contextual MR/PR descriptions using commit messages and changes, ready for templates.
  • Use Case: When you finish a feature on a branch, generate a draft MR/PR to start the review process without pushing or finalizing.

Quick Start

Create a draft MR/PR from the current branch and review the generated details before submitting.

Frequently Asked Questions about create-mr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I draft a merge request from my current git branch?

Draft a merge request by automating target branch selection, extracting commits and diffs, and assembling a contextual description from commit messages. The generated draft honors repo conventions and templates, ready for review before submission.

Can I generate pull request drafts for both GitHub and GitLab?

Yes, you can generate pull request drafts across both GitHub and GitLab workflows. The automation validates target branch availability, gathers commit data, checks for existing templates, and prepares a ready-to-submit draft for either platform.

Does the MR PR draft generator check for repository templates?

Yes, the MR PR draft generator checks for repository templates. It validates target branch availability, gathers commits and diffs, and prepares a ready-to-submit draft that adheres to your specific repo conventions and template requirements.

What is the best way to automate pull request descriptions from commit messages?

Automate pull request descriptions by extracting commit messages and code diffs from your current branch. The tool assembles this data into a contextual draft, automatically selecting the target branch and formatting the output to match repository conventions.

Do I need to push my branch before generating a draft MR?

No, you do not need to push your branch before generating a draft MR. You can generate the draft to review details locally and start the review process without finalizing or pushing the branch immediately.

Why does my automated PR draft fail to select the correct target branch?

Automated PR draft target branch selection fails if the target branch is unavailable. The tool validates target branch availability during generation, requiring a valid target to assemble commits, diffs, and the contextual description successfully.