What it does
Opens a GitHub-style side-by-side or unified diff viewer in the native Copilot App diff canvas (canvasId: "diff") or in a local browser across Copilot CLI, Claude Code, Cursor, Codex, and Windsurf (scripts/cli.mjs) for local Git branches/working trees or GitHub pull requests (gh pr diff), with automatic Primer light and dark themes, a collapsible file tree, resizable split panes, Viewed tracking, inline line comments, and one-click Submit Review handoff back to the agent.
Use it
/diff
/diff --staged
/diff main..feature
/diff pr 42
/diff review