| name | ship |
| description | Final pre-release gate. Ensures tests green, docs synced, changelog updated, then pushes and opens PR. One command for the "I'm done, let's ship it" moment. |
Ship
๊ตฌํ + review + verification ์ด ๋ชจ๋ ๋๋ ๋ค ์ค์ ์ฐฉ๋ฅ ์ํค๋ skill.
์ธ์ ์ฐ๋๊ฐ
runtime.json gates ๊ฐ ๋ชจ๋ true:
scope_locked == true
plan_reviewed == true
failing_tests_committed == true
implementation_verified == true
deterministic_verified == true
ํ๋๋ผ๋ false ๋ฉด ์ด skill ์ stop ํ๊ณ ๋๋ฝ๋ ๊ฒ์ดํธ๋ฅผ ์๋ ค์ค๋ค.
์ธ์ ์ฐ์ง ์๋๊ฐ
- ์ ์ ์ ์กฐ๊ฑด ์ถฉ์กฑ ์
- ๋ฆด๋ฆฌ์ค ๋์์ด ์๋ WIP ์ปค๋ฐ
๋ฐฉ์
1. Pre-ship ์ฒดํฌ
python3 -c "
import json
rt = json.load(open('.claude/runtime.json'))
gates = rt['gates']
missing = [k for k,v in gates.items() if k != 'ship_approved' and not v]
if missing:
print('MISSING:', missing)
import sys; sys.exit(1)
print('all gates green')
"
๋ฏธํต๊ณผ ๊ฒ์ดํธ๊ฐ ์์ผ๋ฉด ํด๋น sealed prompt ๋ก ๋์๊ฐ์ ๋ง๋ฌด๋ฆฌ.
2. ๋ฌธ์ ๋๊ธฐํ
Documentation.md โ ์ด๋ฒ ๋ณ๊ฒฝ ๋ฐ์๋๋?
Implement.md โ ์๋ฃ๋ slice ๋ Documentation ์ Changelog ๋ก ์ด๊ด?
README.md โ ์ธ๋ถ ์ธํฐํ์ด์ค ๋ณ๊ฒฝ ์ ์
๋ฐ์ดํธ?
3. ์ต์ข
run
bun test / pytest -q / ํ๋ก์ ํธ ๊ธฐ๋ณธ test ๋ช
๋ น
- ์คํจํ๋ฉด ship ์ค๋จ
4. ์ปค๋ฐ + ํธ์
git status ๊นจ๋ํ์ง ํ์ธ
- ์ปค๋ฐ ๋ฉ์์ง ํ์:
<type>(<scope>): <โค60์ ์์ฝ>
- ํ PR = ํ logical change (M1 slice ์ฌ๋ฌ ๊ฐ๋ฉด squash ๊ฒํ )
git push -u origin <branch>
5. PR ์์ฑ
gh pr create --title "<title>" --body "$(cat <<'EOF'
## Summary
- <bullet>
## Plan reference
- <link to Plan.md section>
## Test plan
- [x] <test command>
- [x] <e2e scenario>
## Rollback plan
<from Plan.md>
๐ค Generated via /ship skill
EOF
)"
6. ship_approved flip
python3 scripts/harness/runtime_gate.py approve-ship
์ดํ ์ฃผ๊ธฐ meta-audit ์์ ship ํ 24์๊ฐ ๋ด hotfix ๊ฐ ์๋์ง ๋ชจ๋ํฐ๋ง.
์ถ๋ ฅ ํ์
Ship check:
- gates green: yes/no
- docs synced: yes/no
- tests green: yes/no
PR: <URL>
Next: <if any post-ship actions required>
๊ฐ๋๋ ์ผ
--no-verify, --no-gpg-sign ๊ธ์ง (์ฌ์ฉ์ ๋ช
์ ์น์ธ ์์ด)
- ์ด๋ฏธ ๋ก์ปฌ ๋ฐ์ผ๋ก ๋๊ฐ ์ปค๋ฐ amend ๊ธ์ง
- force push to main/master ๊ธ์ง
deterministic_verified == true ์์ด ship ๊ธ์ง (Gate โฃ ์ฐํ ๋ฐฉ์ง)
ship_approved flip ์ ๋ง์ง๋ง์ (rollback ์ฝ๊ฒ ํ๊ธฐ ์ํด)
๋จผ์ ์ฝ์ ๊ฒ
runtime.json (gate ํ๋๊ทธ ์ํ)
Documentation.md (changelog ๋๊ธฐ ํญ๋ชฉ)
Plan.md (์๋ scope ์ ์ผ์น ํ์ธ)
- ์ต๊ทผ
.claude/reviews/*.md (review verdict)