smart_diff
Use instead of raw git diff to see changed files with AST symbol mapping—functions/classes modified, added, or removed. Small diffs include hunks; large diffs show summary.
Instructions
Use INSTEAD OF raw git diff. Shows changed files with AST symbol mapping — which functions/classes were modified/added/removed. Small diffs include hunks, large diffs show summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Diff scope (default: "unstaged") | |
| path | No | Filter to specific file or directory | |
| ref | No | Git ref — required for scope="commit" (commit hash) or scope="branch" (branch name) |