abernier

Review Merge — Git skill for Claude Code

Git community

Pre-merge exhaustive review of the current branch against its base.

How to install Review Merge

Installs to ~/.claude/skills/abernier-skills-review-merge/SKILL.md

Terminal
mkdir -p ~/.claude/skills/abernier-skills-review-merge && curl -fsSL https://raw.githubusercontent.com/abernier/skills/HEAD/commands/review-merge.md -o ~/.claude/skills/abernier-skills-review-merge/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Review Merge does


description: Pre-merge exhaustive review of the current branch against its base

ultrathink — I'm about to merge. Determine the base: `BASE=$(gh pr view --json baseRefName -q .baseRefName 2>/dev/null || git symbolic-ref --quiet --short refs/remotes/origin/HEAD 2>/dev/null || echo main)`.

0. Read what this repo reviews against — discover it, never assume it

Two things decide how the steps below run, and both are the repo's to say:

  • The standards sources. Whichever of `CLAUDE.md

Alternatives in Git

  • Ws Reset — Reset the current branch to main, fetch upstream, and update submodules 38.1k ★
  • PR Summary — Generate a pull request summary for the current branch 5.8k ★
  • GitHub Review PR — Use when a PR needs full review — resolves merge conflicts with the base first, then fixes CI failures, then a 1.5k ★

Full documentation available on GitHub

View Source Repository