en un clic
commit
diff分析 → 論理的に分割コミット。conventional commitメッセージを自動生成。
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
diff分析 → 論理的に分割コミット。conventional commitメッセージを自動生成。
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
| name | commit |
| description | diff分析 → 論理的に分割コミット。conventional commitメッセージを自動生成。 |
| disable-model-invocation | 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, cicli, viewer, schema| scope | 対象 |
|---|---|
cli | CLIツール (packages/cli/) |
viewer | ビューワー (packages/viewer/) |
schema | アーキテクチャスキーマ (packages/cli/src/schema/) |
templates | テンプレート・スラッシュコマンド (packages/cli/src/templates/) |
examples | サンプル (examples/) |
このリポジトリの git log に日本語コミットが多い場合は、日本語で書いても良い。
直近のコミット履歴のスタイルに合わせること。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
git commit -m "$(cat <<'EOF'
<type>(<scope>): <summary>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
EOF
)"
.env, credentials.json 等を検知したら警告し、コミットしない。--amend 禁止: 常に新規コミットを作成する(ユーザーが明示的に指示した場合を除く)。$ARGUMENTS が指定された場合:
Scan codebase and generate architecture diagram data
Update or refine the architecture diagram
Review codebase for DRY (duplication) issues
Review error handling consistency and debuggability
Review schema as a single source of truth (Schema-first)
Review codebase for SRP (Single Responsibility) and boundaries