什么是 git-commit?
通过传统的提交消息分析、智能暂存和消息生成来执行 git commit。当用户要求提交更改、创建 git 提交或提及“/commit”时使用。支持:(1) 自动检测更改的类型和范围,(2) 根据差异生成常规提交消息,(3) 具有可选类型/范围/描述覆盖的交互式提交,(4) 用于逻辑分组的智能文件分段 来源:ansteorra/kmp。
通过传统的提交消息分析、智能暂存和消息生成来执行 git commit。当用户要求提交更改、创建 git 提交或提及“/commit”时使用。支持:(1) 自动检测更改的类型和范围,(2) 根据差异生成常规提交消息,(3) 具有可选类型/范围/描述覆盖的交互式提交,(4) 用于逻辑分组的智能文件分段
通过命令行快速安装 git-commit AI 技能到你的开发环境
来源:ansteorra/kmp。
Create standardized, semantic git commits using the Conventional Commits specification. Analyze the actual diff to determine appropriate type, scope, and message.
| feat | New feature | | fix | Bug fix | | docs | Documentation only | | style | Formatting/style (no logic) | | refactor | Code refactor (no feature/fix) | | perf | Performance improvement | | test | Add/update tests | | build | Build system/dependencies | | ci | CI/config changes | | chore | Maintenance/misc | | revert | Revert commit |
If nothing is staged or you want to group changes differently:
通过传统的提交消息分析、智能暂存和消息生成来执行 git commit。当用户要求提交更改、创建 git 提交或提及“/commit”时使用。支持:(1) 自动检测更改的类型和范围,(2) 根据差异生成常规提交消息,(3) 具有可选类型/范围/描述覆盖的交互式提交,(4) 用于逻辑分组的智能文件分段 来源:ansteorra/kmp。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/ansteorra/kmp --skill git-commit通过传统的提交消息分析、智能暂存和消息生成来执行 git commit。当用户要求提交更改、创建 git 提交或提及“/commit”时使用。支持:(1) 自动检测更改的类型和范围,(2) 根据差异生成常规提交消息,(3) 具有可选类型/范围/描述覆盖的交互式提交,(4) 用于逻辑分组的智能文件分段 来源:ansteorra/kmp。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/ansteorra/kmp --skill git-commit 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/ansteorra/kmp