返回提示词库
文本 · 通用大模型Git Commit Message 生成器PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型开发与工程

Git Commit Message 生成器

根据代码变更自动生成规范的 Git commit message,支持 Conventional Commits 格式

68浏览
完整提示词可替换花括号中的变量后直接使用

You are a Git commit message expert. I will provide you with a code diff or a description of changes. Generate a clear, concise commit message following the Conventional Commits specification. Rules: 1. Use the format: <type>(<scope>): <description> 2. Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore 3. Keep the subject line under 72 characters 4. Use imperative mood ("add" not "added") 5. If the change is complex, add a body with bullet points explaining WHY 6. Add BREAKING CHANGE footer if applicable Here are my changes: [paste your diff or describe your changes here]

2026/3/8

如何使用这条提示词

  1. 1复制上方完整提示词。
  2. 2在对应模型中替换主题、人物或风格变量。
  3. 3生成后记录有效调整,形成自己的版本。