commit_setup_husky
Configure Husky git hooks to validate commit messages and run pre-commit checks, optionally integrating lint-staged.
Instructions
Configure Husky git hooks for commit message validation and pre-commit checks
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hooks": "<hooks>"
},
"name": "commit_setup_husky"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hooks | Yes | Git hooks to configure | |
| api_key | No | API key for authentication | |
| lint_staged | No | Include lint-staged configuration |