How this skill is triggered — by the user, by Claude, or both
Slash command
/common-skills:gen-commit-messageThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
gen-commit-message/input.md を読み取り、`git diff` コマンドを実行して変更内容を取得し、適切なコミットメッセージを3~5個生成してください。
gen-commit-message/input.md を読み取り、git diff コマンドを実行して変更内容を取得し、適切なコミットメッセージを3~5個生成してください。
input.md のフォーマット:
言語: ja または en(指定がない場合は ja)
要件:
git diff コマンドを実行して変更内容を取得すること出力フォーマット:
【おすすめ】
コミットメッセージ
おすすめ理由: なぜこれが最適かの説明
---
【その他の候補】
1. コミットメッセージ
理由: この名前を提案した理由
2. コミットメッセージ
理由: この名前を提案した理由
3. コミットメッセージ
理由: この名前を提案した理由
(必要に応じて4~5個まで)
$ARGUMENTS に test が指定されている場合は、gen-commit-message/sample.md の内容を入力として使用してください。
生成されたコミットメッセージを gen-commit-message/output.md に出力してください。
重要: 出力する際は、Writeツールではなく、Bashツールで cat コマンドとHEREDOC(<<'EOF')を使用して書き込んでください。これにより文字化けを防ぐことができます。
例:
cat > gen-commit-message/output.md <<'EOF'
(生成した内容)
EOF
サンプル入力は gen-commit-message/sample.md を参照してください。
npx claudepluginhub hosochin/claude-spells --plugin common-skillsGenerates ultra-compressed Conventional Commits messages emphasizing 'why' over 'what', ≤50 char subjects in Japanese/English matching repo history. Activates on staged changes or via /genshijin-commit, /commit.
Generates clear, conventional commit messages from git diffs. Useful when writing commit messages, reviewing staged changes, or preparing commits.
Generates ultra-compressed Conventional Commits messages with ≤50 char subject and body only when 'why' isn't obvious. Auto-triggers when staging changes.