원클릭으로
merge-pr
Script-first deterministic squash merge with strict required-check gating, head-SHA pinning, and reliable attribution/commenting.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Script-first deterministic squash merge with strict required-check gating, head-SHA pinning, and reliable attribution/commenting.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Script-first PR preparation with structured findings resolution, deterministic push safety, and explicit gate execution.
Script-first review-only GitHub pull request analysis. Use for deterministic PR review with structured findings handoff to /prepare-pr.
| name | merge-pr |
| description | Script-first deterministic squash merge with strict required-check gating, head-SHA pinning, and reliable attribution/commenting. |
Merge a prepared PR only after deterministic validation.
.local/prep.env from the PR worktree.gh pr merge --auto in this flow.git push directly.--match-head-commit during merge.scripts/pr-merge verify <PR>
Backward-compatible verify form also works:
scripts/pr-merge <PR>
scripts/pr-merge run <PR>
merge_sha=<sha>merge_author_email=<email>comment_url=<url>require=(.local/review.md .local/review.json .local/prep.md .local/prep.env)
for f in "${require[@]}"; do
[ -s "$f" ] || { echo "Missing artifact: $f"; exit 1; }
done
scripts/pr-merge verify <PR>
source .local/prep.env
scripts/pr-merge treats “no required checks configured” as acceptable ([]), but fails on any required fail or pending.
scripts/pr-merge run <PR>
scripts/pr-merge run performs:
PREP_HEAD_SHAMERGEDscripts/pr merge-run <PR>
Cleanup is handled by run after merge success.
MERGED, never CLOSED.