From commit
コミット、変更のコミット、コミット分割、差分レビューしてコミット、コミット計画、単一責任でのコミット、依存関係順序でのコミットなどをユーザーが求めた際に使用されるスキル。インタラクティブなコミットワークフローを提供する。
How this skill is triggered — by the user, by Claude, or both
Slash command
/commit:commitThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
差分レビュー・コミット計画・実行の一連のインタラクティブワークフローを実行する。
差分レビュー・コミット計画・実行の一連のインタラクティブワークフローを実行する。
.claude/configs/commit.json が存在する場合、JSON からコミットスタイルと言語設定を抽出し、commit-planner エージェントに渡す。
ファイルが存在しない場合、デフォルト値(gitmoji、en)を使用する。
diff-reviewer エージェントを使用して現在の変更を分析する。
検出結果を深刻度別に整理してユーザーに提示する:
続行前にユーザーの確認を得る。
commit-planner エージェントを使用してコミット計画を作成する。
設定済みのコミットスタイルと言語設定を渡す。
エージェントは以下の原則を適用する:
計画をユーザーに提示し、承認を得る。
承認された計画の各コミットについて:
ステージ対象のファイルとコミットメッセージを表示する
特定のパスでファイルをステージする(git add -A は使わない)
パーシャルステージングが必要な場合:
package.json の変更時は pnpm install を実行して lockfile を再生成する
HEREDOC 形式でコミットを作成する。
<件名> は計画のコミット見出し、 <本文> は計画の「本文」フィールドに対応する:
git commit -m "$(cat <<'EOF'
<件名>
<本文>
EOF
)"
成功を報告し、次のコミットに進む
全コミット完了後、git log --oneline で結果を表示する。
git add -A より特定のファイル指定を優先するnpx claudepluginhub k-rf/devstone --plugin commitGuides systematic git commits: checks staging status, reviews diffs, splits changes into atomic commits, formats conventional messages. Use before PRs or when committing code.
Organizes git workspace changes into clean, atomic commits following conventional formats. Activates after features, refactors, or explicit commit requests.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.