mr-generator

Generate MR titles and descriptions from code diffs for GitHub and GitLab.

27|1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/hua-bang/pulse-agent --skill mr-generator-hua-bang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mr-generator
Source: https://github.com/hua-bang/pulse-agent/tree/main/.pulse-coder/skills/mr-generator
Command: npx skills add https://github.com/hua-bang/pulse-agent --skill mr-generator-hua-bang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, gh, glab, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation of concise pull request (MR) titles and descriptions based on code changes, saving developers time and reducing manual work.

Core Features & Use Cases

  • Automated MR Creation: Generates MR titles and descriptions based on code changes between current and target branches.
  • Multi-Platform Support: Integrates with GitHub CLI and GitLab CLI to create MRs automatically.
  • Preview Mode: Offers a preview mode for MR titles and descriptions before creating the MR.
  • Customization: Allows customization of MR title length and target branch.

Quick Start

Generate and create an MR using the mr-generate.sh script.

mr-generate.sh

Frequently Asked Questions about mr-generator

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

FAQPage Schema
How do I automatically generate a pull request title and description from code diffs?

You can automatically generate a pull request title and description by analyzing code diffs between your current and target branches. This process uses Git CLI to detect changes and creates concise MR metadata for your development workflow.

Can I use this to create merge requests on both GitHub and GitLab?

Yes, you can create merge requests on both GitHub and GitLab. The tool integrates directly with GitHub CLI and GitLab CLI, allowing you to generate and submit MRs across multi-platform environments.

Do I need to install Git CLI to analyze code changes for MR generation?

Yes, you need Git CLI installed to analyze code changes for MR generation. Git CLI handles the diff analysis between branches, while GitHub or GitLab CLI is required for the actual MR creation.

What's the best way to preview a merge request before submitting it to GitLab?

The best way to preview a merge request before submitting it is to use the built-in preview mode. This feature displays the generated MR title and description based on your code changes before the actual creation occurs.

Can I customize the MR title length and target branch for my code changes?

Yes, you can customize the MR title length and specify your target branch. This allows you to tailor the automated MR generation output to fit specific project requirements before creating the pull request.

Why does automated MR generation fail without the GitHub CLI or GitLab CLI?

Automated MR generation fails without the GitHub CLI or GitLab CLI because these tools provide the necessary API integration to submit merge requests. Git CLI only handles local diff analysis, not remote repository creation.