← Back to list

commitmsg
by trufae
my artificial intelligence (😸AI)
⭐ 12🍴 1📅 Jan 16, 2026
SKILL.md
name: commitmsg description: Generate a concise commit message by analyzing git diff changes
Commit Message Generator
This skill analyzes the changes in your git repository and generates a concise, single-line commit message that follows conventional commit standards.
How to use this skill
When you want to create a commit message for your changes:
- Run the
commitmsg.shscript in this directory - The script will analyze the git diff of staged changes
- It will output a single line commit message you can use
Example usage
# Stage your changes first
git add .
# Generate commit message
./commitmsg.sh
# Use the output as your commit message
git commit -m "feat: add user authentication system"
What the script does
The commitmsg.sh script:
- Checks if you're in a git repository
- Gets the diff of staged changes (or working directory if nothing staged)
- Analyzes the changed files and their content
- Generates a concise commit message following conventional commit format
- Outputs a single line suitable for
git commit -m
Conventional commit format
The generated messages follow the pattern:
feat:for new featuresfix:for bug fixesdocs:for documentationstyle:for formatting changesrefactor:for code restructuringtest:for test additionschore:for maintenance tasks
Each message includes a brief description of what changed.
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+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