← スキル一覧に戻る

generate-git-commit-message
by Efterklang
window & unix dotfiles
⭐ 32🍴 0📅 2026年1月21日
SKILL.md
name: generate-git-commit-message description: Generate and execute git commit messages for the current repository based on staged changes. Use when you need to commit staged files with an automatically generated conventional commit message.
Generate git commit message for current repo
Overview
This skill automates the process of generating a conventional commit message based on staged changes in a git repository and executes the commit.
Workflow
Follow these steps to generate and execute a commit:
-
Check staged changes: Run
git statusto verify there are staged files. If no staged changes, inform the user. -
Analyze changes: Run
git --no-pager diff --cachedto examine the staged modifications. -
Generate message: Create a conventional commit message based on the changes using the format:
- Determine type:
feat,fix,docs,style,refactor,test,chore - Add optional scope in parentheses if applicable, for example,
doc(api) - Write concise description (50 chars max)
- Add body if explanation needed, separated by blank line, prefer to explain WHY something was done from an end user perspective instead of WHAT was done.
- The output language should be English if not specified otherwise.
- Determine type:
-
Execute commit: Run
git commit -m "generated message"
スコア
総合スコア
65/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
3ヶ月以内に更新
+5
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です


