← スキル一覧に戻る

commit
by stared
Claude Skill - commit message with prompts
⭐ 0🍴 0📅 2026年1月9日
SKILL.md
name: commit description: Commit with user prompts from this conversation. Use when user mentions committing, wants to commit changes, asks to save their work to git, or says "commit this". allowed-tools: Bash, Read
Commit with User Prompts
Create git commits that include the user prompts that led to the changes.
Instructions
-
Extract User Prompts: Collect user messages from this conversation that led to the changes. Include them in chronological order.
-
Analyze Changes:
git status git diff --staged -
Get Session Info:
uv run {baseDir}/ai-blame.py session-info -
Generate Commit Message:
<brief summary of changes> User prompts: - "<first user prompt>" - "<second user prompt>" (context if prompt is ambiguous) AI-Session-ID: <from session-info> AI Agent: <from session-info> Model: <from session-info> -
Execute Commit:
git add -A && git commit -m "$(cat <<'EOF' <your commit message here> EOF )"
Rules
- Only include prompts that led to file changes (not
/commitor meta-discussion) - Preserve exact wording, add (context) in parentheses if prompt is ambiguous
- Summary line under 50 characters
- Each prompt on a single line, no mid-sentence wrapping
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓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
レビュー
💬
レビュー機能は近日公開予定です