branch-review-canvas
Installation
SKILL.md
Branch review canvas
Build a canvas that presents the requested diff reorganized for reviewer comprehension, not in file-tree order. For a prose teaching walkthrough, use pr-walkthrough instead.
Prerequisites
Read ~/.cursor/skills-cursor/canvas/SKILL.md first. Component and hook shapes: ~/.cursor/skills-cursor/canvas/sdk/index.d.ts and siblings — read, do not guess.
Comparison base
- Use
@branch,@commit, or another explicit Cursor diff reference when supplied — do not re-discover range with git. - Else use the checked-out branch against
main; if absent, trymaster. - If PR metadata exists, prefer the PR's base branch.
- If the base is still unclear, ask once — do not guess silently.
Gather the diff
When git is needed (no explicit diff reference):