/install git-cmt-helper
Git Commit Message Guide
Format
Every commit message MUST follow this structure:
\x3Ctype>(\x3Cscope>): \x3Csubject>
[optional body]
[optional footer]
Type (required)
| Type | When to use |
|---|---|
| feat | New feature or capability |
| fix | Bug fix |
| docs | Documentation only |
| refactor | Code change that neither fixes nor adds |
| test | Adding or updating tests |
| chore | Build, CI, tooling changes |
Scope (required)
Scope MUST be a real module name from this project. See references/modules.md for the full list.
If unsure of the scope, check the file paths being changed — the top-level directory is usually the correct scope.
Subject (required)
- Imperative mood: "add feature" not "added feature"
- No period at the end
- Max 72 characters total (including type and scope prefix)
- Lowercase first letter
Body (optional)
- Explain WHY, not WHAT (the diff shows what changed)
- Wrap at 72 characters
- Separate from subject with blank line
Breaking Changes
If the commit introduces a breaking change, add footer:
BREAKING CHANGE: \x3Cdescription of what breaks and migration path>
Examples
Good:
feat(auth): add JWT token refresh endpoint
Tokens now auto-refresh 5 minutes before expiry.
Previously users had to re-login after token expiration.
fix(parser): handle empty input without crashing
refactor(db): extract connection pooling to separate module
BREAKING CHANGE: DatabaseClient constructor no longer accepts
pool config. Use PoolConfig.create() instead.
Bad:
updated some stuff ← no type, no scope, vague
feat: Add new Feature. ← capitalized, period, missing scope
fix(misc): various fixes ← "misc" is not a real module
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install git-cmt-helper - 安装完成后,直接呼叫该 Skill 的名称或使用
/git-cmt-helper触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
git-cmt-helper 是什么?
Generate standardized git commit messages following Conventional Commits format. Use this skill when the user asks to commit code, write a commit message, or... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 308 次。
如何安装 git-cmt-helper?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install git-cmt-helper」即可一键安装,无需额外配置。
git-cmt-helper 是免费的吗?
是的,git-cmt-helper 完全免费(开源免费),可自由下载、安装和使用。
git-cmt-helper 支持哪些平台?
git-cmt-helper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 git-cmt-helper?
由 Tresser(@0xtresser)开发并维护,当前版本 v1.0.0。