What problem does it solve? Keeping a long-lived feature branch current with the default branch is error-prone: rebases can rewrite pushed history, conflicts get resolved blindly, and uncommitted work gets lost. This Skill automates the sync while forcing every conflict decision through the user. ## Core Features & Use Cases - Rebase-first strategy with merge fallback: Analyzes the branch and picks a rebase when it is clean, falling back to a merge when the branch is pushed with an open PR, contains merge commits, or conflicts span multiple commits. - Interactive per-block conflict resolution: Walks through every conflict block one at a time, labeling sides as "your branch" vs "main" to avoid the ours/theirs inversion trap between rebase and merge. - Safety rails: Stashes uncommitted work, creates a backup branch before rebasing, verifies no conflict markers survive, and never force-pushes without explicit confirmation. - Use Case: You have been on a feature branch for a week and main has moved 30 commits ahead. Run the sync to rebase cleanly, resolve two conflicts with your input, verify the build still passes, and leave your uncommitted work restored. ## Quick Start Ask the assistant to sync your current feature branch with the latest main, for example by saying "sync my branch with main and walk me through any conflicts".