Commit Skill
Git コミットを実行します。
使用方法
text
/commit # 自動でコミットメッセージ生成 /commit "fix: bug修正" # 指定メッセージでコミット
Conventional Commits 形式
text
<type>(<scope>): <subject>
Type 一覧
- •
feat: 新機能 - •
fix: バグ修正 - •
docs: ドキュメント - •
refactor: リファクタリング - •
test: テスト追加・修正 - •
chore: ビルド・ツール変更
Scope 例
- •
api,web,admin,db,ui
実行手順
- •
git statusで変更ファイルを確認 - •
git diffで変更内容を確認 - •変更内容からコミットメッセージを生成
- •
git addで必要なファイルをステージング - •
git commitでコミット実行
注意事項
- •
.env,credentialsなどの機密ファイルはコミットしない - •デバッグログは削除してからコミット
- •
--no-verifyは使用しない