SKILL

conventional-commit-review

审查已暂存的更改,并起草符合 Conventional Commits 规范的提交信息,包含正确的类型、范围和长度。在提交前使用,或当用户要求编写、修正或审查提交信息时使用。

机器翻译
查看英文原文

Reviews staged changes and drafts a Conventional Commits-compliant commit message with the right type, scope, and length. Use before committing, or when the user asks to write, fix, or review a commit message.

适用对象:对象待分类。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Conventional Commit Review
  • When to Activate
  • Core Concepts
  • Workflow
  • Code Examples
  • Anti-Patterns
  • Best Practices
  • Related Skills

Turns a staged diff into a commit message that follows the Conventional Commits format (type(scope): subject) and matches the repository's actual history norms instead of a generic template. The user is about to run git commit and wants help with the message. The user asks "write a commit message for this", "is this commit message okay?", or "fix my commit message". A PR description needs a commit-style summary line. Any workflow step that produces a commit as part of a larger task (a refactor, a bugfix, a release) should route the final message through this skill rather than inventing a format ad hoc. Type first. Common subject prefixes are feat, fix, docs, style, refactor, perf, test, build, ci, or chore, optionally followed by a parenthesized scope: feat(auth): add refresh-token rotation. Use an established repository-specific prefix when its history requires one. Match the repo's own norm, don't assume one. Before writing the message, check the last 20-30 subject lines with git log --no-merges --format=%s -30 and measure: Do they use conventional prefixes at all, or a different convention? What's the typical subject length? (Many repos cluster around 50 characters; some, like t

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
affaan-m/ECC
源文件
pi/core/skills/conventional-commit-review/SKILL.md
固定版本
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:affaan-m/ECC · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T15:01:42.912Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。