git-open-prlisted
Install: claude install-skill ainova-systems/intelligence-dev-packs
# Open a PR
Turn a pushed feature branch into a reviewable PR. Idempotent: if a PR already exists for the branch, report it and stop - never open a second.
## Steps
1. `git branch --show-current` - on a protected branch (default/integration), STOP; a PR is opened FROM a feature branch.
2. Confirm the branch is pushed and current: `git rev-parse HEAD` equals `git rev-parse @{u}` - unpushed work goes through `git-commit-push` first.
3. Existing-PR check: `gh pr list --head <branch> --state open --json number,url --jq '.[0]'`. Non-empty - report the URL and STOP (nothing to open).
4. Resolve the target from profile `pr_target` (default `auto` - the integration branch when one exists, else the default branch).
5. Title: an explicit argument wins; else the latest commit subject (`git log -1 --pretty=%s`). Honor profile `artifact_language` for title and body when set (e.g. write them in English even when the working language differs).
6. Body: if the repo has a PR template (`.github/PULL_REQUEST_TEMPLATE.md` or `.github/pull_request_template.md`), fill ITS sections honestly - real content per section, "None" where one genuinely does not apply; never leave the template's hint comments. No template - a concise default: what & why, the changes, and how to verify (the concrete steps or call a reviewer runs, plus the gates already run). When profile `pr_risk_size: on`, prepend the deterministic Risk/Size line (below).
7. Open it: `gh pr create --base <target> --title <title> --body-f