← 返回
内容创作 中文

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...
根据 Conventional Commits 格式生成标准化的 Git 提交信息。当用户要求提交代码、撰写提交信息时使用此技能等。
0xtresser
内容创作 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 511
下载
💾 10
安装
1
版本
#latest

概述

Git Commit Message Guide

Format

Every commit message MUST follow this structure:

<type>(<scope>): <subject>

[optional body]

[optional footer]

Type (required)

TypeWhen to use
-------------------
featNew feature or capability
fixBug fix
docsDocumentation only
refactorCode change that neither fixes nor adds
testAdding or updating tests
choreBuild, 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: <description 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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 13:48 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

web-skills-protocol

0xtresser
自动发现并使用 Web Skills Protocol(WSP)技能,在用户要求交互、使用或执行网站相关操作时使用。
★ 0 📥 711
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,251
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 294 📥 136,399