create-pr
Installation
SKILL.md
Create PR
Create a GitHub PR from the current branch: handle uncommitted changes, generate a summary, and submit.
Step 1: Rebase Reminder
Before doing anything else, remind the user to rebase onto main if they haven't already. Ask if they'd like to proceed or rebase first.
Step 2: Check for Uncommitted Changes
Run git status to check for staged, unstaged, or untracked changes.
- If there are uncommitted changes, show the user what's outstanding and ask if they'd like to commit them before creating the PR.
- If the user says yes, stage the relevant files, draft a concise commit message based on the changes, and commit.
- If there are no uncommitted changes, move on.
Step 3: Gather Branch Context
Run these commands in parallel to understand the branch: