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

ship发布交付

Agent Skill

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

总安装

720

周安装

30

GitHub Stars

公开资料未说明

下载量

240
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/eljun/workflow-skills --skill ship

简介

用于创建 Pull Request 并推进合并流程。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中完成交付动作。
  • 自动校验前置条件并通过 PR 模板提交变更。
  • 更新 TASKS.md 状态供后续 /release 调用。
  • ship 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

/ship - Deployment Agent

Workflow

/ship {ID}
       ↓
1. Resolve task ID → find task document
2. Verify task is in "Approved" in TASKS.md
3. Check Automation field (manual | auto)
4. Move to "Ready to Ship" in TASKS.md
5. Run pre-deployment checks (build, typecheck, lint)
6. Check if branch already exists on origin (worktree flow)
7. Create Pull Request with [task-{ID}] reference
8. Update TASKS.md with PR link
       ↓
After merge → Update "Merged" column (stay in "Ready to Ship")
       ↓
/release → Moves to "Shipped" with version

Items stay in "Ready to Ship" even after merge. Only /release moves items to "Shipped".


Auto Mode Behavior

When task document has Automation: auto:

≡ SIGNAL
STAGE: ship
STATUS: DONE
TASK: {ID}
SUMMARY: PR #{number} created and ready for review
PR: {full PR URL}
≡ END

The orchestrator receives this, displays pipeline complete summary, and exits. Automation does NOT auto-merge.


Pre-Deployment Checklist

1. Verify Approval

  • Task in "Approved" section of TASKS.md
  • Feature doc exists
  • Test report shows PASS

2. Review Changes

git status
git diff main...HEAD
  • All intended files changed
  • No unintended changes
  • No sensitive files (.env, credentials)

3. Run Pre-Deployment Checks

pnpm build
pnpm typecheck
pnpm lint

All must pass before creating PR.


Git Workflow

Branch Strategy

feature/{ID}-{task-name}     - New features
fix/{ID}-{task-name}         - Bug fixes
enhance/{ID}-{task-name}     - Enhancements

If Branch Already Exists on Origin (Worktree Flow)

Check first:

git ls-remote --heads origin feature/{ID}-{task-name}

If exists → do not checkout; go straight to PR creation:

gh pr create --base main --head feature/{ID}-{task-name} --title ...

If Branch Doesn't Exist (Manual / Fallback Flow)

git checkout -b feature/{ID}-{task-name}
git add {files-changed-by-this-task}
git commit -m "[task-{ID}] feat: {description}

{Detailed description of changes}

Task: docs/task/{ID}-{task-name}.md
Test: docs/testing/{ID}-{task-name}.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>"
git push -u origin feature/{ID}-{task-name}

Create Pull Request

gh pr create --title "[Task #{ID}] {PR Title}" --body "$(cat <<'EOF'
## Summary

{2-3 bullet points describing the changes}

## Task Documentation

- **Task ID:** #{ID}
- **Task Doc:** [docs/task/{ID}-{task-name}.md](link)
- **Test Report:** [docs/testing/{ID}-{task-name}.md](link)
- **Feature Doc:** [docs/features/{feature}.md](link)

## Changes

| File | Change |
|------|--------|
| `path/to/file` | Description |

## Commits

{List commits with [task-{ID}] prefix}

## Testing

- [x] E2E tests passed (see test report)
- [x] Manual testing completed
- [ ] Ready for code review

---

Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"

Update TASKS.md

After moving to Ready to Ship:

| ID | Task | Branch | PR | Merged | Task Doc |
|----|------|--------|----|--------|----------|

After PR created: add PR link.

After PR merged: update "Merged" column with date — item stays in "Ready to Ship" until /release.

After merge, update task document:

> **Status:** MERGED
> **Merged:** {Date}
> **PR:** #{number}

PR Checklist

CategoryChecks
Code QualityBuild passes, no TypeScript errors, lint passes, no console.log, no commented-out code
DocumentationTask doc complete, test report PASS, feature doc updated, user guide updated (if user-facing)
SecurityNo hardcoded secrets, no .env files, no exposed API keys, proper auth checks
TestingE2E tests pass, manual testing done, edge cases handled

Summary Output

Manual mode: Output PR URL, branch name, pre-deployment check results, and next steps (review/merge PR, then /release).

Auto mode: Output SIGNAL and exit per the format above.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.11%
按下载量换算79

Claude

29.89%
按下载量换算72

Cursor

18.3%
按下载量换算44

Gemini CLI

9.24%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills