wise-pr-add-reviewerslisted
Install: claude install-skill e1024kb/wise-claude
# /wise-pr-add-reviewers — attach reviewers to the current branch's PR
## Why this skill exists
Most PRs end up requesting Copilot code review plus 0–N individuals
picked from CODEOWNERS or the org. This skill is the narrowed
surface — just the reviewer attach step, on a PR that already exists
(`/wise-pr-create` makes the PR; `/wise-pr-watch` drives CI).
Single source of truth for the reviewer logic:
`plugins/wise/references/pr/ensure-reviewers.md`. This skill reads it
at run time and follows it.
## Invocation
```
/wise-pr-add-reviewers
/wise:wise-pr-add-reviewers # 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` / `git`
is missing or `gh` is unauthenticated, the first command below
fails with a clean error (`command not found`, or `gh: auth status:
not logged in`) and Claude surfaces that to the user with a
pointer at `/wise-init`.
### 1. Verify a PR exists for this branch
```bash
BRANCH="$(git rev-parse --abbrev-ref HEAD)"
PR_JSON="$(gh pr view --json number,url 2>/dev/null)"
```
If `PR_JSON` is empty (gh returned non-zero — no PR for this
branch), STOP with:
```
No open PR found for branch <BRANCH>.
Create one first:
/wise-pr-create
```
Do NOT attempt to create a PR here — that's `/wise-pr-create`'s
responsibility. This skill operates only on existing PRs.
Otherwise parse the JSON:
- `pr_number = .number`
- `pr_ur