What problem does it solve? Rebasing a pull request branch onto an updated base branch often produces confusing conflicts, and resolving them incorrectly can silently drop changes or corrupt history. This Skill provides a clear mental model and step-by-step workflow for replaying commits and resolving each conflict with the right intent. ## Core Features & Use Cases - Structured Rebase Workflow: Fetch the latest base, rebase, resolve conflicts file by file, and force-push safely with --force-with-lease. - Conflict Resolution Rules: Decision tables for common cases such as refactored functions, deleted code, nearby additions, and formatting-only conflicts. - Special File Handling: Rules for database migration sequence collisions and auto-generated files like lock files and protobuf outputs. - Use Case: Your PR branch conflicts with main after a teammate merged a refactor. Use this Skill to rebase onto origin/main, apply your logic onto the refactored code, renumber a colliding migration, and push the rewritten history safely. ## Quick Start Rebase my current PR branch onto the latest main branch and help me resolve any conflicts that come up.