audit_git_changes
Audit only modified, staged, or branch-diff Python files against code craft, anti-pattern, and OOP standards, avoiding unchanged repository files for a fast changeset review.
Instructions
Fast Git Changeset Audit (<10ms): Audits only modified, staged, or branch-diff Python files against code craft, anti-pattern, and OOP standards without re-scanning unchanged repository files.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_git_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strict | No | If true, treats warnings as failures | |
| repo_path | No | Path to the repository root directory (default: '.') | . |
| base_branch | No | Optional base branch to diff against (e.g. 'main') | |
| staged_only | No | If true, audits only Git staged files (pre-commit fast path) |