How to use the Claude Code /code-review skill in Claude Code
- Open the repository where the change lives and check the target file or branch first.
- Use the example below as a starting point and replace the sample task with your own.
/code-review src/billing/format.tsReview a narrow billing formatting change
Pass a file and ask for evidence on rounding, input validation, and currency display from the current diff. Check the cited lines and run behavior tests with currency values from your fixture.
Choose the scope and output before invoking
With no target, review covers the current diff. Review mode reports findings by default. Options that apply changes or post comments should be used only when you want those effects.