Custom commands live as Markdown files in .claude/commands/ and turn a repeated prompt into one word.
Example
/review → runs your saved code-review checklist on the current changes
/compact → summarises the conversation to free up context
A command typed with a leading slash in Claude Code, such as /clear, /compact or your own saved prompts.
Custom commands live as Markdown files in .claude/commands/ and turn a repeated prompt into one word.
/review → runs your saved code-review checklist on the current changes
/compact → summarises the conversation to free up context