Back to list
Efterklang

generate-git-commit-message

by Efterklang

window & unix dotfiles

32🍴 0📅 Jan 21, 2026

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:

  1. Check staged changes: Run git status to verify there are staged files. If no staged changes, inform the user.

  2. Analyze changes: Run git --no-pager diff --cached to examine the staged modifications.

  3. 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.
  4. Execute commit: Run git commit -m "generated message"

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

+5

Reviews

💬

Reviews coming soon