Skip to main content
Run any Skill in Manus
with one click

submit-mr

Stars0
Forks0
UpdatedJune 11, 2026 at 06:46

一条龙把"当前 git worktree → 远端分支 → 已开 MR"的最后一公里跑完: worktree 探测 → 委托 /pre-mr 4 段自检 → fetch + rebase(默认拉齐) → zh-CN/视觉证据补齐(默认 ≥ 0.30 安全垫) → push --force-with-lease → **GitLab 协议探活(HTTPS → HTTP → OAuth 三段退化)** → 创建 MR → 输出 web_url + 用户待办 + 把产物留在 .agent/pr-assets/ 便于 recall。 **默认行为是动手把 MR 开出来,不是报告剩余项**。 Use this skill whenever the user says any of: "/submit-mr", "submit mr", "open the MR", "ship it", "ship MR", "push my branch", "push 我这条分支", "提个 MR", "提 MR", "搞定 MR", "把这条分支提了", "准备合并", "合并准备", "把分支推上去", "开 MR", "发 MR", "push and open MR", "create the merge request", or asks to take a clean worktree all the way to an opened GitLab MR in one shot. Special-case for winchannel internal GitLab (gitlab008.its.winchannel.net) where HTTPS API often returns EOF and the skill silently falls back to HTTP + $GITLAB_TOKEN. Do NOT trigger for plain "pre-mr"/"准备 MR" — that's the 4-gate self-check sub-step, delegate to /pre-mr instead. Do NOT trigger for "commit"/"git push" with no MR intent.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
6 files
SKILL.md
readonly