commit_hygiene
Deterministic commit-message hygiene checker: conventional-commit format, vague-subject detection, subject-length limit, a same-message secret-pattern scan (AWS keys, private key headers, Slack/GitHub tokens, inline password=/secret= style credentials - checked against the message text only, never a diff), and an oversized-commit warning from caller-supplied insertions/deletions. POST one commit or a batch (max 200). Deterministic, no LLM, no network.
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": "commit_hygiene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | No | One commit. | |
| commits | No | Alternative: batch of up to 200 commits. | |
| max_lines_changed | No | Default 500. Total insertions+deletions above this triggers a large_commit finding. |