cursor-cursor-team-kit-pr-review-canvas
Installation
SKILL.md
Codex adaptation
Use the bundled renderer for a local artifact; never comment, approve, merge, or publish. Required native capabilities: gh read-only API or local diff, local HTML artifact, node syntax check. External dependencies remain explicit: GitHub gh CLI, read-only and optional with a local fixture. Missing gh falls back to a local diff and marks PR metadata unavailable. This candidate is promoted only for the bounded renderer/read-only path; PR retrieval, categorization, browser presentation, annotations, and publication remain unproven.
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:
gh api repos/{owner}/{repo}/pulls/{number} --jq '{title, body, user: .user.login, state, additions, deletions, changed_files, base: .base.ref, head: .head.ref}'
gh api repos/{owner}/{repo}/pulls/{number}/files --paginate --jq '.[] | {filename, status, additions, deletions, patch}'
gh api repos/{owner}/{repo}/pulls/{number}/comments --jq '.[] | {user: .user.login, body, path, line}'