AGENT SKILL

handover-pr-merge

Squash-merge the PR for the current handover/<TICKET>-<slug> branch. Use for /handover-pr-merge.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 15
Forks
2

01 前言 Front Matter

name
handover-pr-merge
description
Squash-merge the PR for the current handover/<TICKET>-<slug> branch. Use for /handover-pr-merge.

03 SKILL.md 正文

handover-pr-merge

When the user asks to merge the handover PR, run:

bash scripts/handover/pr-merge.sh [--dry-run]

Fires a plain gh pr merge <N> --squash --delete-branch for the open PR on the current handover branch — no --admin (that fallback needs explicit GH_ADMIN_MERGE_OK=1; the script never silently escalates). Refuses (rc=3) if HEAD is not on a handover/* branch. Run from the worktree of the handover repo. Run after handover-flush or at session-end. See .claude/commands/handover-pr-merge.md for env vars + exit codes.

04 同仓库更多 Skills