pr-github-ops

Installation
SKILL.md

PR GitHub operations

Superagent PR scans run in a sandbox with an authenticated gh CLI. You own GitHub side effects after handoff: inline finding comments, managed labels, and check-run completion.

Read pr-scan-context.json first. It contains owner, repo, prNumber, headSha, checkRunId, reviewedFindingPaths, and dismissedFingerprints.

Critical rule: inline comments, not thread comments

gh pr comment creates issue comments on the PR conversation thread. That is wrong for actionable findings.

For each finding with a changed file and diff line, post a pull request review comment anchored to that line in the Files changed view.

Goal Wrong Right
Comment on a finding at a diff line gh pr comment gh api review comment or review with comments[]
Summary-only note with no line anchor gh pr comment is acceptable optional

If you already posted findings with gh pr comment, delete those issue comments and repost inline before finishing the scan.

Installs
19
GitHub Stars
68
First Seen
14 days ago
pr-github-ops — superagent-ai/skills