← スキル一覧に戻る

commit-helper
by rselbach
⭐ 0🍴 0📅 2026年1月16日
SKILL.md
name: commit-helper description: Generate clear commit messages from repository changes. Use when creating commits, writing commit messages, or reviewing staged/current changes. Works with both git and jj.
Commit Message Generation
VCS Detection
FIRST: Detect which VCS this repo uses:
[[ -d .jj ]] && echo "JJ" || echo "GIT"
Getting Changes
If JJ repo:
jj diff # shows current changes
jj log -r @ # shows current change description
If Git repo:
git diff --staged # for staged changes
git diff # for unstaged changes
git status # context on what's changed
Message Format
Generate messages with:
- Summary (under 50 chars, present tense)
- Detailed description (why + what, not how)
- Affected components if relevant
Style:
- Present tense ("Add feature" not "Added feature")
- Explain why the change matters
- Reference file:line for key changes
- Keep it human-readable
Never include:
- Co-author tags (especially not yourself)
- Thread IDs or internal agent metadata
- Generic fluff like "fixes bug" without context
Example
Add user authentication timeout handling
Users were getting stuck in limbo when auth tokens expired during
long sessions. Now we detect expiration and prompt re-login.
- auth/session.go:42 - token expiration check
- ui/Login.tsx:18 - re-login prompt
Workflow
For JJ repos:
- Show current diff with
jj diff - Suggest message
- User runs:
jj describe -m "your message"
For Git repos:
- Show staged changes with
git diff --staged - Suggest message
- User runs:
git commit -m "your message"
Do not automatically commit unless explicitly requested.
スコア
総合スコア
40/100
リポジトリの品質指標に基づく評価
✓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
レビュー
💬
レビュー機能は近日公開予定です