Run the pre-launch checklist via parallel fan-out to specialist personas, then synthesize a go/no-go decision
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-agent-skills-f1022fe1f591 ,按照其中的说明把「ship」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Invoke the agent-skills:shipping-and-launch skill.
/ship is a fan-out orchestrator. It runs three specialist personas in parallel against the current change, then merges their reports into a single go/no-go decision with a rollback plan. The personas operate independently — no shared state, no ordering — which is what makes parallel execution safe and useful here.
Spawn three subagents concurrently using the Agent tool. Issue all three Agent tool calls in a single assistant turn so they execute in parallel — sequential calls defeat the purpose of this command.
In Claude Code, each call passes subagent_type matching the persona's name field:
code-reviewer — Run a five-axis review (correctness, readability, architecture, security, performance) on the staged changes or recent commits. Output the standard review template.security-auditor — Run a vulnerability and threat-model pass. Check OWASP Top 10, secrets handling, auth/authz, dependency CVEs. Output the standard audit report.test-engineer — Analyze test coverage for the change. Identify gaps in happy path, edge cases, error paths, and concurrency scenarios. Output the standard coverage analysis.In other harnesses without an Agent tool, invoke each persona's system prompt sequentially and treat their outputs as if returned in parallel — the merge phase still works.
Constraints (from Claude Code's subagent model):
references/orchestration-patterns.md).Persona resolution. If you've defined your own code-reviewer, security-auditor, or test-engineer in .claude/agents/ or ~/.claude/agents/, those take precedence over this plugin's versions — /ship picks up your customizations automatically. This is intentional: plugin subagents sit at the bottom of Claude Code's scope priority table, so user-level definitions win by design.
Once all three reports are back, the main agent (not a sub-persona) synthesizes them:
code-reviewer and any failing tests, lint, or build output. Resolve duplicates between reviewers.security-auditor findings to launch blockers. Cross-reference with code-reviewer's security axis.code-reviewer's performance axis; cross-check Core Web Vitals if applicable.Produce a single output:
## Ship Decision: GO | NO-GO
### Blockers (must fix before ship)
- [Source persona: Critical finding + file:line]
### Recommended fixes (should fix before ship)
- [Source persona: Important finding + file:line]
### Acknowledged risks (shipping anyway)
- [Risk + mitigation]
### Rollback plan
- Trigger conditions: [what signals would prompt rollback]
- Rollback procedure: [exact steps]
- Recovery time objective: [target]
### Specialist reports (full)
- [code-reviewer report]
- [security-auditor report]
- [test-engineer report]
/ship is designed for production-bound changes — when the blast radius is non-trivial, run the parallel review even if the diff looks small.