返回 Skill 列表
extension
分类: 开发与工程无需 API Key

git-conventional-commits

通过分析差异、分类变更类型(feat、fix、refactor、docs、test、chore、ci、perf、style、build),并组成带有可选范围和破坏性变更标记的结构化提交信息,从暂存的git更改生成常规提交信息。在提交代码、编写提交信息、准备git提交或用户请求帮助编写提交信息时使用。

person作者: jakexiaohubgithub

Skill: Conventional commit writer

Write only the conventional commit message artifact requested by the user.

Rules:

  • Subject format: <type>(<scope>)!: <description> for breaking changes, otherwise <type>(<scope>): <description>.
  • Use lowercase types such as feat, fix, refactor, docs, test, ci, build, perf, or chore.
  • Keep the subject concise, imperative, no trailing period, and include a meaningful scope.
  • Use ! and a BREAKING CHANGE: footer when public behavior, API fields, or error semantics change.
  • Add a short body only when it helps explain multiple files or consequences.
  • Do not wrap the message in code fences and do not describe commands.