Back to list
gregorwang

commit-helper

by gregorwang

base on Claude agent sdk,a complex solution

0🍴 0📅 Jan 13, 2026

SKILL.md


name: commit-helper description: Generates clear, conventional commit messages from git diffs. Use when writing commit messages, reviewing staged changes, or asking about git commits. allowed-tools: Bash, Read

Commit Helper

帮助生成清晰、规范的 Git 提交信息。

Instructions

  1. 分析变更: 首先运行 git diff --staged 查看暂存的更改
  2. 理解上下文: 分析文件类型、修改范围和目的
  3. 生成提交信息: 按照以下格式生成

Commit Message Format

使用 Conventional Commits 格式:

<type>(<scope>): <description>

[optional body]

[optional footer]

Types

  • feat: 新功能
  • fix: Bug 修复
  • docs: 文档更新
  • style: 代码格式(不影响代码运行的变动)
  • refactor: 重构(既不是新功能也不是修复 bug)
  • perf: 性能优化
  • test: 测试相关
  • chore: 构建过程或辅助工具的变动

Best Practices

  • 标题行不超过 50 字符
  • 使用现在时态("Add feature" 而不是 "Added feature")
  • 正文每行不超过 72 字符
  • 解释 什么为什么,而不是 怎么做

Example

feat(auth): add OAuth2 login support

- Implement Google OAuth2 authentication flow
- Add token refresh mechanism
- Create user session management

Closes #123

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon