Use when creating an approachable, self-contained HTML review aid for a pull request; explaining what changed, why it matters, how it works, and how it fits into the broader system; turning PR diffs, commits, tests, and architecture context into a local `.pr-review/` HTML page for reviewers; or helping reviewers understand complex code changes without dumping the full diff.
75
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Create a local, self-contained HTML page that teaches a reviewer the PR story: what changed, why it matters, how it works, how it fits into the system, and how it was verified.
Understand the PR before writing HTML
git status --short.git log --oneline -n 10.git diff <base>...HEAD --stat and git diff <base>...HEAD.git show --stat <commit> and git show <commit>.Find the explanation path
Write for approachability
Create a local self-contained HTML file
.pr-review/..pr-review/ by default..git/info/exclude so generated review pages stay out of commits.Use this structure unless the PR clearly needs a different teaching order:
Hero
Problem
System Context
Before/After Flow
Code Walkthrough
Tests / Verification
Reviewer Takeaway
Add diagrams when they reduce cognitive load. Prefer simple HTML/CSS diagrams over external dependencies.
Good diagram types:
Each diagram must answer: “What does this help the reviewer understand faster?”
Show snippets along the explanation path, not giant patches. Each important snippet should include:
Use this pattern:
<div class="diff">
<div class="diff-title">packages/example/src/file.ts</div>
<pre>
<span class="del">- old behavior</span>
<span class="add">+ new behavior</span>
</pre>
</div>A reviewer should understand the PR without opening GitHub, but the page should not replace the final full diff review.
End with proof. Include exact commands when available, for example:
pnpm --filter @scope/package test path/to/test.ts -- --run
pnpm turbo build --filter ./packages/packageIf verification was not run, say so clearly and list the recommended commands.
Before calling the page done, confirm it has:
.pr-review/,When asked to create a PR explainer, produce or update a .pr-review/*.html file and summarize:
.pr-review/ remains untracked or excluded.3b78ed9
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.