agentsclimarketplace

Commit message

Skill diguike/book-claude-skill/skills/commit-message

Claude Code Skill 开发指南

Install
npx -y skills add diguike/book-claude-skill --skill commit-message

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

生成符合 Conventional Commits 规范的 commit message。当用户说'提交'、'commit'、'写个 commit message'时使用。

SKILL.md

1.0 KB, as published. Nobody here has run it

根据暂存区的变更生成 commit message。

变更内容

!git diff --cached --stat

Commit Message 规范

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

type 必须是以下之一:

  • feat: 新功能
  • fix: Bug 修复
  • refactor: 重构(不改变行为)
  • docs: 文档
  • style: 格式调整(不影响逻辑)
  • test: 测试
  • chore: 构建/工具/依赖

规则:

  • subject 用中文,不超过 50 字
  • scope 用英文,表示影响的模块
  • 不以句号结尾
  • 用祈使语气("添加"而非"添加了")

流程

  1. 分析 git diff --cached 的内容
  2. 判断变更类型(feat/fix/refactor/...)
  3. 确定 scope(哪个模块)
  4. 生成 commit message
  5. 向用户确认后执行 git commit -m "..."

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.