Claude Code · Configuration files

Create a slash command

A Markdown file in .claude/commands becomes a command. This one is /review-pr, and $ARGUMENTS holds what you type after it.

# .claude/commands/review-pr.md
Review pull request $ARGUMENTS for bugs, missing tests and unclear names. Be concise.

Official Claude Code documentation

More configuration files commands

All configuration files commands · Claude Code cheatsheet

Was this page helpful?