一键导入
ship-end
Wrap up the current session — update docs, commit, and push
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Wrap up the current session — update docs, commit, and push
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Provision workflow orchestration and agent conventions into project CLAUDE.md and AGENTS.md
Provision workflow orchestration and agent conventions into project CLAUDE.md and AGENTS.md
Provision workflow orchestration and agent conventions into project CLAUDE.md and AGENTS.md
Provision workflow orchestration and agent conventions into project CLAUDE.md and AGENTS.md
Manage the portfolio of product paths — review, activate, archive, restore, promote, fork, and check revisit triggers across the product-path manifest
Manage the portfolio of product paths — review, activate, archive, restore, promote, fork, and check revisit triggers across the product-path manifest
| name | ship-end |
| description | Wrap up the current session — update docs, commit, and push |
| type | shipping |
| version | v0.14 |
| argument-hint | [--no-deploy] [--save-conversation] [--save-all-conversations] |
Wrap up the current session: mark progress, commit, and push. If $ARGUMENTS contains --save-conversation, save the current conversation to conversations/. If $ARGUMENTS contains --save-all-conversations, export all past conversations to conversations/.
Check for changes:
git status and git diff to see all changes.Update task tracking:
tasks/todo.md — mark completed items as done, note any outstanding items or blockers.tasks/roadmap.md if criteria were met.tasks/manual-todo.md (if it exists) — note the status of manual tasks (how many checked vs unchecked). Do NOT modify checked items.tasks/record-todo.md and tasks/recurring-todo.md if they exist — note unchecked advisory counts only. Do NOT treat them as blockers unless an item has been promoted into tasks/todo.md.tasks/history.md — append a brief record of what was accomplished this session (phase/step completed, key changes). Create it if it doesn't exist.tasks/todo.md, tasks/roadmap.md, tasks/manual-todo.md, tasks/record-todo.md, or tasks/recurring-todo.md changed and scripts/audit-task-docs.mjs exists, run node scripts/audit-task-docs.mjs and fix any failures before final next-work routing.Deploy (skip if --no-deploy):
After shipping, deploy only when the project has an explicit manual deploy contract.
deploy.md or tasks/deploy.md.Deploy skipped: no explicit manual deploy contract (deploy.md or tasks/deploy.md)./deploy (release-ops pack) targeting the default environment (staging)./deploy./deploy invocations only./deploy (release-ops pack) reports failure, report the error. Do not retry.Save conversation (skip if --save-conversation and --save-all-conversations both absent):
scripts/save-conversation.sh to export the current Claude Code conversation as a markdown file in conversations/. If the script is not found or fails (e.g., not running in Claude Code, no local conversation history), warn and continue — do not block shipping. Include the generated file in the shipping boundary.$ARGUMENTS contains --save-all-conversations, run scripts/save-conversation.sh --all instead.Ship the session changes:
/commit-and-push-by-feature workflow: group changes into logical feature/function buckets, use conventional commit messages, land the resulting commits on main or master, and push them there when the workflow succeeds..agents/project.json as the committed project designation. When pack configuration changed, include .agents/project.json in the shipping boundary. Treat .claude/skills/** and .codex/skills/** as generated local skill roots recreated by scripts/pack.sh refresh; generated skill roots must not be staged or committed. If those roots are untracked, leave them uncommitted and report them as generated local artifacts. If any path under those roots is already tracked or modified as a tracked file, stop unless the current task explicitly includes repository hygiene to untrack or ignore generated skill roots.Report session summary:
## Session Summary
- **Accomplished**: [what was done]
- **Deploy**: [status]
- **Tests**: [pass/fail — expected or unexpected]
- **Manual tasks**: [X/Y complete, or "none"]
- **Advisory tasks**: [record/recurring counts, or "none"]
- **Outstanding**: [remaining work]
- **Branch**: [branch name]
- **Commits**: [list]
- **Working tree**: clean
- **Next work:** [specific task, blocker, verification gap, or "none"]
- **Recommended next command:** [one command or route]
Before closing out the session, identify the next concrete work item from project state, then recommend the executor and invocation.
Output exactly two lines beyond the normal session summary:
Rules:
tasks/todo.md, tasks/manual-todo.md, deploy status, validation gaps, smoke-test gaps, outstanding session work, or the absence of any remaining work. Do not use agent mode itself as the next work item.tasks/todo.md as the only executable current-task surface. Historical roadmap entries and unchecked advisory/manual/record/recurring items are reconciliation candidates, not next executable work, unless the current active todo section explicitly promotes them../scripts/agent-mode.sh only to choose command text. If it is missing, unset, or non-zero, infer routing from the current invocation and task type instead of asking the user to select a mode by default./exec only when no narrower installed skill, artifact contract, or review route owns the next action..agents/project.json.enabled_packs for agent-bridge — if agent-bridge is not enabled, recommend npx skillpacks install agent-bridge from the project shell first; if agent-bridge is enabled, recommend /delegate $exec./exec.$exec..agents/project.json.enabled_packs for guided-walkthrough — if guided-walkthrough is not enabled, recommend npx skillpacks install guided-walkthrough from the project shell first; if guided-walkthrough is enabled, recommend /guide — or a Claude-guided manual step rather than /exec.tasks/manual-todo.md, task-doc bookkeeping, stale tasks/manual-todo.md cleanup, or reconciliation against repo/history reality → check .agents/project.json.enabled_packs for docs-health — if docs-health is not enabled, recommend npx skillpacks install docs-health from the project shell first; if docs-health is enabled, recommend /reconcile-dev-docs fix tasks — promotion to tasks/todo.md, or a direct dev-doc audit, not /guide..agents/project.json enabled_packs. If not installed, include npx skillpacks install <pack-name> from the project shell as the prerequisite.tasks/todo.md. Completed work history goes in tasks/history.md.tasks/record-todo.md or tasks/recurring-todo.md items unless they were explicitly promoted into tasks/todo.md.node scripts/audit-task-docs.mjs passes, if that script exists./commit-and-push-by-feature to move the work onto main or master and push it there, or stop and report a blocker if that cannot be done safely.Follow the shared shipping contract convention in CLAUDE.md.