wise-pr-createlisted
Install: claude install-skill e1024kb/wise-claude
# /wise-pr-create — create or refresh a PR for the current branch
## Why this skill exists
Opening a PR is mostly mechanical: pick a base, draft a
body, run `gh pr create`. This skill is the narrowed surface for
exactly that: it runs the **draft-body** and **ensure-pr** steps
and stops, leaving reviewers (`/wise-pr-add-reviewers`) and the
CI/review watch loop (`/wise-pr-watch`) to their own commands.
Single source of truth for the drafting + creation logic:
`plugins/wise/references/pr/draft-body.md` and
`plugins/wise/references/pr/ensure-pr.md`. This skill reads both at
run time via the `Read` tool and follows them — and so do the `-auto`
PR skills and the `ticket-auto` workflow, so behaviour stays in sync
by construction. If that prose ever changes, this skill's behaviour
changes too — no duplication.
## Invocation
```
/wise-pr-create
/wise:wise-pr-create # canonical namespaced form
```
No positionals, no flags. Anything the user types beyond the skill
name is ignored.
## Procedure
This skill does NOT probe dependencies up-front. If `gh` or `git`
isn't installed, the first command below fails with a clean
`command not found` and Claude surfaces that to the user
conversationally with a pointer at `/wise-init` — same UX as
running any other command against an incomplete environment.
Skipping the pre-flight makes the skill faster on the hot path
and removes a coupling between wise-pr-* and the workflow engine's
registry.
### 1. Detect PR state
```bash
BRANCH=