with one click
commit
diff分析 → 論理的に分割コミット。conventional commitメッセージを自動生成。
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
diff分析 → 論理的に分割コミット。conventional commitメッセージを自動生成。
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
LLMバックエンド設定やマルチLLMモードの設定時に使用。Claude/Gemini/Copilot/OpenCodeの切り替えやワーカー個別設定時に参照。
ソケット通信のデバッグ・メッセージ形式変更時に使用。Unix socket通信の問題解決やプロトコル拡張時に参照。
テーマ層の編集時やスプライト・メッセージカスタマイズ時に使用。ヤドンの見た目や吹き出しメッセージを変更する際に参照。
| name | commit |
| description | diff分析 → 論理的に分割コミット。conventional commitメッセージを自動生成。 |
| disable-model-invocation | true |
| user-invocable | true |
| allowed-tools | Bash(git status:*), Bash(git diff:*), Bash(git log:*), Bash(git add:*), Bash(git reset:*), Bash(git commit:*) |
| argument-hint | [message or instructions] |
変更内容を分析し、論理的にまとまった単位で分割コミットする。
<git_status>
!git status
</git_status>
<git_diff>
!git diff HEAD
</git_diff>
<recent_commits>
!git log --oneline -15
</recent_commits>
<current_branch>
!git branch --show-current
</current_branch>
上記の diff を読み、変更を 論理的なグループ に分類する。
分類の基準:
以下のフォーマットでユーザーに分割プランを提示する:
## コミット分割プラン
### Commit 1: <type>(<scope>): <summary>
- `path/to/file1.ts`
- `path/to/file2.ts`
### Commit 2: <type>(<scope>): <summary>
- `path/to/file3.ts`
- `path/to/file4.ts`
(変更が1グループのみなら分割せず1コミットで良い)
重要: プランを提示したら、ユーザーの承認を待つ。勝手にコミットしない。
承認されたら、各コミットを順番に実行する:
git add <files> で対象ファイルのみステージgit commit でコミット作成全コミット完了後、git log --oneline -N で作成したコミットを表示する。
<type>(<scope>): <summary>
feat, fix, docs, refactor, chore, test, perf, style, ciui, auth, api| scope | 対象 |
|---|---|
pet | デスクトップペット (pet/) |
daemon | デーモン (daemons/) |
protocol | 通信プロトコル (daemons/socket_protocol.py) |
scripts | スクリプト (scripts/, start.sh, stop.sh) |
docs | ドキュメント (CLAUDE.md, instructions/, docs/) |
config | 設定 (config/, pet/config.py) |
このリポジトリの git log に日本語コミットが多い場合は、日本語で書いても良い。
直近のコミット履歴のスタイルに合わせること。
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
git commit -m "$(cat <<'EOF'
<type>(<scope>): <summary>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
EOF
)"
.env, credentials.json 等を検知したら警告し、コミットしない。--amend 禁止: 常に新規コミットを作成する(ユーザーが明示的に指示した場合を除く)。$ARGUMENTS が指定された場合: