Turn a vibe-coded repo into a reviewer-ready shipping packet — document the app, wire agent context, run correctness, security and performance reviews, add an i
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-pm-skills-f24473d42520 ,按照其中的说明把「ship-check」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Your AI wrote the code. This command answers the question you actually have — is it safe to ship? — by running the full shipping sequence and compiling the results into one reviewer-ready packet a human can sign off on.
/ship-check does not replace the specialist commands. It coordinates them and produces the final artifact none of them produce alone: the shipping packet.
/ship-check
/ship-check the payments service
/ship-check supabase/functions
Run on $ARGUMENTS (or the whole repository if empty). Each step builds on the last — the ordering is the point, because every audit is only as good as the documented intent it can compare the code against.
Ensure the system docs exist and are current (run /document-app if they're missing or stale). Apply the shipping-artifacts skill — the core set (architecture, flows, permissions, variables) plus any conditional docs that apply (emails, cron, seo, automation). These docs are the intended-state baseline for everything that follows.
Create or refresh CLAUDE.md (and a thin AGENTS.md pointing to it) derived from the system docs — the operating instructions the next AI coding agent inherits: what the system is, the trust boundaries, what may and may not be touched, where the guardrails are. This is a different artifact from the system docs: instructions, not description.
Apply the code-review skill with dimensions=correctness. This is the pass the other two audits do not perform: logic and state defects that compile clean, pass the suite, and violate an agreement between two places that each look reasonable alone. Run its forced probes rather than reading through — authority reconciliation (a requested value still driving state where the authority returned something different) and identity correlation (results joined to their originating entity by an unstable key) are the classes strong agents miss most, and they are missed at the look, not at the fix.
Fan out over flows, never over files. Summarize surviving findings.
Once the docs exist, the two audits are independent — run them as parallel subagents and continue when both return.
Security (/security-audit-static): apply the intended-vs-implemented skill to flag where the code diverges from permissions.md, flows.md, and architecture.md. Summarize surviving findings, and carry through the model mix it reports — which clusters ran on the strongest model and which were rerouted to the fallback (Opus 4.8) by Fable's classifiers.
Performance (/performance-audit-static): N+1 queries and waterfalls, over-fetching, missing indexes, caching. Summarize findings.
Everything above is steered: each pass looks for the classes its own checklist names, which is exactly why each pass is blind in the same places twice. This step is the backstop, and on a real release it is the highest-yield step in this sequence.
Hand the subject to a fresh session of a different model — Codex (codex exec) is the usual choice, but any capable second model works — under three rules:
git log --oneline <last-tag>..HEAD and git status. A described subject drifts; a computed one does not.Verify every finding against the code by hand before it enters the packet. An unsteered reviewer has no refutation discipline imposed on it, so it will produce confident findings that the code already prevents. Apply the code-review skill's keep/drop rule to each one: a finding survives only with a supported obligation, a feasible execution, a concrete contradiction, an observable consequence, and a counterargument you actually checked.
Distinguish defects the change introduced from defects it merely revealed — both belong in the packet, but only the first blocks the change itself. On a release pass, repeat the loop until a round surfaces no introduced findings above Low.
Run /derive-tests to turn the documented rules — and the gaps the reviews just surfaced — into a coverage map (tests.md): which rules are pinned by tests that exist today, which are only proposed, which are guarded-live or manual, and which have no verification at all. Running this after the reviews is deliberate: each confirmed finding becomes a concrete regression test to pin, so the same gap can't silently reopen on the next AI edit. This is the operational form of "documented == implemented," and the unverified boundary rules feed straight into the launch-blocker assessment below.
## Shipping Packet: [repo / area]
### Documentation Inventory
| Doc | Status (present / stale / missing / n/a) | Notes |
### Agent Context
CLAUDE.md / AGENTS.md: [created / updated / already current]
### Test Coverage
[Rules pinned by tests that exist today · proposed but not yet written · guarded-live/manual · and the documented rules nothing verifies yet]
### Correctness Summary
[Surviving findings, each: Expectation · Trigger · Defect · Impact · Remedy, citing every participant]
### Security Summary
[Counts by severity + the surviving findings, each: Risk · Attack · Impact · Fix]
### Performance Summary
[Findings by view/route/table, each: Recommendation · Effort · Priority]
### Independent Review
[Which model and session ran it, how the subject was computed, how many findings it returned, how many survived hand-verification — and the ones that survived. Note whether the last round was clean.]
### Audit Provenance
[Which model each audit actually ran on, any clusters Fable's classifiers rerouted to the fallback (Opus 4.8), and the second model used in Step 6 — so the reviewer knows how much of the work saw the strongest model vs. the fallback, and that at least one pass was genuinely independent]
### Launch Blockers
[Unresolved Critical/High items — including any boundary rule that is both unverified and unaudited — that should stop a ship]
### Recommended Next Actions
[Concrete owner actions or commands to run next]
/document-app, /derive-tests, /pm-ai-shipping:code-review, /security-audit-static, /performance-audit-static) when you only need one stage.