review_diff
Analyze the git diff between your branch and a base branch, then return structured feedback by file and category based on review persona standards.
Instructions
Review the git diff against the code review persona standards.
This tool analyzes the diff between your current branch and the base branch, then provides structured feedback based on the team's code review standards.
Args: base_branch: The base branch to compare against (default: development). working_directory: Working directory (defaults to current directory). focus_areas: Comma-separated focus areas: 'types', 'docs', 'style', 'errors', 'performance', 'architecture', or 'all'. persona_file: Path to a custom reviewer persona markdown file. Example: "notebooks/code_reviewer_persona.md" If not provided, uses the default persona.
Returns: A structured code review with comments organized by file and category.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_branch | No | development | |
| focus_areas | No | all | |
| persona_file | No | ||
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |