commit
できること
このスキルは、feat、fixなどの接頭辞を付けた、短い1行のコミットメッセージでgitのコミットを作ります。gitのプロジェクトに変更を保存する人向けです。
使う場面
- ✓gitで変更を保存またはコミットするよう、エージェントに頼むとき。
- ✓feat、fix、docsの形式に従う短いコミットメッセージがほしいとき。
- ✓変更したファイルだけをコミットに入れたいとき。
スキルのリンク
https://github.com/windmill-labs/windmill/blob/main/.agents/skills/commit/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“プロジェクトのスタイルに合う、わかりやすいメッセージで変更をコミットしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、エージェントに状態と差分を確認させ、変更されたファイルを名前で追加させ、種類と短い説明を付けた1行のメッセージを書かせます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Git Commit Skill
Create a focused, single-line commit following conventional commit conventions.
Instructions
- Analyze changes: Run
git statusandgit diffto understand what was modified - Stage only modified files: Add files individually by name. NEVER use
git add -Aorgit add . - Write commit message: Follow the conventional commit format as a single line
Conventional Commit Format
<type>: <description>
Types
feat: New feature or capabilityfix: Bug fixrefactor: Code change that neither fixes a bug nor adds a featuredocs: Documentation only changesstyle: Formatting, missing semicolons, etc (no code change)test: Adding or correcting testschore: Maintenance tasks, dependency updates, etcperf: Performance improvement
Rules
- Message MUST be a single line (no multi-line messages)
- Description should be lowercase, imperative mood ("add" not "added")
- No period at the end
- Keep under 72 characters total
Examples
feat: add token usage tracking for AI providers
fix: resolve null pointer in job executor
refactor: extract common validation logic
docs: update API endpoint documentation
chore: upgrade sqlx to 0.7
Execution Steps
- Run
git statusto see all changes - Run
git diffto understand the changes in detail - Run
git log --oneline -5to see recent commit style - Stage ONLY the modified/relevant files:
git add <file1> <file2> ... - Create the commit with conventional format:
git commit -m "<type>: <description>" - Run
git statusto verify the commit succeeded
よくある質問
慣例的な形式とは何ですか?
feat、fix、docsなどの短い接頭辞に、コロンと平易な説明が続く形式です。
なぜファイルを一度にすべて追加しないのですか?
スキルは、ファイルを一つずつ名前で追加するため、余計なファイルが誤って含まれることがありません。
メッセージに長さの制限はありますか?
はい。スキルは、1行で72文字未満のメッセージを求めます。
詳細
作者による元の説明
Create a git commit with conventional commit format. MUST use anytime you want to commit changes.
repo: windmill-labs/windmill
人気
- GitHubのスター
- 18k
- ランキング
- #10625
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
pr
18kエージェントが、明確なタイトルと説明を付けて、GitHubで下書きのプルリクエストを開き、レビューのラウンドに従うよう支援します。
agents
18kエージェントが、独自のモデル、システムプロンプト、ツール、メモリを持つ、再利用可能なWindmillのAIエージェントを構築するよう支援します。
cli-commands
18kエージェントが、Windmillのコマンドラインツールを実行して、スクリプト、フロー、アプリ、ジョブの履歴を管理するよう支援します。
datatables
18kエージェントが、バージョン管理されたマイグレーション、取り消しの手順、正しい権限を使って、Windmillのデータテーブルを安全に変更するよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。