/diff
A Claude Code slash command, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
Review the changes in your working tree, including the edits Claude has made so far. See Review changes with /diff
Anthropic's own wording. Read off Commands, captured 2026-09-28.
In the changelogs
14Releases whose published page names /diff.
-
v2.1.283
A built-in module now reacts only to /clear, /diff and /resume
One built-in module that used to step in on every slash command now does so only for
/clear,/diffand/resumefound in this entry's text, named in this entry
-
v2.1.280
Cloud /diff dialog now shows committed changes ahead of the merge-base together with uncommitted ones
The cloud /diff dialog now shows committed changes ahead of the merge-base alongside uncommitted ones
found in this entry's text, named in this entry
-
v2.1.273
Diff panel prototyped as a plugin pane
The /diff panel is now prototyped internally as a plugin pane rather than built-in UI
found in this entry's text, named in this entry
-
v2.1.265
Diff panel visibility/toggle logic simplified via Iwt() presentation check
The diff panel's fullscreen-vs-inline display logic was simplified into a single shared check
found in this entry's text, named in this entry
-
v2.1.260
New /diff command toggle wording behind tengu_jazzy_ripple
/diff's description wording can change to reflect a toggle, behind an internal flag.
found in this entry's text, named in this entry
-
v2.1.260
Diff dialog gains a fullscreen presentation mode
The diff dialog now explicitly distinguishes a fullscreen mode from the sidebar view.
found in this entry's text, named in this entry
-
v2.1.260
/diff fullscreen toggle live by default via a kill-switch flag
The /diff fullscreen toggle is now on by default for everyone, with a kill-switch to disable it.
found in this entry's text, named in this entry
-
v2.1.228
Diff panel inside the REPL
A full uncommitted-changes side panel with filters and "Ask about selection" is built but gated off.
named in this entry, found in this entry's text
-
v2.1.228
/diff tells you when the panel is unavailable
/diff now tells you when the diff panel can't be opened instead of silently doing nothing.
named in this entry, found in this entry's text
-
v2.1.228
A toggleable /diff panel sits behind a gate that is off by default
/diffwould toggle a sidebar instead of opening a dialog, but the gate is off so you keep the old behaviour.named in this entry, found in this entry's text
-
v2.1.50
/diffCommandfound in this entry's text
- v2.1.50
- v2.1.50
-
v2.1.19
Git Workflow Keybindings
found in this entry's text
First cited
2The earliest release whose published evidence quoted /diff was v2.1.228, 11 Aug 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the slash command does. All slash commands.