本文へスキップ
Skillpedia
一般的なプログラミング18k · #10625

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がスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/windmill-labs/windmill/blob/main/.agents/skills/commit/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“プロジェクトのスタイルに合う、わかりやすいメッセージで変更をコミットしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

スキルは、エージェントに状態と差分を確認させ、変更されたファイルを名前で追加させ、種類と短い説明を付けた1行のメッセージを書かせます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Git Commit Skill

Create a focused, single-line commit following conventional commit conventions.

Instructions

  1. Analyze changes: Run git status and git diff to understand what was modified
  2. Stage only modified files: Add files individually by name. NEVER use git add -A or git add .
  3. Write commit message: Follow the conventional commit format as a single line

Conventional Commit Format

<type>: <description>

Types

  • feat: New feature or capability
  • fix: Bug fix
  • refactor: Code change that neither fixes a bug nor adds a feature
  • docs: Documentation only changes
  • style: Formatting, missing semicolons, etc (no code change)
  • test: Adding or correcting tests
  • chore: Maintenance tasks, dependency updates, etc
  • perf: 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

  1. Run git status to see all changes
  2. Run git diff to understand the changes in detail
  3. Run git log --oneline -5 to see recent commit style
  4. Stage ONLY the modified/relevant files: git add <file1> <file2> ...
  5. Create the commit with conventional format:
    git commit -m "<type>: <description>"
    
  6. Run git status to 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

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル