piv-commit
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCommit: Create a New Commit
提交:创建新提交
Create a new commit for all of our uncommitted changes.
为所有未提交的更改创建一个新提交。
Process
流程
- Read this project's conventions. If exists, read its
.claude/references/conventions.mdsection and follow it — those rules win over the defaults below. That file is where a project's specifics live; this skill stays general.## commit - Run to see what files are uncommitted.
git status && git diff HEAD && git status --porcelain - Add the untracked and changed files.
- Write an atomic commit message with an appropriate, descriptive summary.
- Add a tag such as ,
feat,fix,docs,refactor,test, etc. that reflects our work.chore
- 阅读本项目的约定规范。如果存在文件,请阅读其中的
.claude/references/conventions.md章节并遵循其规则——这些规则优先于下方的默认规则。该文件用于存储项目的特定规范;本技能保持通用性。## commit - 运行命令查看哪些文件未提交。
git status && git diff HEAD && git status --porcelain - 添加未跟踪和已修改的文件。
- 撰写一条原子化的提交信息,包含恰当且具有描述性的摘要。
- 添加一个能反映工作内容的标签,例如、
feat、fix、docs、refactor、test等。chore
Output
输出结果
A single commit containing all uncommitted changes, with a conventional-commit-style message
() that accurately reflects the work done.
<tag>: <atomic description>After the commit succeeds, print two clearly labelled summaries:
一个包含所有未提交更改的提交,附带一条符合约定式提交风格的信息(),准确反映已完成的工作。
<tag>: <atomic description>提交成功后,打印两个标注清晰的摘要:
What Changed
更改内容
One short paragraph (3–6 sentences) describing the feature/fix/refactor that was committed — what problem it solves and what files were the key touch points. Write for a developer skimming the git log.
一段简短的文字(3-6句话)描述已提交的功能/修复/重构内容——解决了什么问题,以及哪些文件是关键修改点。撰写时需面向快速浏览git日志的开发者。
AI Layer Changes
AI层更改
Only include this section if any files under were modified or added (CLAUDE.md, , , , etc.).
.claude/.claude/references/.claude/skills/.claude/agents/List each changed AI-layer file with a one-line note on what evolved and why. If nothing in changed, omit this section entirely.
.claude/仅当目录下的文件(如CLAUDE.md、、、等)被修改或添加时,才包含此部分。
.claude/.claude/references/.claude/skills/.claude/agents/列出每个被修改的AI层文件,并附上一行说明,阐述更改内容及原因。如果目录下无任何更改,则完全省略此部分。
.claude/