What problem does it solve? Rebasing a feature branch onto an updated main branch often involves repetitive Git commands, manual conflict resolution, and risky force-pushes. This Skill automates the full rebase workflow while protecting uncommitted work and using safe push semantics. ## Core Features & Use Cases - Guided Rebase Workflow: Fetches the latest base branch, rebases the current branch, and verifies the result with a commit log check. - Conflict Resolution Loop: Lists conflicted files, resolves merge conflicts round by round (up to 10 rounds), and continues the rebase until clean. - Safe Push Handling: Detects whether the branch has an upstream, pushes with -u on first push, and uses --force-with-lease instead of --force to avoid overwriting others' work. - Use Case: Your pull request shows merge conflicts after main moved forward. Invoke this Skill to rebase onto origin/main, resolve the conflicts, and force-push so the open PR updates automatically. ## Quick Start Ask the agent to rebase the current branch onto main, resolve any conflicts, and push the result safely.