/mstack:m-shipfrom mstack
Guides the process of moving finished code changes from a feature branch to a clean pull request: syncing upstream, running real tests, obtaining independent review, committing with clear messages, and monitoring CI until green.
Ships in mstack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Move a finished change from a feature branch to an open pull request with real verification evidence, and keep it green afterwards. Nothing is "done" until the PR is open, CI passes, and review feedback is answered (principles 4 and 6).
Use it: when you are ready to commit/push/open a PR; to fix failing CI; to act on PR comments.
Not this skill: the change isn't written → m-think/m-plan; you want review without shipping → m-review; after merge you need deploy verification → that is out of scope (stop at an open, green PR).
Using m-ship: — say this first, before any tool call.
Rule: no PR called ready without fresh test output from this branch and a verdict from a reviewer who did not write it.
No exceptions: a CI re-run is not a fix; your own review, a passing suite and a green CI are not an independent verdict; do not edit a test's expected value, skip hooks (--no-verify) or mark a check not-required to get past a red.
| You will be tempted to think… | Reality |
|---|---|
| "CI is red, re-run it until it passes." | A suspected flake gets exactly one fresh run. The same failure twice is not a flake (research/round3/pstack-craft.md T4). |
| "The failing file is not in my diff, so not my problem." | First check the base: is your branch behind it, and does the test fail at the merge-base too? (references/ci-and-comments.md; research/round3/pstack-craft.md T4). |
| "I ran the tests and read the diff myself." | Self-review, tests and CI are not an independent verdict (pstack-craft T9). Without a reviewer, record BLOCKED: independent review. |
Red flags — stop and re-check: you typed "should pass"; you pressed re-run a second time; you are about to add --no-verify or --force; the PR doc's testing section holds a command you did not run in this branch.
git fetch, then rebase or merge the base branch into your branch; resolve conflicts. Confirm the target branch is correct (e.g. a version branch), then verify the fork point by asking only if genuinely unknown.m-review's angles), and one m-verifier run for the test claims, for correctness bugs only. Fix confirmed findings and re-test.git diff --cached --stat for secrets or large binaries before committing.Closes #n.git push -u origin <branch>, then gh pr create — a draft unless the user asked for ready. Report the URL.mola watch pr <n> --run <go run> when mola serve runs (it wakes you on a failed or passed check, a conflict, another person's comment, merge or close; a wake is news, not a merge decision) instead of polling or sleeping. Watch remote CI (gh pr checks); fix one actionable failure at a time (see references/ci-and-comments.md), push, re-check. CI flake rule: a suspected flake or infrastructure failure gets one fresh run, never a job-level retry loop; failing the same way twice means it is a real failure. A failure in code your diff does not touch: check the base first with git merge-base (details in the reference). Answer review comments you agree with; for judgment calls reply with what you would have done rather than guessing.Ruling record: any judgement call the steps do not cover is one line in the PR doc's risks section, Ruling: decision | reason | cost if wrong.
Gate function — before each claim to the user:
| claim | evidence required | evidence that is NOT enough |
|---|---|---|
| tests pass | the repo's test command run on this branch after the last edit, exit code read | an earlier run; a sub-agent said so |
| reviewed | a verdict from an agent that did not write the change | self-review; green CI |
| CI green | gh pr checks output with every check passing | one check passing; a re-run you did not read |
Agent for the reviewer and the test claims: subagent_type: "mstack:m-verifier" (returns PASS / FAIL / INCOMPLETE with an evidence table) for verification, mstack:m-reviewer for the review; gh for PRs/CI.subagent for the reviewer and the m-verifier run; gh pr/gh run via Bash.codex exec a self-contained reviewer prompt; gh CLI for the rest.What SKILL.md sets; muted values are Claude Code's defaults
Code changes are done and need committing, pushing, or a PR; or a PR is open and needs to be driven to green.
Three short reads, in order
17 skills in this plugin
/m-cuaDrive a real desktop app, Android device or browser to prove L3/L4 acceptance. Use for 点一下/操作界面/真机验收/computer use./m-debugRoot-cause a bug or failing test: reproduce, competing hypotheses, regression test. Use for debug一下/为什么报错/这个测试挂了./m-deslop删掉 AI 味和冗余——多余注释、死代码、无谓抽象、套话堆砌,先保护行为再减。Use when the user says "deslop / 去AI味 / 删冗余 / 这段太啰嗦 / 精简一下", or a diff feels bloated./m-dispatchFan independent subtasks out to Claude subagents, DSH headless, Codex or Orca; isolate, merge, verify. Use for 分派/并行/开N个agents./m-goalLong-running goal loop: goal file, checkpoints, stop rules, mandatory closeout. Use for run-until-done work, 别停/一直做到完成./m-guardGuardrails: destructive-command checks, folder freeze, plugin vetting, loop brake, known traps. Use for 小心点/冻结目录/这插件安全吗/死循环了.npx claudepluginhub mola-maker/mstack --plugin mstackOther plugins' skills for the same job