← ClaudeAtlas

auto-mrlisted

Push current branch, create MR/PR on GitHub, GitLab, or Forgejo, wait for CI pipeline, merge, and clean up branch using auto-mr CLI
sgaunet/claude-plugins · ★ 13 · Code & Development · score 80
Install: claude install-skill sgaunet/claude-plugins
# auto-mr Skill Push the current branch, create a MR/PR on GitHub, GitLab, or Forgejo, wait for the CI pipeline, merge, and clean up the branch — all via the `auto-mr` CLI. For `git.sylvlab.fr` repositories, the underlying `auto-mr` binary routes via the `fgj` CLI; GitHub and GitLab remotes are handled automatically as before. Platform detection and routing are handled entirely by the binary — this skill does not branch on the host. ## CLI Reference ``` Flags: --labels string Comma-separated label names (e.g., "bug,enhancement") --list-labels List all available labels and exit -l, --log-level string Set log level (debug, info, warn, error) [default "info"] --msg string Custom message for MR/PR (overrides commit message selection) --no-squash Disable squash merge (default: squash enabled) --pipeline-timeout string Pipeline/workflow timeout [default "30m"] -v, --version Print version and exit ``` ## Workflow ### Step 1: Pre-flight Checks **Verify `auto-mr` is installed:** ```bash auto-mr --version ``` If the command fails, abort with: > `auto-mr` is not installed. Install it from https://github.com/sgaunet/auto-mr and ensure it is in your PATH. **Get current branch:** ```bash git rev-parse --abbrev-ref HEAD ``` If the branch is `main`, `master`, or `develop`, warn the user: > Warning: you are on a protected branch (`<branch>`). `auto-mr` is intended for feature branches. **Check