pr-comment
Installation
SKILL.md
PR Comment
Post gate / gate-wf findings on a PR you're reviewing as standalone inline comments — one independent comment per finding, placed at its file:line. Each is drafted through humanizer and posted only after one confirmation. There is no review wrapper and no summary comment. Out-of-diff findings (can't be inline) go to the PR conversation. This skill never approves or requests changes — that stays a manual call.
Prerequisites
Findings come from a prior gate / gate-wf run, in priority order:
- The findings already in this conversation (the gate verdict you just saw), or
- The state file for the current branch — whichever skill ran:
~/.claude/gate-state/<repo-slug>/<branch>.json(gate) or~/.claude/gate-wf-state/<repo-slug>/<branch>.json(gate-wf) →.findings[].
Both produce the same shape: id (B1/M1/N1), tier (BLOCKER/MAJOR/NIT), file, line, location (diff-line | adjacent), message, suggested_fix.
Also resolve the PR and its head commit:
gh pr view <n> --json number,headRefOid,headRepositoryOwner,headRepository— owner/repo +headRefOid(thecommit_idevery inline comment needs).
Drafting goes through the humanizer skill — that dependency is mandatory, not optional.