review_diff
review_diffGenerate LLM prompts for reviewing Git diff changes and scoring code modifications without directly calling the LLM.
Instructions
构建用于 Git diff 变更审查与打分的 LLM 提示词(不直接调用 LLM)
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": {
"diff": "<diff>"
},
"name": "review_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | ||
| style | No | ||
| commitMessage | No |