commitmsg
星标17
分支2
更新时间2025年10月20日 16:50
Generate a concise commit message by analyzing git diff changes
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
文件资源管理器
2 个文件SKILL.md
readonly菜单
Generate a concise commit message by analyzing git diff changes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | commitmsg |
| description | Generate a concise commit message by analyzing git diff changes |
This skill analyzes the changes in your git repository and generates a concise, single-line commit message that follows conventional commit standards.
When you want to create a commit message for your changes:
commitmsg.sh script in this directory# Stage your changes first
git add .
# Generate commit message
./commitmsg.sh
# Use the output as your commit message
git commit -m "feat: add user authentication system"
The commitmsg.sh script:
git commit -mThe generated messages follow the pattern:
feat: for new featuresfix: for bug fixesdocs: for documentationstyle: for formatting changesrefactor: for code restructuringtest: for test additionschore: for maintenance tasksEach message includes a brief description of what changed.