Create a GitHub Pull Request for the current branch. Use when the user asks to open a PR, create a pull request, or mentions '/create-pr'.
Create a GitHub PR using the gh CLI tool.
# Ensure we are NOT on develop
git branch --show-current
# Ensure everything is committed
git status --porcelain
If there are uncommitted changes, warn the user and ask whether to commit first (use git-commit skill).
git push -u origin HEAD
# Identify the base branch
git log --oneline develop..HEAD
# See the full diff
git diff develop...HEAD --stat
gh pr create --base develop --title "<type>[scope]: <description>" --body "$(cat <<'EOF'
## Summary
<1-3 bullet points summarizing the changes>
## Test plan
- [ ] Tests pass (`ng test --watch=false`)
- [ ] Lint clean (`ng lint`)
- [ ] Build succeeds (`ng build --configuration=production`)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
develop (default). Override with --base <branch> if needed.Display the PR URL to the user when done.
develop to develop.gh is not installed, inform the user and provide the manual URL.