gencommit
Analyze code changes and generate standardized Git commit messages with proper formatting and commit types to maintain consistent project documentation.
Instructions
【生成提交】分析代码变更并生成规范的 Git commit 消息
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | No | 代码变更内容(可选,默认使用 git diff) | |
| type | No | 提交类型:feat, fix, docs, style, refactor, test, chore |
Input Schema (JSON Schema)
{
"properties": {
"changes": {
"description": "代码变更内容(可选,默认使用 git diff)",
"type": "string"
},
"type": {
"description": "提交类型:feat, fix, docs, style, refactor, test, chore",
"type": "string"
}
},
"required": [],
"type": "object"
}