What problem does it solve?
This Skill helps integrate upstream branch changes into the current branch without losing work, leaving unresolved conflicts, breaking migration chains, or bypassing repository quality gates.
Core Features & Use Cases
- Safe Branch Integration: Merge a remote-tracking target branch into the current branch with an explicit conventional commit message.
- Divergence Analysis: Check ahead and behind commits and detect whether a squash-merged target is already contained before choosing the merge strategy.
- Conflict and Migration Handling: Resolve conflicts using repository-specific heuristics and reconcile migration files when both branches modify the migration chain.
- Quality Gate Verification: Inspect and run configured hooks and repository checks before pushing the completed merge.
- Use Case: When your feature branch needs the latest changes from the main branch, use this Skill to assess divergence, merge the remote branch, resolve conflicts, validate migrations, run quality gates, and report the result.
Quick Start
Use the merge skill to integrate the latest main branch into the current branch and resolve any conflicts.