git_smart_commit
Generate conventional commit messages by analyzing staged or current git diffs, including scope, rationale, and breaking change warnings.
Instructions
Analyze staged or current git diff to generate a standard Conventional Commit message with scope, rationale, and breaking change warnings.
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": "git_smart_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Target repository directory path | |
| stagedOnly | No | If true, only analyze staged changes; otherwise analyzes all working directory diffs. |