Cursor plugin specification and official plugins
TypeScript
Add avatars and tighten PR Review Canvas diff gathering
Alex Vandak Maloney24f0e6e70e53
diff --git a/docs-canvas/.cursor-plugin/plugin.json b/docs-canvas/.cursor-plugin/plugin.jsonindex 0753370e..143033d2 100644--- a/docs-canvas/.cursor-plugin/plugin.json+++ b/docs-canvas/.cursor-plugin/plugin.json@@ -10,6 +10,7 @@"homepage": "https://github.com/cursor/plugins/tree/main/docs-canvas","repository": "https://github.com/cursor/plugins","license": "MIT",+ "logo": "assets/avatar.png","keywords": ["cursor-plugin","canvas",diff --git a/docs-canvas/assets/avatar.png b/docs-canvas/assets/avatar.pngnew file mode 100644index 00000000..052d4cf8Binary files /dev/null and b/docs-canvas/assets/avatar.png differdiff --git a/pr-review-canvas/.cursor-plugin/plugin.json b/pr-review-canvas/.cursor-plugin/plugin.jsonindex c8819d72..a42e7f75 100644--- a/pr-review-canvas/.cursor-plugin/plugin.json+++ b/pr-review-canvas/.cursor-plugin/plugin.json@@ -10,6 +10,7 @@"homepage": "https://github.com/cursor/plugins/tree/main/pr-review-canvas","repository": "https://github.com/cursor/plugins","license": "MIT",+ "logo": "assets/avatar.png","keywords": ["cursor-plugin","canvas",diff --git a/pr-review-canvas/assets/avatar.png b/pr-review-canvas/assets/avatar.pngnew file mode 100644index 00000000..052d4cf8Binary files /dev/null and b/pr-review-canvas/assets/avatar.png differdiff --git a/pr-review-canvas/skills/pr-review-canvas/SKILL.md b/pr-review-canvas/skills/pr-review-canvas/SKILL.mdindex 2c873a64..1a35b6e8 100644--- a/pr-review-canvas/skills/pr-review-canvas/SKILL.md+++ b/pr-review-canvas/skills/pr-review-canvas/SKILL.md@@ -18,7 +18,9 @@ Read `~/.cursor/skills-cursor/canvas/SKILL.md` first. It contains the generation## Gather the diff-Accept any of: a local branch/ref (`git diff`), a GitHub PR URL or number (`gh pr diff`), or a Graphite stack link (`gt` CLI or `gh`). Collect every file's path, additions, deletions, and hunks.+Expect a GitHub PR link (a full URL like `https://github.com/<owner>/<repo>/pull/<n>`, or an equivalent `gh`-resolvable reference). Use `gh pr diff <pr>` to collect every file's path, additions, deletions, and hunks.++**If the user didn't provide a PR link, stop and ask.** Do not guess at the current branch, infer from recent history, or fall back to a local `git diff`. Ask the user which diff they want to review — a specific PR URL or number — and wait for their reply before continuing.## Group changes for comprehension