Agent skill · writing content · cursor

pr-review-canvas

Generate an interactive PR review walkthrough as an HTML page. Fetches PR data via gh API, categorizes files into core vs mechanical changes, adds reviewer annotations, and renders diffs with moved-code detection. Use when the user pastes a GitHub PR URL and asks for a review, walkthrough, or summary, or says "review this PR".

Why this skill is useful

Adds a complete HTML generation script for PR reviews that includes interactive elements and detailed analysis not found in standard documentation.

What it needs

Requires github account access. About 5k tokens when loaded. Last updated 2026-08-06. 2,555 stars on the source repository.

What this skill does

PR Review Canvas Generate an interactive HTML review of a GitHub PR that reads like a peer walking you through what matters. Workflow 1. Fetch PR data Run these gh api calls in parallel: 2. Analyze the PR and write the body HTML Read the diffs, understand the PR, and write the <body> content directly as HTML. You have full creative freedom -- the goal is to explain the PR clearly to a reviewer. Use whatever structure best fits the PR. Typical structure (adapt as needed): Header with title, PR number, author, stats Summary box explaining what the PR does in plain English Core file sections with annotations and diffs Mechanical/boilerplate files collapsed by default Review checklist at the bottom But you can also add: Pseudocode summaries for verbose code -- show the algorithm in plain English or short pseudocode, with the real diff collapsed below (use a .bp-section card labeled "Show full implementation"). Great when 150 lines of retry/backoff/error-handling code is really just "fetch with exponential backoff and circuit breaker." Diagrams (inline SVG, mermaid via CDN, ASCII art in <pre>) Flowcharts showing before/after control flow Tables comparing old vs new behavior Callout boxes for warnings, questions, or gotchas Interactive widgets if they help Anything else that makes the review clearer Pseudocode pattern example: 3. Available CSS classes and JS utilities Read styles.css and renderer.js from this skill directory. These give you a prebuilt dark-themed toolkit. Inject them into template.html verbatim. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills cursor/pr-review-canvas

View the source on GitHub

Browse the @skills marketplace