review-pr
Skill0 starsChanged 13 days agoApache-2.0View on GitHub
Review someone else's pull request along four parallel axes.
185 other projects use a version of this.
Adopted by
Most recently taken up by
- data-privacy-stack/presidiotheir own version, first seen Nov 9, 2026
- pgmpy/pgmpytheir own version, first seen Nov 9, 2026
- enes-alatas/spooltheir own version, first seen Nov 8, 2026
- microsoft/presidiotheir own version, first seen Nov 8, 2026
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
Used with
Projects with it also use diagnose-ci-failures, docs-loop and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
zerx-labSkilldiagnose-ci-failures
Diagnose CI failures for a PR using the GitHub CLI, extract error logs, and generate a plan to fix them. Use when the user asks to check CI status, pull CI issues, triage test failures, or investigate PR build failures.
Also in 3 projects that use this
GeiserXSkilldocs-loop
Use when the user asks to audit docs, check documentation for stale claims, or verify docs against the code.
Also in 3 projects that use this
GeiserXSkillfull-loop
Drive a repository to done with sergio-loop, then keep improving it with refine-loop at a descending theta. Use only when the user explicitly invokes full-loop.
Also in 3 projects that use this
n24q02mSkillreview-delta
Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.
Also in 3 projects that use this
n24q02mSkillbuild-graph
Build or update the code review knowledge graph. Run this first to initialize, or let hooks keep it updated automatically.
Also in 3 projects that use this
- +7 more from GeiserX
Other versions185 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 185
- denoland/deno★ 109ksame name
- ToolJet/ToolJet★ 41ksame name
- remix-run/remix★ 33ksame name
- tirth8205/code-review-graph★ 33ksame name
- alpinejs/alpine★ 32ksame name
- nrwl/nx★ 29ksame name
- PrefectHQ/fastmcp★ 28ksame name
- jlowin/fastmcp★ 28ksame name
- livewire/livewire★ 24ksame name
- microsoft/fluentui★ 20ksame name
175 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- auditSkill
- closeSkill
- doctorSkill
- editorSkill
- execSkill
- knowledgeSkill
- openSkill
- package-mapSkill
- plan-reviewSkill
- planSkill
- preflightSkill
- prSkill
- pr-statusSkill
- pr-syncSkill
- quickfixSkill
- resetSkill
- resumeSkill
- sliceSkill
- syncSkill
- triageSkill
- upstream-rulesSkill
- validateSkill
- worktree-kitSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 178 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 111
do not report what the linter already catches.
- Distinctive: line 117
do not ask for defensive code against impossible states.
- Distinctive: line 118
do not suggest one more abstraction.
“Common” is measured: kept by at least 6 in 10 of the 178 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Outside the issue lifecycle entirely. Nothing here moves a state machine, and nothing here is published.
1. The facts
pdkit review fetch <k> --jsonFetches refs/pull/<k>/head and reads the diff locally, from where the pull
request branched rather than from where upstream is now — against the tip it
would carry every commit that landed since, and the review would ask the author
about work they never did.
What comes back is mechanical and already done: files by layer, whether the
public API is touched, exported symbols that reach extension-api.d.ts,
schemas changed with nothing generated beside them, added files without a
license header, the threads reviewers have already opened, and the linked
issue with its text — read from closingIssuesReferences first, then from
keywords in the body, then from the bare number under upstream's "What issues
does this PR fix or reference?" heading.
Hand that issue to the four axes. Without it, Requirement fit is the diff
agreeing with itself: a table that finds nothing missing because it was built
from the same source it is checking. When references comes back empty the
report says so out loud, and that is a fact about the pull request worth
raising rather than a gap to paper over.
2. Four axes, in parallel
| Agent | Looking for |
pd-review-architecture | does it fit existing patterns; does it duplicate a utility; right layer; dependency direction |
pd-review-api-compat | backwards compatibility, Disposable and leaks, schemas, the public surface |
pd-review-tests | are the claimed edge cases covered; skips, weakened assertions, any, @ts-ignore; determinism |
pd-review-product | does it do what the issue asked; i18n, a11y, contrast; error and empty states; neighboring regressions |
Each axis gets the diff, the facts above, the target files and the linked
issue, but not the threads already on the pull request. Leave out
feedback from what review fetch returned. An axis that has read what
someone else already said ends up agreeing with it, or arguing with it. Either
way the review stops being a second opinion. The threads are not wasted: they
go to the synthesis, after the judgment is made.
Each axis reads ${CLAUDE_PLUGIN_ROOT}/knowledge/maintainer-rules.md: its calibration, and the
sections named in its own prompt. That is the rule set upstream's own review
agent applies, so a finding grounded in it is one the maintainer would also
raise. Every finding is one line with a Semantic Code Reviews label:
path/to/file.ts:LINE — issue: <what and why, imperative, one or two sentences> (§<n>)issue:blocks approval.nit:is optional.question:needs an answer in the PR.
(§n) cites the section of maintainer-rules.md. A finding that comes from
our own axis lens and not from those rules (does it solve the issue, does it
regress a neighboring scenario) is marked (outside the rule set). That
marker is a label, not a downgrade. A finding is reported only after it has
been checked in the actual code. If it could not be checked, it becomes a
question:.
Then pd-review-synth merges them. It is given the four reports and
feedback from step 1: dedupe, calibrate, mark what reviewers already raised,
and reach one verdict.
3. The report
pdkit review render <k> --values <file.json> --revealWrites reviews/<k>.md from the template, and opens it in the file manager.
--reveal is on here because the report lands under $PDKIT_HOME, which is
outside the repository and outside whatever window is already open — printing
the path and leaving a copy-paste between finishing a review and reading it is
the wrong last step. Where there is no desktop it says so on one line and the
render still succeeds; drop the flag if you would rather it stayed quiet. What I could not verify is
mandatory and is never empty by default: the platforms you did not exercise,
the steps that need a human, the behavior you could only read about.
The verdict follows from the findings. It is not a separate judgment. Take the first row that matches, the same order upstream's review agent uses:
| Verdict | When |
REQUEST_CHANGES | at least one issue:, or CI is red, or the diff carries changes the title and body do not describe |
NEEDS_DISCUSSION | no issue:, but a rule requires a check nobody here can do: platform or QE validation, UX approval, a public extension-API change, running the app. Name each one under What I could not verify |
APPROVE_WITH_NITS | only nit: and question: |
APPROVE | nothing to report |
Counts is Blockers N · Nits N · Questions N · Files reviewed N/N. Do not
add a numeric grade.
Discipline
A reviewer told to find problems will find them in correct code, and the second time that happens nobody reads the report. So:
- do not report what the linter already catches. The rules in
maintainer-rules.mdare not style in this sense, even the ones that look like it: the maintainer raises them, so they are reported, asnit:where the calibration says so; - a violation that already existed in a touched file is a
nit:marked pre-existing, never anissue:, unless the PR adds a new occurrence; - do not ask for defensive code against impossible states;
- do not suggest one more abstraction;
- do not mention commit scope. Upstream does not require it — it is our own
discipline, and
pdkit review fetchdeliberately never reports it. Spending an author's attention on a rule their project does not have is how a review loses the standing to raise the ones it does.
An empty section is a valid result. Two blocking findings and three empty sections is a better review than eleven nits.
Publishing
Nobody publishes but you. The report lands in reviews/<k>.md; posting it is a
human action, in your own words and under your own account. The hook refuses the
write in any case — a review comment needs a reply token, and reviewing
someone else's pull request has no issue and no state to issue one from.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

