Claude Tips mascot
Claude Tips & Tricks
Claude Code beginner Featured

Master Claude Code Slash Commands

Speed up your workflow with built-in slash commands like /compact, /review, and custom skills.

Claude Code has built-in slash commands:

  • /compact: compress conversation context to free up the window
  • /review: get a code review of your current changes
  • /commit: auto-generate a commit message from staged changes
  • /help: see all available commands
  • /init: generate a CLAUDE.md for your project

You can also create custom skills in ~/.claude/skills/ as markdown files that become invocable slash commands.

Paste into Claude Code
Show me all available slash commands in Claude Code and explain what each one does. Which ones are most useful for my current project?