pr-review-comments — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited pr-review-comments (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Publish a JSON array of review findings as inline comments on a GitHub Pull Request, each anchored to its file and line. Uses the GitHub API through the authenticated gh CLI, so no token handling is needed.
gh CLI installed and authenticated (gh auth status). The script auto-detects therepo with gh repo view; pass --repo OWNER/REPO to override.
file, line.Message comes from summary and/or failure_scenario (combined into the body), or an explicit body. See references/json-schema.md for the full schema and a sample.
GitHub only accepts an inline comment if the target line is part of the PR's diff. line is the line number in the new file (use side: "LEFT" for removed lines). The script fetches the PR diff, validates every finding against the actual hunks, and skips any whose line is outside the diff — reporting them at the end so nothing is lost silently. There is no way to attach a line comment to an unchanged, undiffed line.
gh repo view. scripts/post_pr_comments.py --pr <N> --json <path> --dry-runthe diff moved, the line numbers in the JSON may be stale — reconcile before posting.
# Grouped (default): one PR review bundling all comments
scripts/post_pr_comments.py --pr <N> --json <path> --event COMMENT
# Individual: one separate inline comment per finding
scripts/post_pr_comments.py --pr <N> --json <path> --mode individual| Mode | Endpoint | Use when | ||
|---|---|---|---|---|
grouped (default) | POST /pulls/{n}/reviews | Publishing a set of findings as one review. One notification; can set `--event APPROVE \ | REQUEST_CHANGES \ | COMMENT`. |
individual | POST /pulls/{n}/comments | Adding standalone comments incrementally, or when each finding should be its own thread/notification. |
Default to grouped with --event COMMENT unless the user wants a verdict or separate threads.
--pr N PR number (required)
--json PATH JSON array of findings (required)
--repo OWNER/REPO Override auto-detected repo
--mode grouped|individual Default: grouped
--event COMMENT|APPROVE|REQUEST_CHANGES Grouped-mode verdict (default COMMENT)
--review-body TEXT Top-level summary body for the grouped review
--commit SHA Commit to anchor to (default: PR head SHA)
--dry-run Validate and print payloads without postingstart_line (and optional start_side) in the JSONobject alongside line; the script passes them through.
--dry-run before a real post on an unfamiliar PR — stale line numbers are themost common failure and the dry-run surfaces them as "skipped" without side effects.
gh api calls for this — it handlesdiff validation, repo/commit detection, and body assembly consistently.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.