pr-review-html

Installation
SKILL.md

PR Review HTML

Fetch a GitHub PR, review it through multiple specialized agents, and produce a self-contained HTML review at pr-review.html in the repo root so the user can read it in a browser before merging.

Phase 1: Fetch the PR

Resolve which PR to review, in this order:

  • An explicit number, URL, or branch name from the user
  • Otherwise the PR for the current branch via gh pr view --json number

Pull what you need to review:

  • gh pr view <pr> --json number,title,author,baseRefName,headRefName,body,url,state,commits,files
  • gh pr diff <pr> for the unified diff

If the user isn't on the PR branch, run gh pr checkout <pr> so any fixes land on the right local branch. If the working tree is dirty, stop and ask before checking out — silently switching branches risks losing work.

Keep the PR body, author, createdAt, and url from the gh pr view JSON — these flow into Phase 7's pr_description section so the reader can see the author's framing verbatim.

Show the user which PR you're about to review (number, title, author, head → base, commit count) before doing the heavier work — it's a cheap sanity check that catches a wrong PR number early.

Installs
1
GitHub Stars
19
First Seen
11 days ago
pr-review-html — arjenschwarz/agentic-coding