Ships finished work: writes one reviewed atomic commit, keeps maintainer branches local, or pushes a contributor branch to their fork and opens a PR only on explicit intent. Not for producing the change; use fix-issue.
Ships in ship. 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 finished, verified work out safely. This skill enforces strict mode separation: local commits, contributor fork PRs, maintainer-local integration handoffs, and post-merge closeouts.
See remote and branch policy for remote detection and publication rules, and PR template for standard pull request layout.
Arguments are passed in the user invocation message. Interpret them structurally from the prompt:
/skill:ship commit|pr|closeout [--base branch] [--fork remote] [--issue number] [paths...]
/skill:ship commit src/cli/run.ts tests/run.test.ts/skill:ship pr --base main --fork fork --issue 105/skill:ship commit --issue 42/skill:ship closeout --base mainmode: The operational mode. Must be one of:
commit: Review and stage changes, then create one atomic conventional commit. Never pushes; never opens a PR.pr: Validate clean tree, push topic branch to contributor fork remote, and open a pull request against canonical base.closeout: Clean up local worktrees and branches after a PR is verified merged; delegates to branch-closeout.paths...: Optional explicit file paths to stage for commit. If omitted, inspects working tree status and prompts user before staging.--base <branch>: Target base branch on the canonical remote (e.g. main, master).
gh repo view or remote tracking.git check-ref-format --branch <branch>).--fork <remote>: Remote name pointing to the contributor's personal fork.
origin. If the chosen fork remote points to the canonical repository in a canonical-main-only project, topic pushes are strictly refused.--issue <number>: Issue number or identifier to reference in commit footer (fixes #N) and PR description.Inspect project instructions (PANCODE.md, AGENTS.md, CONTRIBUTING.md, CLAUDE.md) for commit formats, PR templates, and branching policy. Detected repository policy overrides default assumptions.
commit)Review the entire working tree before staging:
git status --porcelain and git diff HEAD..env*, credentials, keys), generated build outputs, and unrelated files.paths... or prompted list). Never run git add -A blindly.<type>(<scope>): <imperative summary>
Include fixes #N or refs #N footer when --issue <number> is provided.--no-verify only upon explicit user instruction.commit, report git log -1 --stat and finish here.For pr mode, classify remotes per remote and branch policy:
gh repo view and match against git remote -v.--fork <remote>.worktree-merge). Refuse to push topic branch to canonical remote.<fork>, never canonical.closeout mode.pr)git push -u <fork> refs/heads/<topic>:refs/heads/<topic>
gh pr create --repo <canonical-owner/repo> --base <base> --head <fork-owner>:<topic> --title "..." --body-file "$pr_body_file"
.github/PULL_REQUEST_TEMPLATE.md or standard PR template. Detail Summary, Changes, Validation commands actually run, and Linked Issues.git log --format='%an <%ae>%n%(trailers:key=Assisted-by,key=Co-authored-by,valueonly)' <base>..HEAD; if one names PanCode, add one blank line and Assisted-by: followed by that identity, copied exactly, as the last line. If no commit names PanCode (attribution is off, or the work is the human's), add no credit line.closeout)When invoked as ship closeout (or when user requests cleanup of merged work):
/skill:branch-closeout or execute the closeout protocol:
git worktree remove (never rm -rf).git branch -d).git push or gh pr create when user only asked to commit.origin is a fork or canonical without checking its URL.git add -A without inspecting untracked files.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/ship:shipfrom ship
npx claudepluginhub panstudio/pancode --plugin ship