一键导入
workflow-ship
Use when the user asks to run workflow:ship, ship a branch, publish a feature branch, open and merge a PR, or push/PR/merge/cleanup completed work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user asks to run workflow:ship, ship a branch, publish a feature branch, open and merge a PR, or push/PR/merge/cleanup completed work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when initializing or maintaining agent-friendly repo context, setting up AGENTS.md or CLAUDE.md, adding local rules, defining verification commands, or checking whether context files are stale.
Use when the user asks to run workflow:commit, create a commit, make a git commit, stage changes, write a commit message, or prepare local changes for shipping.
Turn any rough prompt, half-formed idea, or task description into a finished, ready-to-send prompt optimized for Opus 4.7 (with adaptive thinking) inside the chat app — claude.ai, the Mac app, the iOS app — NOT the API. Use this skill whenever the user wants to write, rewrite, optimize, improve, sharpen, or polish a prompt for the chat app. Trigger phrases include "rewrite this prompt", "make this a better prompt", "optimize this prompt", "turn this into a prompt", "help me prompt this", "draft a prompt that...", "I want to ask...", or whenever the user pastes a draft prompt and asks for improvements. Also trigger when the user describes a task they plan to send into the chat app and clearly wants a reusable, well-structured prompt rather than a direct answer. The output is always a single, copy-pasteable prompt in a code block that the user sends as-is — never a template with placeholders. Always ends with the exact line "Think before answering (maximum reasoning)".
Entry point for new work. Determines the best action path or work decomposition (update existing spec, create new spec, mixed decomposition, or no spec needed) and refines ideas through structured dialogue.
Pre-discovery intent exploration for genuinely vague ideas. Use when the user pitches an idea where the real user-need, problem framing, or core assumptions are unclear — before /kiro-discovery. Delegates to the intent-explorer skill, which produces .kiro/specs/<slug>/intent-spec.md. The output is auto-detected by /kiro-discovery and downstream spec skills, so the user does not need to pass intent context as an argument. Skip this skill entirely when the user already has a clear problem statement.
Structured six-hats thinking sessions for debating decisions. Use when user says "six hats", "six hats debate", or wants to explore a decision through six colored-perspective lenses in sequential rounds with a final recommendation.
| name | workflow-ship |
| description | Use when the user asks to run workflow:ship, ship a branch, publish a feature branch, open and merge a PR, or push/PR/merge/cleanup completed work. |
| license | MIT |
Ship the current feature branch by pushing, opening a PR, merging it to main, and cleaning up safely.
workflow:shipship workflowship this branchpublish this branchopen and merge a PRpush, PR, merge, and clean upVerify branch state:
git branch --show-current.main or master.git status --short --branch.workflow:commit.main when present, otherwise use origin/main.git log <base-ref>..HEAD --oneline and stop if there are no commits ahead of the base ref.Run Codex review as final gate:
git diff --name-only <base-ref>...HEAD.(^|.*/)(README|LICENSE)[^/]*$|\.md$|^docs/, the diff is docs-only.codex is on PATH (command -v codex). If missing, stop with a clear error — do not silently skip.codex review --base main in the foreground. Stream the output to the user.codex exits non-zero, stop and report — do not push.Review comment:|\[P[0-3]\].Severity: laag / midden / hoog
Wat er speelt: <1-2 zinnen, plain language>
Advies: ship / fix eerst / jouw call
Map codex priority to severity as a soft guideline:
P0 present → hoog / fix eerstP1 present (no P0) → midden / jouw callP2 / P3 / nits → laag / ship
Deviating from the mapping is allowed when context warrants it (e.g. P1 in a comment, P2 touching auth) — add one short sentence explaining why.
After the summary, present two options to the user (use AskUserQuestion in Claude Code; in Codex or other hosts, prompt the user explicitly and wait for an answer):Abort ship (Recommended) — stop the workflow. The user fixes the findings outside ship (e.g. via workflow:commit) and re-runs workflow:ship. Do not attempt fixes inside this workflow.Ignore findings and ship anyway — continue to step 3.Push the branch:
git rev-parse --abbrev-ref --symbolic-full-name @{u}.git push -u origin <branch>.git push.Summarize the shipment:
git log <base-ref>..HEAD --oneline.git diff --stat <base-ref>...HEAD.Create the PR:
gh pr create.## Summary and ## Test plan.Merge safely:
gh pr merge <number> --merge --delete-branch.Update local main:
main.main.Delete the local branch:
git branch -d <branch>.-D; report the reason and let the user decide.Confirm final state:
git status --short --branch.git branch --list.main.main, stop and say there is nothing to ship.codex is not on PATH, stop with a clear error — do not silently skip the review gate.codex review exits non-zero, stop and report the failure — do not push.gh is not authenticated or available, stop and report the exact blocker.