Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

ship发布交付

Agent Skill

ship 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

376

周安装

16

GitHub Stars

18

下载量

132
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ship(发布交付)
来源仓库:https://github.com/mikecann/agent-skills
仓库路径:skills/ship
安装命令:
npx skills add https://github.com/mikecann/agent-skills --skill ship
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mikecann/agent-skills --skill ship

简介

ship 用于查找、检索和筛选相关信息。

  • 适合根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装并使用该技能。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • ship 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Ship

Take the current branch from "work in progress" to "ready to merge".

This skill is for the full PR babysitting loop:

  • confirm you are on a real feature branch
  • find or create the PR
  • watch CI and review activity
  • handle automated review comments one by one
  • push fixes and keep re-checking
  • stop only when the PR is merge-ready or blocked by something a human must decide

When to Use

Use this when the user wants you to:

  • ship a branch
  • create a PR if needed
  • monitor CI until it settles
  • deal with AI review bots or automated review comments
  • keep a PR merge-ready in a loop
  • squash merge once everything is green

Do not use this for a normal one-off code review or a one-time push.

Core Rules

  1. Work from the current local branch.

- If git branch --show-current is empty, or you are detached, stop and tell the user. - If you are on main or the repo's default branch, stop and tell the user there is no feature branch to ship.

  1. Use gh for GitHub work.

- Use gh pr view, gh pr create, gh pr checks, gh pr review, and gh api. - If gh pr view is not enough for review threads, use gh api graphql.

  1. After every push, monitor checks again.

- Do not push and walk away.

  1. Handle automated review comments explicitly.

- Decide whether the comment is valid. - If valid, implement a fix, push it, reply with what changed, then resolve the thread. - If not valid, do not change code, reply with why, then resolve the thread.

  1. Do not auto-resolve human reviewer comments unless the user explicitly asked for that.
  2. Do not merge unless the user explicitly asked you to merge when ready.

- If they asked for squash merge, use squash merge.

Workflow

1. Establish PR state

  1. Get the current branch.
  2. Check whether it already has an open PR.
  3. If there is no PR:

- make sure the branch is pushed - create the PR - capture the PR number and URL

  1. Report the PR URL to the user once it exists.

If PR creation needs missing information and the repo does not make it obvious, draft a concise title/body from the branch diff and recent commits.

2. Start the shipping loop

Stay in this loop until one of these is true:

  • the PR is genuinely ready to merge: required checks are green, automated review threads are handled, and GitHub shows it as mergeable
  • the user asked for merge and the merge is complete
  • you hit a real blocker that needs a human

Each loop iteration:

  1. Check current PR status.

- mergeability - review state - draft/open state - pending, failing, or passing checks

  1. Check for new automated review activity.

- review summaries - inline review comments - unresolved review threads from bots

  1. Triage anything new before waiting again.
  2. If nothing needs action and checks are still pending, wait and poll again.

Use short waits at first, then back off:

  • first few polls: 15 to 30 seconds
  • later polls: 30 to 60 seconds

Handling Automated Review Comments

Treat each automated thread as a small review task.

Triage rules

For each bot comment:

  1. Read the surrounding code and understand the claim.
  2. Decide if the comment is:

- valid - partially valid - not valid

  1. Prefer your own fix over blindly copying the suggestion.
  2. Keep the fix scoped to the actual issue.
  3. If the comment is wrong, do not churn the code just to satisfy the bot.

Required action for every handled bot thread

  1. Reply to the thread.
  2. Resolve the thread.

Do both even when you disagree with the comment. The point is that every bot thread ends with an explicit decision.

Reply style

Write in a short, direct, conversational tone.

  • Say what you changed, or why you did not change it.
  • Do not write a corporate essay.
  • Do not hedge when the answer is clear.

Examples:

Fixed this. The bot was right that we could hit the null path, so I added an explicit guard and covered it in the existing test.
I looked at this and I don't think it's a real issue. That branch is already unreachable because `result.kind` is narrowed earlier, so changing it would just add noise.

Resolution order

When a comment is valid:

  1. implement the fix
  2. run the smallest useful verification
  3. commit if needed
  4. push
  5. reply to the thread
  6. resolve the thread
  7. go back to check status again

When a comment is not valid:

  1. do not change code
  2. reply to the thread with the reasoning
  3. resolve the thread
  4. go back to check status again

Handling Failing Checks

Treat failing CI like another loop input.

  1. Identify which check failed.
  2. Decide whether it is caused by your changes, a flaky test, or an unrelated external failure.
  3. If the fix is clear, implement it and push.
  4. If the failure is unrelated but obvious, say so in your status update.
  5. If the failure is ambiguous, investigate before changing code.

Do not declare success while required checks are still failing or pending.

If the repo has no checks configured, confirm that and focus on review state plus mergeability.

Stop Conditions

Stop and ask the user when:

  • GitHub auth is missing or broken
  • PR creation needs product input you cannot infer
  • merge conflicts are non-trivial
  • a review comment requires a product decision, not an engineering fix
  • a required check is hung or repeatedly flaky with no clear next step
  • the repo settings block thread resolution or merge

The loop is meant to be persistent, not mindless. If progress stalls, explain the blocker clearly instead of thrashing.

Merge

Only merge when the user explicitly asked for it.

If they said to squash merge when ready:

  1. confirm the PR is mergeable
  2. confirm required checks are green
  3. confirm automated bot threads are handled
  4. run the squash merge

If they asked for merge but did not specify squash, use the repo's normal merge strategy if it is obvious. Otherwise ask.

After merge:

  1. if the current local branch is still checked out, switch back to main
  2. if the repo does not use main, switch to the default base branch instead
  3. tell the user the PR is merged and the local branch has been moved off the feature branch

If the user did not ask for merge, stop at "ready to merge" and say so explicitly.

Bad vs Good

# Bad: create a PR, push once, then stop watching
git push -u origin HEAD
gh pr create --fill

# Good: create or find the PR, then keep monitoring it
git push -u origin HEAD
gh pr create --fill
gh pr checks --watch
Bad: "Addressed."

Good: "Fixed this. The fallback path really could return stale data, so I moved the cache invalidation before the early return."

Checklist

  • current branch is a real feature branch
  • PR exists and URL is known
  • checks were monitored after every push
  • every automated review thread was triaged
  • every handled bot thread got a reply
  • every handled bot thread was resolved
  • failing checks were triaged and fixed where appropriate
  • merge happened only if the user explicitly asked for it
  • after merge, local checkout moved back to main or the default base branch

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.94%
按下载量换算49

Claude

30.57%
按下载量换算40

Cursor

16.51%
按下载量换算22

Gemini CLI

8%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills