ops-ship
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "ops-ship":https://skillpi.com/zh/skills/deepskill-5ff71d1796e4b4c6eb91794685bd5b8dcc298a27e51a9359adf1755eb0b1d306。安装前核对上游来源和版本:https://github.com/Lifecycle-Innovations-Limited/claude-ops。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
按需运维(发布部署):在用户请求“部署运维插件”“合并所有 PR 并……”等操作时使用此技能,执行按需的部署或发布流程。
介绍来源: third_party · Lifecycle-Innovations-Limited · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: ops-ship
description: "OPS on-demand: This skill should be used when the user asks to \"ship ops plugin\", \"merge all PRs and…"
argument-hint: '[--type patch|minor|major] [--version X.Y.Z] [--notes "changelog body"] [--base BRANCH] [--no-update] [--dry-run]'
allowed-tools:
- Bash
- Read
- AskUserQuestion
disable-model-invocation: trueOPS ► SHIP — merge-all-PRs → release → update, in one command
Load ops-rules before acting. Public repo (no personal data). Outbound: one draft → one approval → one send. If AskUserQuestion / Workflow are missing, follow Rule 10 in ops-rules (Hermes: numbered options / two-turn Telegram card; delegate_task).
The whole release chain in a single shot:
- Sweep — admin squash-merge every open, non-draft PR targeting the base
branch (default
main), overriding required checks/reviews (gh pr merge --admin). A failed merge aborts before the release — no partial ship. - Release — delegates to
bin/ops-release: bumpplugin.json+marketplace.jsonregistry +package.json+CHANGELOG, open the release PR, admin-merge tomain, tagvX.Y.Z. - Update — runs the installed
ops-updateto pull the new version onto this box (skip with--no-update).
ops-ship= sweep +/ops:ops-release+/ops:ops-updatein one. For just the publish step use/ops:ops-release; for just the pull step use/ops:ops-update.
⚠️ It admin-merges EVERY open non-draft PR — review the sweep first
By design the sweep is aggressive: it admin-merges all open non-draft PRs on the base branch, bypassing required checks (red CI, missing reviews) — exactly what you want for a trusted solo/own-org repo, dangerous if an unrelated or half-baked PR is open. So always dry-run first and show which PRs it will merge before applying (Rule 5 — bulk merge + outward-facing release + tag is high-impact and hard to reverse). It only skips drafts.
⚠️ Run it from the REPO CHECKOUT, not the cache
Like ops-release, ops-ship resolves its targets relative to its own path and
needs REPO_ROOT/.claude-plugin/marketplace.json, which the plugin cache lacks.
Run the copy inside a git checkout of the repo:
SHIP=""
for d in ~/Developer/repos/claude-ops ~/Projects/claude-ops-workspace/claude-ops ~/Projects/claude-ops/claude-ops "$HOME"/Projects/*/claude-ops; do
if [ -f "$d/.claude-plugin/marketplace.json" ] && [ -x "$d/claude-ops/bin/ops-ship" ]; then
SHIP="$d/claude-ops/bin/ops-ship"; break
fi
done
[ -n "$SHIP" ] || { echo "no claude-ops checkout with marketplace.json found"; exit 1; }
How to run it
1. Dry-run — show the sweep + the version bump
"$SHIP" --type patch --dry-run
Present: the list of open PRs it will admin-merge, the version bump (current → new),
the manifests touched, and the CHANGELOG block. (--notes defaults to a bullet list
of the merged PR titles; pass --notes "…" to override.)
2. Confirm
Use AskUserQuestion before applying (this merges PRs AND publishes):
Ship: admin-merge N open PR(s) on main, then release <CUR> → <NEW> + tag?
[Ship it]
[Dry-run only]
[Cancel]
3. Apply
"$SHIP" --type patch # or --version X.Y.Z, --notes "…", --no-update
Stream the step output (sweep → release → update). On success it ends with the new tag and the reload reminder. Surface the final line verbatim:
Restart Claude Code (or run
/reload-plugins) to load v<NEW>.
Flags
| Flag | Effect |
|---|---|
--type patch\|minor\|major |
Semver bump for the release (default patch). |
--version X.Y.Z |
Exact target version instead of bumping. |
--notes "…" |
CHANGELOG body. Defaults to a bullet list of the merged PR titles. |
--base BRANCH |
Base branch for the PR sweep only (must be main; ops-release always publishes to main). |
--no-update |
Don't run ops-update afterwards (publish only). |
--dry-run |
Report only — list PRs + the bump, change nothing. Always run this first. |
Notes
- PRs target
mainand are squash-merged with--admin(own-org PRs can't be self-approved; admin bypasses the review/required-check gates). - REST quota: the sweep and
ops-releaseusegh(GitHub REST). If REST is exhausted (HTTP 403 rate-limit), wait for the reset window —ops-shipaborts before releasing if any merge fails rather than partial-shipping. - Publish ≠ loaded. The running session won't see the new version until
ops-update(pull, run automatically unless--no-update) and/reload-plugins(load). - Siblings:
/ops:ops-release(publish only),/ops:ops-update(pull only).
版本历史
-
v3.14.0
GitHub ↗
原版更新说明
### Fixed - Daemon: memory extractions started early by new messages now record their exit code in `daemon-health.json`, like scheduled runs. - Daemon: a cron job that exits non-zero now raises `error_count` and sets `last_error` in `daemon-health.json`, and `/ops:daemon check` fails it. Successful runs set `last_success`. (#1085) - Daemon: self-upgrade on version drift no longer crashes on the undefined `LOG_FILE`. (#1085) - `inbox-digest` no longer aborts on hosts without a WhatsApp bridge. (#1085) - Account rotation: `daemon.mjs` loads again. #698 had deleted `isLoopSession` from `bg-respawn.mjs`. It is restored, along with the deferral of `/loop` sessions after rotation and in the deferred sweep: they respawn once no longer looping, or after 90 minutes. A host with this service installed starts rotating once updated. (#982) ### Added - `ops-rules` Rule 18 — "Steer every project toward profit". A standing rule for every ops skill: name the profit link (revenue up, cost down, revenue protected, or demand evidence gained) before picking or proposing work, read revenue and cost from the `ops-revenue` sources, run the `ops-pmf` gate at milestone start, prefer the shortest path to the first payment, and report outcomes in money terms. Placed in a new precedence tier, "Direction", below gates, truth and form: it selects among permitted work and never loosens the send, spend or no-fabrication rules. - `SubagentStart` hook: every subagent, including the agents in `agents/` (which do not load `ops-rules`), now starts with the same one-paragraph rules pointer the main session gets, including the Rule 18 profit line. `hooks/ops-rules-context.sh` takes the event name as its first argument and defaults to `SessionStart`. - Every agent file in `agents/` ends with the same short Rule 18 section; `tests/test-agents-lint.sh` fails when one is missing or differs. ### Changed - Plugin-root `CLAUDE.md` pointer now reads "Rules 0–18" (it still said 0–10). - Daemon: on Linux hosts without a reachable systemd user manager (containers, SSH without lingering), `ops-daemon.sh` no longer exits at startup. - Account rotation: restored the default-off post-respawn continuation turn (`CLAUDE_ROTATION_INJECT_CONTINUATION=1`) that #698 deleted, and run its test.
-
v3.13.0
GitHub ↗
原版更新说明
### Added - New skill `ops-pmf` — demand-evidence gate & builder for the revenue/GTM layer. Before a build milestone starts it runs six forcing questions (who pays, when the first euro lands, what counted demand evidence exists), scores evidence in tiers E0–E3 (only commitment E2 and payment E3 count as proof), and issues one verdict per milestone: PASS, EVIDENCE-PENDING (named owner + evidence plan ≤ 14 days), or NO-REVENUE-PATH ("geen verdienpad" — loses build priority, labelled and parked, never silently built). Its `prove` subcommand does the evidence-collection work as drafts (pre-sale/deposit offers, paid-pilot/LOI drafts, landing copy handed to `ops-marketing`); all outbound and money actions stay draft → approval → send. Evidence lives in one ledger per project (`.planning/evidence/LEDGER.md`) with the summary in `.planning/PROJECT.md` § Revenue Model & PMF — the same files Amp coordinators and GSD-style phase work read, so there is one truth. - New agent `pmf-scout` (optional, read-only) — gathers demand signals and proposes ledger updates; tier changes to E2/E3 are confirmed by the gate, not the scout. - `ops-gtm`: the `plan` flow now runs the PMF gate as step 4b before the launch handoff (a NO-REVENUE-PATH verdict replaces the launch handoff with the evidence plan), and `brief` Proof points must cite ledger evidence or be marked `[assumed — no evidence yet]`.
-
v3.12.1
GitHub ↗
原版更新说明
### Fixed - ops-task-reminder: the portable lock now runs the whole counter transaction under a real fcntl.flock, so one worker can no longer remove another's fresh lock and lose counter updates.
-
v3.12.0
GitHub ↗
原版更新说明
### Changed Add /ops:ops-mix and evidence-only A&R mix-evidence mode using the configured Mixforge engine.
-
v3.11.0
GitHub ↗
原版更新说明
### Changed Release safety, maintenance and inbox fixes from #1033: passive daemon monitoring, timezone-safe AWS audit dates, fail-closed release merge gates (same-head CI, Copilot review, resolved threads), progressive inbox with attachment and archive read-back proofs, and gate-only outbound wording in ops-desk and ops-leadgen.
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 高价值运维自动化工具,一键合并PR并发布插件
- 解决开发者高频刚需场景,显著提升发布效率
亮点
- 触发词精准完整,覆盖多种使用场景
- argument-hint 提供完整参数说明
待提升项
-
缺少显式 When to Use 章节 原报告严重程度:轻微
文档结构良好但缺少显式的 When to Use 章节
改进建议:建议添加显式的 When to Use 章节以提升可读性
亮点
- 工具来源明确,参数正确
- 覆盖主要异常情况,有确认机制
- 提供 dry-run 模式降低风险
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。