codely-git-conventional-commit
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseContext
上下文
If the user does not specify the commit message, gather context about the current Git changes to determine it: , , the untracked files, the current branch and the recent commits.
git statusgit diff HEAD如果用户未指定 commit message,请收集当前 Git 更改的相关上下文以确定提交信息:、、未跟踪文件、当前分支以及最近的 commits。
git statusgit diff HEADYour task
你的任务
Create a single Git commit. Follow the conventions in to determine the commit message if it has not been already specified.
resources/commit-messages.md创建一个单独的 Git commit。如果尚未指定 commit message,请遵循 中的规范来确定提交信息。
resources/commit-messages.mdCo-authors
共同作者
Always add a co-author trailer to the commit message with the following format:
text
Co-Authored-By: {tool} - {model.name} {model.version} ({model.reasoning_effort}) <{tooling_email}>- : The AI coding tool used (e.g.
tool,Claude Code,Cursor,Copilot)Codex - : The name of the model used to make the change (e.g.
model.name,Claude Opus,Cursor Composer)OpenAI GPT - : The version of the model used to make the change (e.g.
model.version,4.6,1.5)5.4 - : The reasoning effort of the model used to make the change (e.g.
model.reasoning_effort,low,medium)high - :
tooling_email- Claude Code:
noreply@anthropic.com - Cursor:
cursoragent@cursor.com - Copilot:
copilot@github.com - Codex:
codex@openai.com
- Claude Code:
始终在 commit message 中添加 co-author trailer,格式如下:
text
Co-Authored-By: {tool} - {model.name} {model.version} ({model.reasoning_effort}) <{tooling_email}>- :使用的 AI 编程工具(例如
tool、Claude Code、Cursor、Copilot)Codex - :用于完成更改的模型名称(例如
model.name、Claude Opus、Cursor Composer)OpenAI GPT - :用于完成更改的模型版本(例如
model.version、4.6、1.5)5.4 - :用于完成更改的模型的 reasoning effort(例如
model.reasoning_effort、low、medium)high - :
tooling_email- Claude Code:
noreply@anthropic.com - Cursor:
cursoragent@cursor.com - Copilot:
copilot@github.com - Codex:
codex@openai.com
- Claude Code: