Place the file in ~/.claude/commands/review.md, write the prompt there — and call it with /review. That's it.
Arguments through $1, $2 or $ARGUMENTS:
Fix bug #$1, priority $2
Two levels:
— ~/.claude/commands/ — globally, for all projects
— .claude/commands/ in the project folder — only for it
There is an advanced option — Skills. Place SKILL.md in ~/.claude/skills/name/ with a YAML header, and Claude will automatically pick up the required skill based on the description. Without explicit invocation.
The fastest way — ask Claude Code: "create a command for code review". It will create the file itself and place it where it needs to go.



