Create a GitHub pull request from the current branch with a summary and test plan
Create a pull request from the current branch.
git status to check for uncommitted changes — if any exist, stage and commit them to the current branch before proceedingmain or master, warn the user that direct commits to master are not allowed. If there are commits ahead of origin/master, create a new branch with a descriptive name based on the committed changes (e.g., feat/add-login-page), switch to it, and reset master back to origin/master. If there are no commits ahead, stop.git log master..HEAD --oneline to see all commits on this branchgit diff master...HEAD --stat to see changed filesgit rev-parse --abbrev-ref @{upstream} — if not, push with git push -u origin HEADgh pr create --title "<title>" --body "$(cat <<'EOF'
## Summary
<1-3 bullet points summarizing changes>
## Test plan
<checklist of testing steps>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"