pr-review-canvas
Skill0 starsChanged 4 months agoMITView on GitHub
Group PR changes by purpose, flag risky sections, and produce a reviewer map so the reader doesn't parse raw diff. Triggered by "review canvas", "map this PR", "help me review this PR", "understand this PR", "what does this PR change", "walk me through this PR", "review this diff", "what should I focus on in this PR", "pr-review-canvas".
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- ElyzeSolutions/skillstheir own version, first seen Aug 6, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- ElyzeSolutions/skills★ 1same name
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 repository21 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- ci-cd-pipelineSkill
- requirements-synthesisSkill
- security-hardeningSkill
- spec-driven-developmentSkill
- workflow-from-chatsSkill
- architecture-decision-recordsSkill
- commit-history-auditSkill
- commit-messageSkill
- deslopSkill
- document-thisSkill
- env-drift-checkSkill
- handoffSkill
- minimal-diff-reviewSkill
- onboardingSkill
- pre-commit-checkSkill
- pr-summarySkill
- release-readinessSkill
- requirements-qaSkill
- sync-docs-after-editSkill
- write-changelogSkill
The file
Files
🗺️ Skill: pr-review-canvas
Purpose
Turn an unstructured diff into a structured review map: what changed, why it matters, where to look first, and what to be careful about. Helps reviewers focus attention rather than read everything.
Note: Cursor's own official cursor-team-kit plugin ships a skill with this same name. This version outputs a plain-text/markdown reviewer map printed to chat (optionally saved as PR_CANVAS.md) rather than an interactive HTML walkthrough — no rendering step, works the same in any client that can display markdown.
Trigger phrases
- "review canvas"
- "map this PR"
- "pr-review-canvas"
- "give me a PR overview"
- "structure this PR for review"
Steps
1. Fetch the diff
# If PR number is known:
gh pr diff <number>
# If on the branch:
git diff main...HEAD --stat
git diff main...HEADAlso fetch the PR description:
gh pr view <number>2. Categorize every changed file
Assign each file to one category:
| Category | What it means |
| Feature | New user-visible behaviour |
| Fix | Bug correction |
| Refactor | Structure change, no behaviour change |
| Config | Environment, build, or tooling config |
| Test | Test-only changes |
| Infra | CI, Docker, deployment |
| Docs | Documentation or comments only |
3. Build the reviewer map
## PR Canvas: <PR title>
### Summary
<2-3 sentences: what this PR does and why>
### Change map
| File / Area | Category | Lines ± | Risk | Reviewer note |
|-------------|----------|----------|------|---------------|
| src/foo.ts | Feature | +120/-30 | Med | Core logic change — review carefully |
| tests/foo.test.ts | Test | +80 | Low | Covers happy path + 2 edge cases |
| config/env.example | Config | +3 | Low | New env var — check deployment runbook |
### Risk sections (read these first)
1. <file>:<line-range> — <reason it's risky>
2. ...
### What's NOT in this PR (but might be expected)
- <missing tests for X>
- <no migration for schema change>
- ...
### Suggested review order
1. <file or area to read first>
2. ...4. Flag concerns
Automatically flag:
- Files changed without accompanying tests (for non-trivial logic).
- Config changes with no documentation update.
- Large single files (>300 lines changed) — suggest splitting if not already merged.
- Direct changes to
main/masterbranch protection files. - Secrets-adjacent files (
.env, credential configs).
5. Output
Print the reviewer map to chat. If the user asks, also write it as PR_CANVAS.md in the repo root (gitignored by default).
Output
Structured reviewer map with change categorization, risk flags, and suggested review order.
Gotchas
gh pr diff <number>andgh pr view <number>needghauthenticated against the right repo — ifgh auth statusfails, fall back to localgit diffagainst the base branch and say the PR metadata (description, comments) is unavailable rather than silently omitting it.- Line-count-based risk ("Med"/"High") is a heuristic, not a real risk signal — a 5-line change to auth middleware is higher risk than a 200-line change to a test fixture. Weigh what the file does, not just its diff size.
- Renamed/moved files can appear as large deletes+adds in the stat — check for a rename before categorizing them as a big risky change.
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.

