commit
ブランチ保護、リベース、コンベンショナルコミットに対応したスマートなGitコミットワークフローです。保護されたブランチ(main、develop、release/*、staging)を検出し、コミット前に自動的にfeature/*ブランチを作成します。ベースブランチへのリベースで履歴をクリーンに保ちます。変更内容を分析し、ファイルをスマートにステージング(シークレット情報は除外)し、コンベンショナルコミットメッセージを生成して、プッシュを提案します。ユーザーが「commit」「/commit」「commit changes」「save my work」「push this」「commit and push」と言うか、コード変更をコミットしたい場合に使用できます。また、ユーザーがタスク完了時に「done」「เสร็จแล้ว」「commit ให้หน่อย」「ช่วย commit」「save and push」と言った際もトリガーされます。
description の原文を見る
Smart git commit workflow with branch protection, rebase, and conventional commits. Detects protected branches (main, develop, release/*, staging) and auto-creates a feature/* branch before committing. Rebases onto base branch to keep history clean. Analyzes changes, smart-stages files (excluding secrets), writes conventional commit messages, and offers to push. Use whenever the user says "commit", "/commit", "commit changes", "save my work", "push this", "commit and push", or wants to commit code changes. Also trigger when the user finishes a task and says "done", "เสร็จแล้ว", "commit ให้หน่อย", "ช่วย commit", or "save and push".
SKILL.md 本文
コミット
重要なブランチを保護し、良いコミットメッセージを作成し、コミット・プッシュのサイクルを効率化するスマートな git コミットワークフローです。
ワークフロー
以下のステップを順序通りに実行してください。最初に情報を収集してから、実行します。
ステップ1: 状態を収集する
現在のリポジトリ状態を理解するために、以下のコマンドを並列実行してください:
| コマンド | 目的 |
|---|---|
git branch --show-current | 現在のブランチ名 |
git status --short | 変更されたファイルの概要 |
git diff --stat | ステージされていない変更の概要 |
git diff --cached --stat | ステージされた変更の概要 |
git log --oneline -5 | 最近のコミットスタイルの参考 |
変更がない場合(ワーキングツリーがクリーン、何もステージされていない)、ユーザーにコミットするものがないことを伝えて停止してください。
ステップ2: ブランチ保護のチェック
現在のブランチが保護パターンに一致するかチェックしてください:
| 保護パターン | マッチルール | |-----------
...
詳細情報
- 作者
- witooh
- リポジトリ
- witooh/skills
- ライセンス
- 不明
- 最終更新
- 2026/3/20
Source: https://github.com/witooh/skills / ライセンス: 未指定