What problem does it solve?
Keeping a pull request branch up to date with the base repository requires manual rebasing, conflict resolution, and force-pushing, which is error-prone and tedious, especially for cross-repo fork PRs where remote setup differs.
Core Features & Use Cases
- Remote Detection: Automatically determines whether the PR is cross-repo (origin = fork, upstream = base) or same-repo, and rebases onto the correct target branch.
- Conflict Resolution: Identifies conflicting files during the rebase, resolves them by merging both versions, stages the results, and continues the rebase until completion.
- Lint and Push: Delegates to the dyad:pr-push skill to run lint checks, fix issues, and push the rebased branch.
- Use Case: A maintainer's open PR on a fork has fallen behind the base repository's main branch; run this skill to fetch upstream, rebase, resolve any conflicts, lint, and push the updated branch.
Quick Start
Rebase my current pull request branch onto the latest upstream main, resolve any conflicts, and push the result.