Skip to content
All templates

Slash Commands · Slash Command

/review - Code Review Command

Custom slash command for code review (place in .claude/commands/review.md)

reviewcommandquality
Template content
Review the code changes in the current branch compared to main.

For each file changed:
1. Summarize what changed and why
2. Flag any bugs, security issues, or performance concerns
3. Suggest improvements if applicable

Focus on:
- Logic errors and edge cases
- Error handling gaps
- Type safety issues
- Naming clarity

Keep feedback actionable and specific. Reference line numbers.

Use this template in the editor

Open PromptEditor.io to customize this template, save it, and inject it into any AI chat.

Open the editor