ship-it

ship-it is a skill for Claude Code from smallnest/goal-workflow. It costs 96 tokens per session (2,185 once invoked), scanned A, original, MIT.

A GitHub workflow for finishing an implemented issue: commit the relevant changes, push a branch, create a pull request, merge it, and close the issue. GitHub is a service for hosting code and reviewing changes, and a pull request is a proposed change for review.

In plain words
What is it for?
Use it after completing work tracked by a GitHub issue. It helps create a suitable branch, commit message, pull request description, test plan, and merge command.
Why use it?
It turns several release steps into one consistent checklist. It also links the pull request to the issue and avoids mixing unrelated files into the commit.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - **Before:** No Case persistence layer (`go test ./cases/...` had 0 tests).

Part of the goal-workflow-skills plugin — 22 skills shipped together

Good fit Use it after completing work tracked by a GitHub issue. It helps create a suitable branch, commit message, pull request description, test plan, and merge command.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/smallnest/goal-workflow
agentmods
npx agentmods add skills/smallnest/goal-workflow/ship-it

Made for: Claude Code.

Or install goal-workflow-skills, the plugin that ships this one along with the rest of its 22 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ship-it

README.md
[![agentmods](https://agentmods.dev/badge/skills/smallnest/goal-workflow/ship-it/github.svg)](https://agentmods.dev/skills/smallnest/goal-workflow/ship-it)
Your own site
<a href="https://agentmods.dev/skills/smallnest/goal-workflow/ship-it"><img src="https://agentmods.dev/badge/skills/smallnest/goal-workflow/ship-it/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ship-it

Your own site · 80×15
<a href="https://agentmods.dev/skills/smallnest/goal-workflow/ship-it"><img src="https://agentmods.dev/badge/skills/smallnest/goal-workflow/ship-it.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,185 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 16 Sept 2026
  • Snyk pass 16 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00096 $0.02185
Opus 5.5 $0.00038 $0.00874
Sonnet 5.5 $0.00019 $0.00437
Haiku 4.5 $0.00010 $0.00218

Measured 2d ago against content hash 1a1ce951a67a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ship-it scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ship-it/SKILL.md · 242 lines

How it starts

The opening of the file, as written. The whole thing — 242 lines — stays where its author put it; the contents beside it link to each section on GitHub.

After-Goal: 代码提交、PR 合入、Issue 关闭工作流(GitHub)

完成 GitHub Issue 实现后的标准收尾流程:提交代码 → 推送分支 → 创建 PR → 合入 → 关闭 Issue。

前置条件

  • 当前 git 仓库有已实现的代码变更
  • 已知 Issue 编号(如 #42)
  • gh CLI 已登录(gh auth status 可验证)

工作流

Step 1: 提交代码

# 1a. 检查变更状态
git status
git diff --stat HEAD

# 1b. 暂存本次 Issue 相关的文件(不要 add 不相关的文件)
git add <files related to this issue>

# 1c. 提交,commit message 关联 Issue
git commit -m "$(cat <<'EOF'
{简要描述} (#issue-number)

{可选的详细说明}
EOF
)"

关键规则:

  • commit message 中包含 #issue-number 以关联 Issue
  • 只暂存当前 Issue 相关的文件,不要混入其他变更

Step 2: 推送分支

# 如果还在 main/master 上,先创建功能分支
git checkout -b {branch-name}  # 如已在功能分支则跳过

# 推送到远程
git push -u origin {branch-name}

分支命名建议:feat/issue-42-short-desc 或 fix/issue-42-short-desc

Step 3: 创建 PR

gh pr create \
  --title "{简要描述}" \
  --body "$(cat <<'EOF'
## Summary
- 实现内容概述(复杂改动可附精简结构图、调用树、目录 diff 或 Mermaid 时序图,避免大段废话)

Closes #{issue-number}

## Evidence(行为变更 / Bug 修复推荐填写)
- **Before:** {修改前的失败测试输出、报错或截图}
- **After:** {修改后的通过测试输出或截图}

## Merge Danger(非微小改动推荐填写)
- **Door:** Two-way(可低成本回滚) / One-way(含不可逆数据迁移、破坏性 API/Schema 变更)
- **Blast Radius:** {影响范围,如 Isolated / Module / Cross-service / Public API,及潜在风险点}

## Test plan
- [ ] 测试项 1
- [ ] 测试项 2
EOF
)"

关键规则:

  • PR body 中写 Closes #N 或 Fixes #N,合入后 GitHub 自动关闭 Issue
  • title 简洁,不超过 70 字符
  • Summary 用最小可视化说清重点: 按改动类型选择最直观的表达(简单改动 2–3 条 bullet;流程变更用调用树;结构重整用精简文件树 diff;跨模块交互用 Mermaid),切忌堆砌空洞文字
  • Evidence 与 Merge Danger 按需精简: Bug 修复、UI 改动、数据迁移或公共接口变更务必写清 Before/After 实证与单向/双向门风险;纯文档或极小改动可省略这两个可选段落,避免形式主义

Step 4: 合入 PR

# 4a. 查看 PR 状态(确认 checks 通过)
gh pr checks

# 4b. 合入(默认 merge commit,可选 --squash 或 --rebase)
gh pr merge --squash --delete-branch

参数说明:

  • --squash: 压缩为单个 commit 合入(推荐)
  • --rebase: rebase 合入
  • --merge: 普通 merge commit
  • --delete-branch: 合入后删除远程分支

Step 5: 添加实现总结评论

PR 合入 / Issue 关闭时,始终在 Issue 上添加实现总结评论,方便后续直接从 Issue 回溯设计决策与代码变更。

按以下四类结构组织总结内容:Design Decisions(设计决策)、Deviations(偏离)、Tradeoffs(权衡)、Open Questions(待确认)。某一类无内容时写 None 并简要说明。

Read the full file on GitHub · 242 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +17 lines 1a1ce951a67a
  2. 3mo ago First seen · 225 lines · 96 tokens per session scan A 559d9ec4552f

Subscribe to this mod's changes

ship-it is a skill published in the GitHub repository smallnest/goal-workflow (304 stars, last pushed today), licensed MIT. It adds 96 tokens to every session and 2,185 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ship-it compared with skills from other repositories

ship-it next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ship-itsmallnest/goal-workflowSkill304todayMITA96Claude Code
commit-allsentimony/skillsSkill82d agoMITA30Claude Code, Codex
development-workflowathola/claude-night-marketSkill358todayMITA20Claude Code
retroRune-kit/runeSkill96yesterdayMITA57Claude Code
gitRune-kit/runeSkill96yesterdayMITA60Claude Code
safeguardRune-kit/runeSkill96yesterdayMITA41Claude Code
branch-finishsentimony/skillsSkill82d agoMITA50Claude Code