What problem does it solve? Merging branches blind can lead to unexpected conflicts and broken code. This Skill performs a pre-merge analysis of a source branch against a target branch, reporting commit stats, affected files, and predicted conflicts before you run any merge command. ## Core Features & Use Cases - Pre-merge Analysis: Computes merge base, commit counts on both sides, and changed-file statistics via a shell script that outputs structured JSON. - Conflict Detection & Resolution Suggestions: Uses git merge-tree to predict conflicts and classifies each conflict file by pattern (iterative, parallel, hotfix, add/add) with a suggested resolution strategy. - Analysis-Only Safety: Never executes merge, commit, push, or rebase — it only outputs suggested commands for manual execution, including multi-branch mode with a recommended merge order. - Use Case: Before merging a feature branch with 12 commits into main, run the analysis to learn that 9 files will conflict and receive per-file resolution suggestions plus ready-to-run merge commands. ## Quick Start Ask the assistant to run merge prep on your feature branch against main to see commit stats, predicted conflicts, and suggested merge commands.