dyad:pr-rebase
PR Rebase
Rebase the current branch on the latest upstream changes, resolve conflicts, and push.
Instructions
-
Determine the git remote setup:
git remote -v git branch -vvIn GitHub Actions for cross-repo PRs:
originpoints to the head repo (fork) - this is where you pushupstreampoints to the base repo - this is what you rebase onto
For same-repo PRs,
originpoints to the main repo and there may be noupstream. -
Fetch the latest changes:
git fetch --all -
Rebase onto the base branch:
Use
upstream/mainif theupstreamremote exists (cross-repo PR), otherwise useorigin/main:# Check if upstream remote exists git remote get-url upstream 2>/dev/null && git rebase upstream/main || git rebase origin/main -
If there are merge conflicts:
-
Identify the conflicting files from the rebase output
-
Read each conflicting file and understand both versions of the changes
-
Resolve the conflicts by editing the files to combine changes appropriately
-
Stage the resolved files:
git add <resolved-file> -
Continue the rebase:
git rebase --continue -
Repeat until all conflicts are resolved and the rebase completes
-
-
Run lint and push:
Run the
/dyad:pr-pushskill to run lint checks, fix any issues, and push the rebased branch. -
Summarize the results:
- Report that the rebase was successful
- List any conflicts that were resolved
- Note any lint fixes that were applied
- Confirm the branch has been pushed
More from dyad-sh/dyad
dyad:multi-pr-review
Multi-agent code review system that spawns three independent Claude sub-agents to review PR diffs. Each agent receives files in different randomized order to reduce ordering bias. One agent focuses specifically on code health and maintainability. Issues are validated using reasoned analysis rather than simple vote counting. Reports merge verdict (YES / NOT SURE / NO). Automatically deduplicates against existing PR comments. Always posts a summary (even if no new issues), with low priority issues in a collapsible section.
30remember-learnings
Review the current session for errors, issues, snags, and hard-won knowledge, then update the rules/ files (or AGENTS.md if no suitable rule file exists) with actionable learnings.
30dyad:plan-to-issue
Create a plan collaboratively with the user, then convert the approved plan into a GitHub issue.
26dyad:feedback-to-issues
Turn customer feedback (usually an email) into discrete GitHub issues. Checks for duplicates, proposes new issues for approval, creates them, and drafts a reply email.
25dyad:deflake-e2e-recent-commits
Automatically gather flaky E2E tests from recent CI runs on the main branch and from recent PRs by wwwillchen/keppo-bot/dyad-assistant, then deflake them.
25dyad:pr-push
Commit any uncommitted changes, run lint checks, fix any issues, and push the current branch.
25