pr-review
Skill9 starsChanged 24 days agoMITView on GitHub
Reviews open PRs on sunitghub/canon-skills — fetches diffs, presents findings, updates PRs/canon-skills-pr-review.md, creates tickets for Fix=Y PRs, and posts approved comments. Use when the user asks to review canon-skills PRs or check what's open on canon-skills.
195 other projects use a version of this.
Adopted by
Most recently taken up by
- static-web-server/static-web-servertheir own version, first seen Nov 9, 2026
- zerx-lab/FluxDowntheir own version, first seen Nov 9, 2026
- civitai/civitaitheir own version, first seen Nov 9, 2026
- harshitsinghbhandari/domain-expansiontheir own version, first seen Nov 8, 2026
- Azure/azure-sdk-toolstheir own version, first seen Nov 8, 2026
- databricks/clitheir own version, first seen Nov 8, 2026
Used with
Projects with it also use oss-pr, pr-automation 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.
CES-LtdSkilloss-pr
Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.
Also in 3 projects that use this
CES-LtdSkillpr-automation
PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".
Also in 3 projects that use this
jtenniswoodSkillexpert-reset
Reimagine this repository from first principles using the current product and user experience as the target. Use when the user says "/expert-reset", asks how the project should be rebuilt if starting again, wants bold architecture or component-structure recommendations, or wants a research-only reset plan unconstrained by current implementation details.
Also in 3 projects that use this
jtenniswoodSkillupdates
Summarize user-facing project updates from the last 7 days, ordered by importance and written as one-sentence "Feature: description" entries. Use when the user says "/updates", asks what changed recently, or wants a concise list of recent features, device support, fixes that users will notice, or other product value.
Also in 3 projects that use this
openchamberSkillclack-cli-patterns
Use when creating or modifying OpenChamber CLI commands, prompts, terminal output, non-TTY behavior, `--quiet`, or `--json` behavior.
Also in 3 projects that use this
openchamberSkilldrag-to-reorder
Use when implementing or modifying OpenChamber sortable or drag-to-reorder behavior, especially `@dnd-kit`, touch/mobile interactions, variable-width items, or wrapping layouts.
Also in 3 projects that use this
- +6 more from openchamber
Other versions195 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 195
- Significant-Gravitas/AutoGPT★ 188ksame name
- pytorch/pytorch★ 105ksame name
- rtk-ai/rtk★ 86ksame name
- saadeghi/daisyui★ 43ksame name
- rustfs/rustfs★ 36ksame name
- dotnet/maui★ 23ksame name
- NVIDIA/Megatron-LM★ 18ksame name
- MiniMax-AI/skills★ 14ksame name
- btriapitsyn/openchamber★ 13ksame name
- openchamber/openchamber★ 13ksame name
185 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 repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ai-auditSkill
- bulk-readSkill
- canon-slidesSkill
- captureSkill
- context-checkSkill
- context-doctorSkill
- dead-code-cleanupSkill
- doc-auditSkill
- learnings-sweepSkill
- mikadoSkill
- mutation-testSkill
- output-validatorSkill
- promote-learningsSkill
- repo-auditSkill
- repo-workflow-auditSkill
- sdlc-auditSkill
- skill-evalSkill
- skill-exportSkill
- sprintSkill
- wrapupSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 178 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
If no open PRs: report "No open PRs on sunitghub/canon-skills." and stop.
- Very specific: line 34
Read PRs/canon-skills-pr-review.md.
- Distinctive: line 70
Wait for the user to confirm Y/N per PR.
- Very specific: line 81
Existing entry (PR number already in table): update the row in place — replace Findings, Verdict, and Reviewed with the current …
- Very specific: line 147
If state is no longer OPEN or isDraft is now true, skip posting that comment and note it in chat instead.
- Distinctive: line 158
Never post a comment without explicit user approval.
- Distinctive: line 159
Never create a ticket without a Fix=Y decision from the user.
- Distinctive: line 160
Do not duplicate rows in the review file — match by PR number.
“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
PR Review
Reviews open PRs on sunitghub/canon-skills. Human decides Fix Y/N — skill handles mechanics.
Steps
1. Fetch open PRs
gh pr list --repo sunitghub/canon-skills --state open \
--json number,title,body,url,createdAtIf no open PRs: report "No open PRs on sunitghub/canon-skills." and stop.
2. Read each diff
For each open PR:
gh pr diff <number> --repo sunitghub/canon-skills3. Read current review file
Read PRs/canon-skills-pr-review.md. Extract the PR numbers already in the table (first column) — these are existing entries to update in place, not duplicate.
4. Analyse and present
For each finding you'd otherwise raise, score it 0-100 before including it:
- 0 — false positive: doesn't hold up, or a pre-existing issue not introduced by this PR.
- 25 — unverified or a stylistic nit not called out by any convention in this repo.
- 50 — verified real, but a minor nitpick, low-impact in practice.
- 75 — verified real and important: will affect functionality, correctness, or maintainability in practice.
- 100 — certain and will be hit frequently in practice.
Drop anything scoring below 80 — do not include it in the findings block below. Check each candidate finding against this false-positive list before scoring:
- Pre-existing issue, not introduced by this PR
- Looks like a bug but isn't
- Pedantic nitpick a senior engineer wouldn't raise
- Something a linter, typechecker, or compiler would already catch
- Silenced via an explicit lint-ignore comment
- On a line the PR didn't modify
For each PR, produce a one-block summary from the findings that survive the filter:
PR #<n> — <title>
Area: <one of: Tooling / DX / Sprint / MCP / Docs / Meta>
Findings: <2–4 sentences: what it does, what's good, what's risky or wrong>
Recommend: Fix Y / Fix N — <one-line reason>Present all PRs, then ask:
"Fix Y/N for each? I'll wait for your call before updating the review file or creating tickets."
5. Receive decisions
Wait for the user to confirm Y/N per PR. Accept any clear format ("Y on #2, N on #3", "#2 yes", etc.). Do not proceed until all open PRs have a decision.
6. Update PRs/canon-skills-pr-review.md
Table columns (preserve existing order):
| PR | Title | Area | Findings | Verdict | Opened | Reviewed |
Date format:
Opened: PRcreatedAtconverted to Central time and formatted asMM/DD/YYYY.Reviewed: date this review pass updated the row, formatted asMM/DD/YYYY.- Existing entry (PR number already in table): update the row in place — replace Findings, Verdict, and Reviewed with the current analysis/date. Preserve Opened unless it is missing or in an older format; normalize old Opened values to
MM/DD/YYYY. Do not add a new row. - New entry: insert a new row at the top of the table (below the header), above existing rows. Set Verdict to
Merge(Fix=Y) orNo(Fix=N), Opened fromcreatedAt, and Reviewed to today's review date. - Escape any
|inside cell text as\|.
7. Create tickets for Fix=Y PRs
For each PR where the user confirmed Fix=Y, run:
tkt create "implement: <short title referencing PR #n>"Then open the created ticket's ticket.md and append to the description body:
Source: <PR URL>
Area: <area>
Findings: <findings summary>Report the ticket ID created for each PR.
8. Draft and post comments
For each PR (Y or N), draft a comment summarising the outcome. Cite each specific finding with a full-SHA blob link, not just prose — this lets the PR author jump straight to the flagged code:
https://github.com/sunitghub/canon-skills/blob/<full-sha>/<path>#L<start>-L<end>Fetch the full head SHA for the link (do not use git rev-parse or any local shell substitution — the link must render as literal markdown, and this flow never checks out the PR branch):
gh pr view <number> --repo sunitghub/canon-skills --json headRefOid -q .headRefOidInclude at least 1 line of context before and after the flagged line in the range (e.g. a finding on line 12 links #L11-L13).
Fix=Y template:
Thanks for the PR. After review:
**Area:** <area>
**Findings:** <findings, with a blob link per cited issue>
**Verdict:** Merging — filed as <ticket-id> to track implementation.Fix=N template:
Thanks for the PR. After review:
**Area:** <area>
**Findings:** <findings, with a blob link per cited issue>
**Verdict:** Not merging as-is — <one sentence on why / what would change the verdict>.Show all drafts and ask:
"Post these comments? (yes / edit first / skip)"
On yes: immediately before posting each comment, re-check the PR is still eligible — it may have been closed, merged, or converted to draft since step 1:
gh pr view <number> --repo sunitghub/canon-skills --json state,isDraftIf state is no longer OPEN or isDraft is now true, skip posting that comment and note it in chat instead. Otherwise post via:
gh pr comment <number> --repo sunitghub/canon-skills --body "<draft>"On edit first: show the draft for the specific PR, accept the edit, reconfirm, then post (with the same eligibility re-check).
On skip: do not post. Note it in chat.
Constraints
- Never post a comment without explicit user approval.
- Never create a ticket without a Fix=Y decision from the user.
- Do not duplicate rows in the review file — match by PR number.
- Scope analysis to the PR diff only. Do not re-read the full canon codebase unless a specific file is directly relevant to a finding.
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.

