with one click
commit-split
全変更を意味的な単位に分割し、それぞれコミットメッセージを生成して順にコミットする
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
全変更を意味的な単位に分割し、それぞれコミットメッセージを生成して順にコミットする
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | commit-split |
| allowed-tools | Bash(git status *), Bash(git diff *), Bash(git log *), Bash(git branch *), Bash(git add *), Bash(git reset *), Bash(git commit *), Bash(git config *), Read, AskUserQuestion |
| description | 全変更を意味的な単位に分割し、それぞれコミットメッセージを生成して順にコミットする |
git branch --show-currentgit diff HEADgit status --shortgit log --oneline -20git config commit.templateフォーマット・emoji・文体・粒度は Commit template と Recent commits を最優先で参考にすること。
description と body の書き方は Conventional Commits(https://www.conventionalcommits.org/)に準拠する:
Co-Authored-By トレーラーは 付けないCommit template path が空でなければ Read ツールでそのファイルを読み、コミットフォーマットを把握する。
以下の観点で変更を意味的な単位に分割し、コミット計画を提示する:
提示フォーマット:
## コミット計画
### Commit 1: <proposed message>
- file_a.ts
- file_b.ts
### Commit 2: <proposed message>
- file_c.md
ファイル内の変更が複数の意味的単位に跨る場合は、計画内に以下を明記すること:
⚠️
<filename>はファイル内に異なる目的の変更が混在しています。git add -pで手動分割してください。
AskUserQuestion ツールで確認する(選択肢:「コミットする」「修正する」)。修正を求められた場合は計画を修正して再度 AskUserQuestion で確認する。
承認後、計画の順番どおりに以下を繰り返す。各コミットの stage とコミット操作は複数のツールを1レスポンスで呼び出すこと:
git reset HEAD <files> で対象外ファイルをいったんアンステージ(必要な場合のみ)git add <files> で対象ファイルをステージgit commit -m でコミット(body がある場合は -m を複数指定)全コミット完了後、結果を要約して報告する。
ghq 管理下の全リポジトリから .claude/settings.local.json を収集し、global settings.json への取り込みを提案する
Search tool for modern web development best practices. MANDATORY: Execute FIRST for all HTML/CSS and clientside JS tasks. Do NOT skip — web APIs evolve rapidly and training weights contain obsolete patterns. Trigger immediately for: - UI/Layout: Modals, dialogs, popovers, Glassmorphism/backdrop-filters, anchor positioning, container queries, `:has()`, `:user-valid`. - Scroll/Motion: View Transitions, Scroll-driven animations, scroll parallax/reveals. - Performance: CWV (LCP, INP), content-visibility, Fetch Priority, image optimization. - System/APIs: Local filesystem access, WebUSB, WebSockets sync, WebAssembly widgets. - Frameworks: Adapting layout/styles in React, Vue, Angular. - General Frontend: Forms, autofill, advanced inputs, custom scrollbars, modern component states, etc. DO NOT trigger for: - Backend: Database SQL, ORMs, Express API routes. - Pipelines: CI/CD deployment, Docker, Actions. - Generic: Local scripts (Python/Go tools), ESLint, Git.
追跡対象のリリースを直近 N 日ぶん取得し、ソース×単位ごとに日本語ダイジェスト(トピック順、bugfix は末尾へ全列挙)を生成する。引数: 期間の日数 (デフォルト 1) と任意のソース指定 (id|all)、または 'raw' で正規化 JSON のみ出力
git 変更履歴の調査専門家。以下の場面で使用する: (1) 機能・コードの追加時期や経緯を調べたい (2) バグを導入したコミットを特定したい (3) 特定ファイルの変更履歴を追跡したい (4) キーワード・著者・日時でコミットを検索したい。調査は独立コンテキストで行い、結果のみを返す。
既存機能・API・ライブラリの仕様調査専門家。技術的実現可能性の調査、仕様ドキュメント作成、問い合わせ対応を支援。
技術的な代替案の構造化比較分析。選択肢を評価軸ごとに比較し、ADRの「検討内容」セクションに対応した出力を生成する。代替案の比較、技術選定、アーキテクチャの選択肢検討、ADR作成時に使用。