/molten-loop:mt-shipfrom molten-loop
Final step in the Molten Loop development workflow: re-runs build, tests, lint, and gitleaks secret scan, opens a PR with evidence, monitors CI and preview deploy, then writes a retrospective. Never merges.
Ships in molten-loop. 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.
Get an approved change into a clean, safe, well-explained pull request, then learn from how it went. Shipping is a gate, not a formality: if anything is red, stop and send the work back.
Input paths: molten-docs/loop/<slug>/06-review.md (recommendation approve or approve-with-suggestions) from mt-review, molten-docs/loop/<slug>/05-verify.md (verdict pass), molten-docs/loop/<slug>/04-plan.md, molten-docs/loop/<slug>/03-spec.md, and molten-docs/config.md if it exists.
Output paths (canonical):
molten-docs/loop/<slug>/07-ship.md — gate results and the PR linkmolten-docs/loop/<slug>/08-retro.md — the retrospectiveNext skill: none — the feature loop ends here. After the PR merges, start the next feature with mt-discovery, or run mt-guide.
molten-docs/loop/<slug>/auto.md has status: running (see mt-auto), follow mt-auto/references/auto-mode.md:
auto.md has push: true.partial.pending for the user..env.example entry, write the changelog line) are fine. Anything that changes behaviour goes back through mt-build.skipped with the reason. Never report a gate as passed if it did not run.AskUserQuestion, AskQuestion, request_user_input).approve or approve-with-suggestions, and any blockers are resolved.pass. If code changed after verify, note it; the gates in step 3 must cover it.mt-plan/references/trackers.md → Task source). With a tracker, every task issue under the plan's tracker_parent is closed. Without one, every plan checkbox is ticked.feat/<slug> before going further.git worktree list, then git worktree remove <path>) and delete the merged task branches.git status is clean: everything intended is committed, nothing stray is left untracked.console.log / print / debugger, .only or skipped tests, commented-out code, new TODOs without an issue.molten-docs/loop/<slug>/prototype/) in the diff (scaffolded mockup pages are fine if the plan built on them)..env files, credentials, large binaries, or generated files committed by mistake.Run the project's own commands (from package.json scripts, Makefile, CI workflow, or equivalent) on the final committed state. Record command and result for each.
| Gate | Pass condition |
|---|---|
| Build | Production build succeeds |
| Tests | Full suite passes; no tests skipped or weakened by this change |
| Lint | Clean, or no new warnings versus base |
| Type-check | Clean (where the language has one) |
| Secrets | gitleaks git --log-opts="<base>..HEAD" (older versions: gitleaks detect --log-opts="<base>..HEAD") finds nothing. Scan the branch's commits, not just the working tree |
| Dependencies | When dependencies changed: npm audit / pnpm audit / pip-audit / cargo audit or equivalent shows no new high or critical issues |
If gitleaks is not installed, offer to install it, using whichever fits the machine:
brew install gitleaksgo install github.com/zricethezav/gitleaks/v8@latestscoop install gitleaks or choco install gitleaksdocker run --rm -v "$PWD:/repo" zricethezav/gitleaks git /repo --log-opts="<base>..HEAD"If none of these is possible, run a basic pattern scan of the branch diff for keys, tokens, and private keys, and record the secrets gate as partial with the reason.
.env.example (or the project's equivalent); migrations are noted.## [Unreleased], written for users (what changed for them, not which files moved), with Added, Changed, Fixed or Removed headings. Link the PR or issue when there is one.CHANGELOG.md at the repository root in Keep a Changelog format, with a short header and an ## [Unreleased] section holding this change. Ask once; if the user declines, note it in the ship report and don't ask again for this project (record changelog: none in molten-docs/config.md).gh pr create, or the platform's equivalent). Include the issue keys so the tracker links it.gh pr checks --watch or equivalent). If CI fails, record it, stop, and route the fix back through mt-build.tracker_sync: true in molten-docs/config.md: comment the PR link on the plan's tracker_parent, and make sure the PR closes it on merge (e.g. Closes #<n> on GitHub, or the issue key in the PR title or branch for Linear and Jira).status: done.molten-docs/loop/<slug>/07-ship.md.Always run it, and keep it short. Follow references/retro.md. Write molten-docs/loop/<slug>/08-retro.md, present the top suggestions in chat, and apply changes only with the user's approval.
## Summary
<one or two sentences from the spec's objective, then the smallest view that makes the change clear: a short diagram, call tree, or before/after sketch>
## Evidence
- Acceptance criteria: <n> of <n> pass — see molten-docs/loop/<slug>/05-verify.md
- **Before:** <screenshot, output, or failing test>
- **After:** <screenshot, output, or passing test>
- Gates: build ✓ · tests ✓ · lint ✓ · types ✓ · secrets ✓ · deps ✓ · preview ✓
- Preview: <preview URL, if the project deploys previews>
## Review
<recommendation, and any suggestions deliberately left for later>
<auto mode only: **Auto mode:** <n> decisions made without a person, highest undo cost first — see molten-docs/loop/<slug>/auto.md>
## Merge danger
**Door:** one-way | two-way — <can this be undone by reverting? migrations, data changes, and public API changes are usually one-way>
**Blast radius:** <who or what is affected if this is wrong>
## Links
Spec: molten-docs/loop/<slug>/03-spec.md · Plan: molten-docs/loop/<slug>/04-plan.md · Closes <issue>
---
feature: <name>
slug: <slug>
created: <YYYY-MM-DD>
spec: molten-docs/loop/<slug>/03-spec.md
result: pr-open | blocked
pr: <URL> | null
---
# Ship — <name>
## Readiness (review, verify, plan, branch status)
## Tidy (what was cleaned up)
## Gates
| Gate | Command | Result |
| --- | --- | --- |
## Docs and release (README, .env.example, CHANGELOG, version)
## Pull request (link, CI result, preview URL and deploy result)
## Rollout and rollback (production deploys only)
## Database branch (if the plan required one: name, and whether it is still open)
## Blocked on (if result is blocked: what failed and which skill fixes it)
partial recorded with reason); dependency audit run if deps changed.env.example, and CHANGELOG updated (or a CHANGELOG offered if the project has none)partial or n/a with the reason)status: donemolten-docs/loop/<slug>/07-ship.md and molten-docs/loop/<slug>/08-retro.md writtenCommon additions: an accessibility or performance budget gate, automatic release notes from the CHANGELOG, or posting the PR link to a team channel.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
molten-loop, pull-request, ci-cd, secret-scanning, retrospective
npx claudepluginhub switch-dimension/molten-loop --plugin molten-loop17 skills in this plugin
/mt-askMolten Loop — discussion only. Talks a topic through briefly without writing code, editing files or starting implementation. Use to ask a question, think out loud, weigh options or get a second opinion before deciding to build./mt-autoMolten Loop — auto mode. Runs the rest of the Agent Development Loop unattended, from a brief or from wherever a feature is (for example after a manual discovery), up to an open PR. Logs every decision it makes for you in `molten-docs/loop/<slug>/auto.md` and stops only for what it must not decide. Use for auto mode, "take it from here" or building a feature autonomously./mt-brandMolten Loop — interviews you on audience, pain, positioning, message and voice, then writes `molten-docs/brand/brand.md`. Use for a brand guide, positioning brief or messaging. Not for visual design (use mt-design)./mt-buildMolten Loop — Agent Development Loop step 4. Implements an approved plan one slice at a time with red-green-refactor on a feature branch, committing each green task and updating the task source (tracker or plan). Use to build, implement or start coding a planned feature. Not without a plan, or for spikes (use mt-prototype)./mt-designMolten Loop — turns the brand into a DESIGN.md visual system for one surface (landing, web, mobile or desktop) with a live preview. Writes `molten-docs/design/design.md`. Use for a design system, design tokens or visual direction. Not for brand strategy (use mt-brand)./mt-discoveryMolten Loop — Agent Development Loop step 1. Interviews you about a feature before any code: goals, users, constraints, codebase context and the riskiest unknown. Writes `molten-docs/loop/<slug>/01-discovery.md`. Use to start a new feature, "figure out what we're building" or "interview me". Not for idea validation (use mt-validate).Other plugins' skills for the same job