一键导入
ship
Commit and push all local current-branch work, open a ready PR, babysit it, merge when clean, then create a fresh branch
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Commit and push all local current-branch work, open a ready PR, babysit it, merge when clean, then create a fresh branch
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
How to look up version-matched Agent Native framework docs in node_modules. Use before coding against @agent-native/core APIs or advanced features.
Use Content for repo-backed Markdown/MDX docs, blogs, resources, rich document editing, local components, shareable copies, and Content local-file workspaces. Prefer Content actions over raw filesystem writes when available.
All AI features in Clips — titles, summaries, chapters, tags, filler-word removal — delegate to the agent chat via sendToAgentChat except the narrow media pipeline path: transcription. Use when adding any AI-powered feature.
How Clips shares recordings — composes with the framework sharing skill and adds password, expiry, embed URLs, and view-counting. Use when wiring the share dialog, building embed links, adding a password, or debugging who can see a recording.
Cross-platform pattern for handling messaging integration webhooks (Slack, Telegram, WhatsApp, email, etc.) on serverless hosts. Use when adding a new integration adapter, debugging dropped messages, or wiring long-running agent work into a webhook handler.
Turn ordinary text plans into rich interactive visual plans with diagrams, file maps, annotated code, open questions, and UI/prototype review when useful.
| name | ship |
| description | Commit and push all local current-branch work, open a ready PR, babysit it, merge when clean, then create a fresh branch |
| user-invocable | true |
| metadata | {"internal":true} |
Ship the current branch end-to-end: commit and push all local work, open a
ready PR, run /babysit-pr, merge when the babysit merge gates are satisfied,
then run /new-branch after the merge lands.
/ship ships the branch, not just the agent's own edits. Commit and push
all non-gitignored local changes that are present on the current branch,
including work created by the user or other concurrent agents. Do not leave
local changes behind because you did not author them. The only routine
exceptions are learnings.md and ignored/personal files.
Invoking /ship is explicit authorization to merge this PR once the merge gates
below pass, unless the user says not to merge. Do not ask again just to merge a
clean PR. Do not stop after creating the PR; the default /ship outcome is a
merged PR and a fresh post-merge branch.
If the branch updates templates or publishable packages, shipping does not stop at merge. Treat the work as shipped only after the affected templates are live in production and affected packages have successfully published/released. If a production template deploy or package publish fails, retrigger the failed job when the existing code already contains the fix; otherwise make the necessary code/config fix and ship that follow-up until production is live.
Stay on the current branch: never create, switch, rebase, reset, or stash before opening the PR. This repo uses shared/platform-managed branches; ship the branch you are already on.
Check local changes: run git status --short and git diff --stat to
understand all modified/untracked files. Multiple agents may have added work;
include all non-gitignored local files in shipment instead of stashing,
skipping, or reverting them.
Validate enough to avoid obvious breakage: run focused tests for the
changed area. Run pnpm run prep when it is practical. If prep is slow,
flaky, or contaminated by concurrent in-flight edits, do not stall shipment:
push and let GitHub Actions be the validation gate that /babysit-pr
monitors.
Stage and commit: stage all changed/untracked files except learnings.md
or gitignored personal files. Write a concise, descriptive commit message
based on the actual diff. Never add Co-Authored-By or other agent
attribution.
Push: push the current branch. If the branch has no upstream, set it with
git push -u origin <branch>.
Open or update a ready PR: use the current branch. PRs are ready for
review by default, not drafts. Do not put codex, [codex], or similar
agent labels in the title/body.
Babysit immediately: run /babysit-pr <number> and follow that skill’s
tick loop exactly. Treat babysit-pr as the source of truth for how to watch
the PR; do not duplicate, shorten, or invent a lighter monitoring loop. Its
Step 0 is authoritative: every tick starts by committing and pushing all local
files and any unpushed commits, then checking mergeability, every unaddressed
review comment by reply state, and CI. Keep going until the PR is either
merged/closed or the user explicitly tells you to stop.
Merge when allowed: because /ship includes merge authorization, merge
with gh pr merge <number> --squash --admin only after /babysit-pr’s merge
requirements are simultaneously true for 10 consecutive minutes:
clean working tree, no unpushed commits, GitHub Actions green, all review
comments addressed/replied, and mergeable.
Verify production is live when needed: if the branch changed
templates/*, docs/sites that publish templates, or any deployment config
that affects templates, verify the affected template production deploys finish
successfully and the live site is serving the new build. If a deploy fails
because of a transient infra/build pickup issue, retrigger it; if it fails
because of code, config, dependency, or generated-file problems, fix the
issue and ship the follow-up. If the branch changed publishable packages such
as packages/core, packages/dispatch, packages/scheduling,
packages/pinpoint, or packages/skills, verify the release/publish
workflow completes and the package version is available from the registry or
package host. Retrigger transient publish failures; fix and ship code/config
failures.
Create the next branch after merge: after the PR is merged and origin/main
contains the merge commit, run /new-branch. Follow that skill’s preflight,
stash gate, branch naming, and stash-reporting rules. This is the only branch
movement in the ship flow.
Report: summarize the PR URL, merge result, new branch name, validation, production deploy/publish verification when applicable, and any feedback/CI fixes handled.
learnings.md or files in .gitignore./babysit-pr as the source of truth for CI/review monitoring cadence,
comment handling, local-file push discipline, and merge gates. Update
babysit-pr first if the watcher behavior changes./ship whenever
templates or publishable packages changed. A green PR is not enough if the
affected template build or package publish later fails./new-branch as mandatory after a successful merge so the workspace is
ready for the next task on fresh main.