一键导入
ship-checklist
Pre-push checklist — write tests for changes, run full suite, verify docs, push. Use before every git push.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Pre-push checklist — write tests for changes, run full suite, verify docs, push. Use before every git push.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Clone test suite repo (if needed), run full test suite, and report results. Use before pushing to ensure nothing is broken.
Analyze code changes, generate unit and integration tests, add them to the judgement-tests repo. Run after every feature, fix, or refactor — no matter how small.
| name | ship-checklist |
| description | Pre-push checklist — write tests for changes, run full suite, verify docs, push. Use before every git push. |
| disable-model-invocation | true |
| allowed-tools | Bash(npx vitest *) Bash(npx tsc *) Bash(python3 -m pytest *) Bash(python3 -c *) Bash(gh release view *) Bash(git *) |
Run through every item below before pushing. Do NOT push until all steps pass.
Run /write-tests to analyze all code changes and generate tests in the judgement-tests repo. Every change — feature, fix, refactor, even a one-liner — must have tests. Do NOT skip this step.
Run /test-suite to run all smoke tests + suite tests + TypeScript checks. Do NOT proceed until it reports "All tests passed — safe to push."
Check if the change affects any of:
gh release view --json assets)If yes, update README.md accordingly. Read it and verify links are correct.
Add an entry under the Unreleased section (or the current version section if tagging a release). Categorize as Added / Changed / Fixed / Security.
If anything was missed, caught late, or required a fix after the fact during this session, add an entry to LEARNINGS.md under the Mistakes & Fixes section. Format:
### Short title
What went wrong and the fix so we don't repeat it.
Only after all above steps pass:
git add -A)Report the final test counts and any doc updates made.