CommandsNew 2026-09
/diff
Shows the changes in your working tree.
Usage
/diff
When to use it
When you want to review what Claude changed.
Source: https://code.claude.com/docs/en/commands
Related
More Claude Code commands
/helpShows help and the commands you can use.Commands/clearStarts a new conversation with an empty context; if you give it a name, the previous conversation gets that label.Commands/compactSummarizes the conversation to free up context.Commands/contextShows context usage as a colored grid and suggests ways to optimize it.Commands/autocompactSets when automatic compaction kicks in.Commands/configOpens the settings screen, or sets a value directly with key=value.Commands
All Claude Code