Skip to content
Back to skills

Pr Review

ASecurity

Use on `/pr-review` to post the @claude comment that triggers the GitHub Actions review of the current PR. Unlike built-in `/code-review --comment`, it reviews nothing itself.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
ai-agentsgocode-reviewgit

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add bravros/bravros --skill pr-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pr Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pr Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bravros-pr-review/badge)](https://www.skillsdirectory.com/skills/bravros-pr-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pr-review
core: true
description: Use on `/pr-review` to post the @claude comment that triggers the GitHub Actions review of the current PR. Unlike built-in `/code-review --comment`, it reviews nothing itself.
---

# pr-review

Read [briefing.md](references/briefing.md) on demand for detailed context and instructions.

INTENT: post ONE verbatim `@claude` comment; the GitHub Action reviews asynchronously (~2–5 min)
and posts back to the PR. This skill never reviews, never polls, never merges.

## Core Steps

1. **Determine PR Number**: Use `$ARGUMENTS` if numeric, else `gh pr view --json number -q .number`. If none, STOP ("create one with /pr first").
2. **Branch Sync**: If behind base branch, rebase and `git push --force-with-lease` first — **but never rebase or force-push when the PR head branch is `main`, `master`, the staging branch (`bravros config get staging_branch`), or listed in `permanent_branches`**; skip the sync and note it. Feature branches keep `--force-with-lease`. Handle conflicts according to mode (ask in interactive / note & proceed in autonomous).
3. **Post Comment**: Copy the canonical body from [briefing.md](references/briefing.md) § *The comment* **byte-for-byte** and send it inline with the literal PR number. Never compose your own ("@claude please review this PR. Focus areas…" is blocked: wrong opening sentence, no closing block). Focus areas are allowed only as extra lines *between* the opening sentence and the `Required:` block. Send verbatim `@claude` comment with visible sentinel verdict lines (`BRAVROS-VERDICT: approved` / `BRAVROS-VERDICT: changes-requested`).
   - **NEVER write a bare `#N` for a review-finding number.** GitHub autolinks `#N` in every
     issue/PR body — it cannot be disabled, and it also writes a cross-reference event onto that
     issue's timeline, so referring to "finding #3" silently spams an unrelated old issue and
     renders as its title mid-sentence. Write `finding 3`, or wrap it in backticks. Reserve bare
     `#N` for a genuine issue/PR you mean to link. Same rule applies to the PR body.
   - `bravros police` enforces this comment at tool-call time: the body must start with the exact
     canonical opening and end with the exact `Required:` block (extra instructions may go in
     between); `--body-file`/`-F` is refused outright. A blocked attempt gets the canonical
     template back in the block message — retry with that verbatim.
4. **Verdict & Stamp Rules**:
   - `BRAVROS-VERDICT:` is authoritative. Prose is report-only.
   - `bravros pr-review "$PR" --write-stamp` is the single source of truth for writing `.planning/.review-stamp-<PR>.json`.
5. **After Posting**:
   - Autonomous: Print `STATUS: review-triggered. NEXT: wait for stamp`.
   - Interactive: Advise user to run `/address-pr` when complete.

Files in this skill

  • SKILL.md2.1 KB
  • references/briefing.md3.6 KB
  • skill.yaml1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.