mr

Push branches and create pull requests with theme-based splitting.

267|70|Updated Nov 1, 2025
One-click install
npx skills add https://github.com/codemie-ai/codemie-code --skill mr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mr
Source: https://github.com/codemie-ai/codemie-code/tree/main/.codemie/skills/mr
Command: npx skills add https://github.com/codemie-ai/codemie-code --skill mr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill automates the process of pushing the current branch and creating pull requests, intelligently handling scenarios where a PR already exists or a previous PR was merged/closed by starting new branches or creating themed PRs.

Core Features & Use Cases

  • Push the active branch to origin and create a PR to main/master.
  • Detect merged or closed PRs and automatically branch for fresh PRs.
  • Support theme-based PR creation and cherry-pick workflows to split work into focused PRs.
  • Ideal for multi-commit feature branches requiring modular reviews across related tasks.

Quick Start

Run the /mr command on your current branch to push changes and open a PR. If a PR already exists, the tool updates it or creates a new themed PR based on detected themes. When multiple themes are detected, select the themes to generate separate PRs.

Frequently Asked Questions about mr

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

FAQPage Schema
How do I automate pushing a branch and creating a pull request?

You can automate pushing a branch and creating a pull request by running a single command that pushes the active branch to origin and opens a PR against main or master. This automates the entire git push and PR creation workflow.

What happens if I try to create a pull request on a branch where a PR was already merged or closed?

When a previous pull request was merged or closed, the tool detects this state and automatically creates a fresh branch to generate a new PR. This prevents conflicts with closed PR histories and ensures a clean review process.

How do I split a multi-commit feature branch into multiple focused pull requests?

You can split a multi-commit feature branch into focused pull requests using theme-based PR creation and cherry-pick workflows. The tool detects distinct themes in your commits and generates separate PRs for each selected theme.

Do I need git and gh tooling installed to automate pull request creation?

Yes, you need git and gh tooling installed to automate pull request creation. The tool relies on these dependencies to satisfy requirements for PR state inspection, branch naming, and PR creation from your local environment.

Can I inspect existing PR states before pushing new themed pull requests?

Yes, the tool inspects existing PR states before pushing new themed pull requests. It evaluates the current PR status to decide whether to update the existing PR or create new branches and cherry-pick commits for themed splitting.