Documentation
README
pr-explainer β teach the PR in one HTML page
Output: one self-contained HTML file in .pr-review/ (gitignored) that a
reviewer can open locally and understand the PR without GitHub. It supplements
the real diff review; it never replaces it.
Announce at start: "Using the pr-explainer skill β building the review page for {branch}."
Step 1: Gather the facts (before writing any HTML)
BASE=$(git merge-base origin/main HEAD)
git status --short # current state
git log --oneline $BASE..HEAD # the commits
git diff $BASE...HEAD --stat # scope + the metrics numbers
git diff $BASE...HEAD # read the whole diff
gh pr view --json number,title,url 2>/dev/null # if a PR exists
This is the opening of the README. Read the full README on GitHub.