From git-skills
Enforces commit plans in all planning outputs (plan mode, spec docs, parallel-worktree tasks). Splits work into logically independent commits with Conventional Commits messages before implementation begins.
How this skill is triggered — by the user, by Claude, or both
Slash command
/git-skills:commit-planThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**計画を立てる作業すべてで、実装ステップと対になるコミット計画を含める**。Claude の plan モード(`ExitPlanMode` で提示する plan)に限らず、計画ドキュメント・並列作業のタスク分解(parallel-worktree の spec・各エージェントへの指示文)など、**計画を成果物として書き出す場面すべて**が対象。実装ステップだけの計画で実装に入らない。
計画を立てる作業すべてで、実装ステップと対になるコミット計画を含める。Claude の plan モード(ExitPlanMode で提示する plan)に限らず、計画ドキュメント・並列作業のタスク分解(parallel-worktree の spec・各エージェントへの指示文)など、計画を成果物として書き出す場面すべてが対象。実装ステップだけの計画で実装に入らない。
コミットの実施(素材収集・メッセージ確定・git commit 実行)は本スキルの範囲外で、commit-flow スキルが担う。
実装ステップと対になる「コミット計画」セクションを計画成果物に組み込む。
ExitPlanMode で提示する plan 本文に含める。含まれていない状態で実装に入らない。## 実装ステップ
1. ドメインモデルに `Foo` を追加
2. リポジトリ層に永続化メソッドを追加
3. ユースケース層から呼び出し
4. テスト追加
## コミット計画
1. `feat(domain): Foo モデルを追加`
2. `feat(infra): FooRepository に永続化メソッドを追加`
3. `feat(usecase): Foo 永続化ユースケースから呼び出し`
4. `test(usecase): Foo 永続化のユースケーステストを追加`
parallel-worktree 等で作業を並列タスクへ分解するときは、コミット計画もタスク(ブランチ/エージェント)単位で立て、各タスクの指示文(spec の prompt 等)へ含める。タスク間で 1 つのコミット計画を共有しない(ブランチが別なら履歴も別)。各タスク内の粒度は §5 の基準に従う。
§5 の基準を立案時に適用する。「実装してみないと粒度が分からない」と先送りしない。
分割か統合か未確定で残す場合、粒度に意味があるなら分割を推奨案として書く。コミット数増加はレビュアー追跡性・ロールバック容易性を確保するメリットの方が大きい。
分割する: 別の関心事/片方だけ revert したくなる可能性/別 discussion・別 issue の対応。 統合する: 同じ論理変更を機械的に行数で割っただけ/片方だけ戻すと壊れる/同じ discussion 内の一連の修正。
「コミット数が増えるから 1 つにまとめる」は採用しない。
計画に書くメッセージは Conventional Commits 1.0.0 の 1 行形式:
<type>(<scope>): <description>
主要 type: feat / fix / refactor / test / docs / chore / build / ci / perf / style / revert
計画段階ではこの 1 行があれば足りる。body/footer・破壊的変更の書き方・type 選択の詳細は、実施時に commit-flow スキルの references/conventional-commits.md で判断する。
git commit 実行)npx claudepluginhub yasunori0418/skills --plugin git-skillsGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Resolves in-progress git merge or rebase conflicts by analyzing history, understanding intent, and preserving both changes where possible. Runs automated checks after resolution.