git_review_diff
Run automated AI code review on git diff to detect security leaks, dangerous calls, code smells, and missing tests. Optionally specify target branch or staged changes.
Instructions
Perform an automated AI code review on git diff. Scans for security leaks, dangerous calls, code smells, and missing tests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Target repository directory path | |
| stagedOnly | No | Analyze only staged changes. | |
| targetBranch | No | Base branch to compare against (e.g. 'main' or 'origin/main'). If omitted, reviews local uncommitted changes. |