create-mr

Create GitHub or GitLab pull requests with auto-generated titles and descriptions.

Updated Jun 9, 2020
One-click install
npx skills add https://github.com/bgschiller/dotfiles --skill create-mr-bgschiller
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-mr
Source: https://github.com/bgschiller/dotfiles/tree/main/skills/create-mr
Command: npx skills add https://github.com/bgschiller/dotfiles --skill create-mr-bgschiller

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of creating merge requests or pull requests by automating the detection of the platform, branch information, and title/description generation based on conversation context.

Core Features & Use Cases

  • Platform Detection: Automatically identifies the hosting platform (GitHub or GitLab) based on the repository origin URL.
  • Branch and Commit Information: Determines the current branch and recent commits to create a meaningful PR.
  • Automated Title and Description: Generates a title and description for the PR from the commit history, which can be reviewed and edited.

Quick Start

Generate a pull request using the current context and branch information.

Frequently Asked Questions about create-mr

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

FAQPage Schema
How do I automatically create a pull request from commit history?

To automatically create a pull request from commit history, this Skill parses your recent commits to generate a meaningful title and description, detecting the current branch to populate the PR context without manual entry.

Does this automation tool work with both GitHub and GitLab repositories?

Yes, the pull request automation works with both GitHub and GitLab repositories. It automatically detects the correct hosting platform by inspecting the repository origin URL to route the merge request correctly.

Can I stack merge requests in GitLab using context-based automation?

Yes, you can stack merge requests in GitLab using context-based automation. The Skill supports optional MR stacking for GitLab, allowing you to chain dependent changes across multiple branches.

How do I generate a merge request title and description automatically?

You generate a merge request title and description automatically by running the Skill, which extracts context from your conversation and recent commit history to draft a meaningful PR for your review.

What do I need to set up before creating a pull request with context-based automation?

To create a pull request with context-based automation, you need a configured repository with a valid origin URL and recent commits on your current branch. No additional dependencies are required to execute the script.