Skip to main content
在 Manus 中运行任何 Skill
一键导入

submit-mr

星标0
分支0
更新时间2026年6月11日 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.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
6 个文件
SKILL.md
readonly