raise-pr
Installation
SKILL.md
Create a PR
Step 1: Branch
git fetch upstream
git branch --show-current
git log --oneline upstream/main..HEAD
git diff upstream/main --stat
gh pr list --head "$(git branch --show-current)" --state open
Present the summary and ask before proceeding:
"You are currently on branch
<branch>. It has<N>commit(s) ahead ofupstream/maintouching:<files>. [If an open PR exists]: This branch already has an open PR:<url>. Pushing here would add commits to that existing PR. Should I create a new branch fromupstream/main(recommended), or use the current branch?"
Do not continue until the user answers.
Related skills