/pr-review-copilot:review-historyfrom pr-review-copilot
Logs findings from each review into the project's .claude/pr-review-history.local.json and checks new findings against past ones, so a pattern that keeps recurring for a repo or author gets flagged as a recurring issue (worth a lint rule or a team convention) rather than treated as a fresh one-off every time. Use this skill after review-diff produces findings, or when the user asks "has this come up before," "is this a recurring issue," or wants a summary of recurring findings for a repo or author.
Ships in pr-review-copilot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
.claude/pr-review-history.local.json in the project being reviewed is a
lightweight, append-only log. Resolve it against the repo root
(git rev-parse --show-toplevel), or the working directory outside a git
repo. It lives in the project rather than this plugin's directory because
plugin updates install each version into a fresh directory, so anything
saved inside the plugin is lost on the next release.
It is not a replacement for the actual review documents -- it exists only to detect recurrence. It is personal to the reviewer and names PR authors, so it stays out of git.
For each finding in the generated review, append an entry:
{
"date": "2026-09-15",
"repo": "acme/api",
"author": "octocat",
"file": "routes/export.py",
"category": "Security",
"pattern": "missing-ownership-check",
"severity": "Blocking"
}
pattern should be a short, stable slug you choose to represent the kind of
issue (e.g. missing-ownership-check, n-plus-one-query,
unclear-naming) -- consistent enough that the same underlying issue gets
the same slug across reviews, so recurrence is detectable.
If .claude/pr-review-history.local.json doesn't exist yet, create it (and
.claude/ if needed) as an empty JSON array before appending. Inside a git
repo, then run git check-ignore -q .claude/pr-review-history.local.json
from the repo root; if it exits 1, git is not ignoring the file, so tell the
user it names PR authors and suggest adding .claude/*.local.json to
.gitignore.
Before finalizing a finding, check whether the same pattern has appeared
for this repo (or author, if repo isn't a strong enough signal) in the
last ~90 days of history. If so:
When asked for a recurrence summary (e.g. "what keeps coming up in acme/api"),
group .claude/pr-review-history.local.json entries by pattern, count
occurrences, and present the most frequent ones first. This is meant to
surface candidates for lint rules, conventions, or team discussion -- not to
single out an author.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub meaganewaller/marketplace --plugin pr-review-copilot3 skills in this plugin
/review-diffGenerates a structured PR review document from a diff or PR link: a short statement of what the PR does and whether the implementation matches its stated intent, a findings table (severity, category, file:line), and for each finding a reasoning explanation, a draft comment the reviewer will reword before posting, and a suggested diff when there's an unambiguous fix. Use this skill whenever the user asks to review a PR, review a diff, do a code review, check a pull request before merging, or pastes a diff and asks what's wrong with it. Also trigger on "--focus security", "--focus performance" etc. to narrow the scan to one category.
/team-conventionsReads and edits the team's style/convention rules stored in the project's .claude/pr-review-conventions.md, so code reviews stop re-flagging debates the team has already settled (e.g. "we allow `any` in test files"). Use this skill when the user asks to view, add, remove, or update a review convention, runs "/pr-review-copilot:team-conventions", says something like "stop flagging X" or "we decided Y is fine," or when review-diff needs to check whether a potential finding is already covered by an existing rule.