Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Morrison-Lab/ai-config --skill request-pr-review명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | request-pr-review |
| description | Request human review on PR. |
| user-invocable | true |
| allowed-tools | ["Bash(gh api *)","Bash(gh pr *)"] |
After AI review produces a clean verdict or upon a review deadlock, request a human reviewer.
copilot-review-before-human.md.EDIT_PR (abstract operation token; resolve to your model's tool via
tool-mappings.md):
gh api -X POST repos/<owner>/<repo>/pulls/<num>/requested_reviewers \
-f "reviewers[]=<reviewer>"
You can get <owner>/<repo> from gh repo view --json nameWithOwner -q .nameWithOwner
and <num> from the PR URL returned by gh pr create.
<reviewer> is the repository's configured human reviewer or CODEOWNERS entry for the repository.
PR author is the requested reviewer. GitHub returns HTTP 422 with
"Review cannot be requested from pull request author". Surface this
explicitly to the user — don't silently swallow the error.
Prefer this REST POST over gh pr edit --add-reviewer.
The CLI form exits 0 with no error when the reviewer is the PR author and
attaches nobody, so the 422 above is invisible on that path
(measured on Morrison-Lab/wai#93, 2026-08-22).
When the target <reviewer> is the author (<reviewer> matches .author.login),
skip the request entirely --- human review cannot be requested from the author.
Report that the PR awaits that person's own review.
Other reviewers already requested. The endpoint adds to the existing list rather than replacing it, so this is safe to run alongside pre-configured CODEOWNERS or workflow-added reviewers.
Applies by default to all GitHub repos. If the user tells you a specific repo shouldn't auto-request human review, honor that override per-repo via a project-level memory.
Lacaedemon/spartaNever request a human reviewer on a PR in sparta.
The exception is repo-scoped, not rule-wide. Requesting a human reviewer on other repos applies after AI review passes or on deadlock. Within sparta the exception covers every path that would reach a request: the post-AI-review request above, and the deadlock escalation below.
A skill inherits this exception only where it actually routes through here.
st does, citing this skill by name and nothing else.
ard, ardi, and merge-it carried the command guard inline.
The general rule is that a raw command inherits nothing; only a reference to this skill does. So when adding a repo exception here, grep for the raw command as well as for this skill's name:
git grep -nE 'add-reviewer|requested_reviewers' -- skills/
Both literal forms are matched: the gh pr edit <N> --add-reviewer <reviewer> command, and the workflow gh api ... requested_reviewers -f "reviewers[]=<reviewer>" form.
Then judge each hit rather than editing all of them.
A review deadlock on a sparta PR escalates to the user in chat, not to a
review request.
Escalation is re-routed, not retired: its purpose was always that a human
decides, and that is unchanged.
Post a boxed BLOCKER (per CLAUDE.md's chat-output-tagging convention)
naming the PR, the single disputed item, and both sides of the exchange, then
stop iterating that item and wait for the user's call.
BLOCKER.gh pr edit --add-reviewer, or POST to requested_reviewers, against a sparta PR.