pr-review-canvas — Claude Code skill: what it does, how to install
Generates a standalone interactive HTML walkthrough for any GitHub pull request. It helps reviewers focus on core architecture by folding boilerplate and rendering smart diffs.
npx skills add cursor/plugins --skill pr-review-canvas -a claude-codeWhat pr-review-canvas does
The skill transforms a GitHub pull request into a self-contained dark-theme HTML report. The assistant executes gh api calls in parallel to pull PR metadata, review comments, and diff patches. Files are split into core changes and boilerplate, with routine edits collapsed by default.
Inside, the report relies on bundled styles.css, renderer.js, and template.html. The renderer identifies relocated code chunks with colored tints, collapses whitespace-only modifications, and lets you replace verbose logic with concise pseudocode summaries.
The host machine requires gh, jq, and python3. Python is mandatory for safely embedding diff payloads into the HTML template, preventing premature tag termination when patches contain raw script syntax.
What it helps with
- generate an interactive HTML walkthrough for a GitHub pull request
- separate critical architecture changes from mechanical boilerplate
- replace verbose implementation diffs with high-level pseudocode
- highlight moved code blocks and collapse whitespace edits
Example prompts for the agent
- Review this PR and generate an interactive HTML walkthrough.
- Analyze this pull request, collapse mechanical files, and add review annotations.
How to install pr-review-canvas
1Skills CLI (Vercel)
npx skills add cursor/plugins --skill pr-review-canvas -a claude-code2Manually: put the files in place
~/.claude/skills/pr-review-canvas/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/pr-review-canvas/
1Skills CLI (Vercel)
npx skills add cursor/plugins --skill pr-review-canvas -a codex2Manually: put the files in place
.agents/skills/pr-review-canvas/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add cursor/plugins --skill pr-review-canvas -a cursor2Manually: put the files in place
.cursor/skills/pr-review-canvas/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install cursor/plugins pr-review-canvas2Manually: put the files in place
.github/skills/pr-review-canvas/SKILL.md1Skills CLI (Vercel)
npx skills add cursor/plugins --skill pr-review-canvas -a gemini-cli2Platform CLI
gemini skills install https://github.com/cursor/plugins --path cursor-team-kit/skills/pr-review-canvasManually: put the files in place
.devin/skills/pr-review-canvas/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add cursor/plugins --skill pr-review-canvas -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about pr-review-canvas
How do I install pr-review-canvas in Claude Code?
Run npx skills add cursor/plugins --skill pr-review-canvas -a claude-code. You can also manually place the skill file at ~/.claude/skills/pr-review-canvas/SKILL.md.
What does pr-review-canvas do?
It fetches PR data via the GitHub CLI and compiles an interactive HTML walkthrough with categorized files, sticky annotations, and collapsible diffs.
What tools are required to run this skill?
You need gh CLI authenticated with GitHub, jq for patch processing, and python3 to safely assemble the final HTML document.