绝对安全

AI Commit

不再为提交信息头疼。让 AI 为您编写——简洁、标准化且富有意义。

$npm install -g @alekschen/ai-commit
开始使用
ai-commit — -zsh
git add .
ai-commit
✔ Analysis complete. Generating options...
› feat: add multi-language support and i18n

为什么选择 AI Commit?

隐私优先

代码直连 OpenAI/提供商。无中间商。

Conventional Commits

自动生成标准的 feat/fix/chore 格式。

高度可配置

自定义 API、模型、提示词等。

工作原理

检测变更

扫描暂存区 git diff 变更。

智能分析

发送 diff 上下文以此理解意图。

生成选项

生成符合规范的提交候选项。

完成提交

您选择或编辑后直接提交。

使用场景

灵活的命令适配各种工作流。

bash
$ ai-commit
# 为暂存的更改生成提交信息
✔ Generating commit options...
› feat: update documentation
chore: fix typo in README

安装

几秒钟内即可启动运行。

$ npm install -g @alekschen/ai-commit