What problem does it solve?
This Skill updates branch history without merging, producing a clean linear branch that is ready to push while managing conflicts and post-rebase validation.
Core Features & Use Cases
- Targeted Rebasing: Rebase the current branch onto a specified target branch, defaulting to the repository's master or main branch.
- Conflict Resolution: Apply documented conflict heuristics when rebase conflicts occur and report the commits affected.
- Migration Safety: Reconcile migration files after rebasing by re-chaining migrations and applying them to the local database when appropriate.
- Quality Validation: Inspect and run the repository's configured quality gates because rebasing bypasses pre-commit hooks.
- Safe Synchronization: Force-push the rebased branch using force-with-lease and summarize the completed operation.
Quick Start
Use the rebase skill to rebase the current branch onto the specified target branch, resolve conflicts, run quality gates, reconcile migrations, and push the result safely.