← ClaudeAtlas

pr-merge-commitlisted

Generate a gold-standard merge commit message from branch diff
tony/skills · ★ 2 · Code & Development · score 74
Install: claude install-skill tony/skills
# Generate Merge Commit Message Create a gold-standard merge commit message for the current branch. Merge commits are the **user-facing, product-level** summary that appears in `git log --merges` on the main branch. Merge commit text is user-facing. Apply the Published-Release Test before adding rename history, `### Fixes` for behavior that never shipped, or "no longer X" framing. See `AGENTS.md` § *The Published-Release Test*. User hint: $ARGUMENTS ## Context Current branch — run this command and read the output: ```bash git branch --show-current ``` Base branch detection — run this command and read the output: ```bash git rev-parse --verify origin/main >/dev/null 2>&1 && echo main || echo master ``` Commits on this branch — run this command and read the output: ```bash BASE=$(git rev-parse --verify origin/main >/dev/null 2>&1 && echo main || echo master); git log "origin/$BASE..HEAD" --oneline 2>/dev/null || echo "(no commits ahead of base)" ``` Files changed (stat) — run this command and read the output: ```bash BASE=$(git rev-parse --verify origin/main >/dev/null 2>&1 && echo main || echo master); git diff "origin/$BASE...HEAD" --stat 2>/dev/null || echo "(no diff)" ``` Full diff — run this command and read the output: ```bash BASE=$(git rev-parse --verify origin/main >/dev/null 2>&1 && echo main || echo master); git diff "origin/$BASE...HEAD" 2>/dev/null || echo "(no diff)" ``` --- ## Procedure ### 1. Analyze Changes - Review the full diff and **all com