prlisted
Install: claude install-skill ada-ggf25/AI-Tools
# GitHub Pull Request — creation skill
Creates (or updates) a GitHub PR from the current branch using `gh pr create`.
Reads the full commit range, generates a structured body, and always shows the
complete proposal for user approval before touching GitHub. Never creates a PR silently.
## Accepted flags (parsed from the user's invocation text)
| Flag | Effect |
|---|---|
| `--draft` | Open as a draft PR instead of ready for review |
| `--base <branch>` | Override the target base branch (default: repo default branch) |
| `--reviewer @handle` | Assign one or more reviewers (repeat for multiple) |
| `--label <name>` | Add a label in addition to any auto-inferred ones |
| `--closes <N>` | Append `Closes #N` to the PR body |
| `--refs <N>` | Append `Refs #N` to the PR body |
| `--web` | Open the PR in the browser after creation |
| `--british` | British English spelling in title and body (default: American English) |
If the user provides a free-text hint (e.g. `$pr fix the auth regression`), use it as
a strong signal for the title and Summary — do not ignore it.
## Procedure
### 1. Parse flags and hint
Extract all flags above and any free-text hint from the user's invocation.
### 2. Gather context (run in parallel)
- `git rev-parse --abbrev-ref HEAD` — current branch name.
- `gh repo view --json defaultBranchRef -q .defaultBranchRef.name` — repo default branch.
- `git log <base>...HEAD --oneline` — all commits included in this PR.
- `git diff <base>...HEAD --stat` — files an