git-commit skill
✓ 検証済みConventional Commits仕様に従い、適切にフォーマットされたgit commitメッセージを生成します。
- GitHubスター
- 6,388
- ファイル
- 1
- 最終コミット
- 2026年11月11日
- ライセンス
- Apache-2.0
- 許可されたツール
- —
git-commit skillは何をしますか
git-commitはAgent Skillsです。 Conventional Commits仕様に従い、適切にフォーマットされたgit commitメッセージを生成します。.
skillのSKILL.mdから生成された要約。
git-commit skill について
このツールの主な機能は、バージョン管理のための標準化されたコミットメッセージを作成することです。開発者はこれを使用して、コードの変更をConventional Commits仕様に準拠した構造化されたメッセージに変換できます。エージェントがこのSKILLをロードすると、git diff --staged や git status といったターミナルコマンドを実行してステージングされた変更を分析し、コードベースのどこが変更されたかを正確に把握できます。
このSKILLは、feat、fix、docs、refactorなどの特定のタイプに分類されたメッセージを生成し、オプションのbodyやfooterを含めることができます。subject行への命令形の使用、subjectの50文字制限、bodyの72文字での改行など、厳格なフォーマットルールに従います。メッセージが生成され承認されると、エージェントは git commit コマンドを実行してプロセスを完了できます。
エージェントができること
- 1Conventional commitメッセージの生成リポジトリ内の現在のステージングされた変更に基づいて、構造化されたコミットメッセージを作成します。
- 2ステージングされたコード変更の分析ステージングエリアの差分を調査し、コード修正の意図を判断します。
- 3コミットプロセスの自動化ユーザーの確認後、生成されたメッセージを使用してコードのコミットを完了します。
skill の SKILL.md から作成されています。すべてのユースケースは、その引用と照合されています。
git-commit skillのインストール方法
各コマンドはskillフォルダをクライアントのskillsディレクトリにコピーします。読み込むには、クライアントを再起動するか新しいセッションを開始してください。Claude Codeにgit-commit skillをインストールする
~/.claude/skills/git-commit/SKILL.md
$ npx degit ThinkInAIXYZ/deepchat/resources/skills/git-commit ~/.claude/skills/git-commitClaude Code (project)にgit-commit skillをインストールする
.claude/skills/git-commit/SKILL.md
$ npx degit ThinkInAIXYZ/deepchat/resources/skills/git-commit .claude/skills/git-commitCodexにgit-commit skillをインストールする
~/.agents/skills/git-commit/SKILL.md
$ npx degit ThinkInAIXYZ/deepchat/resources/skills/git-commit ~/.agents/skills/git-commitGemini CLIにgit-commit skillをインストールする
~/.gemini/skills/git-commit/SKILL.md
$ npx degit ThinkInAIXYZ/deepchat/resources/skills/git-commit ~/.gemini/skills/git-commitClaude.aiにgit-commit skillをインストールする
npx degit ThinkInAIXYZ/deepchat/resources/skills/git-commit git-commit && zip -r git-commit.zip git-commit # claude.ai → Customize → Skills → + → Create skill → Upload a skill → git-commit.zip
自動チェック
実行日 2026年11月15日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。エージェントに実行させる前にスクリプトを読んでください。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能thinkinaixyz/deepchat/resources/skills/git-commit is public and reachablegithub.com/thinkinaixyz/deepchat/tree/HEAD/resources/skills/ ↗合格
- オープンソースライセンス (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit 2026-11-11github.com/thinkinaixyz/deepchat/commits ↗合格
- スクリプトにダウンロード実行や認証情報の窃取がないNo scripts in the skill folder合格
- SKILL.md に隠れた指示がないNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/thinkinaixyz/deepchat/blob/HEAD/resources/skills/ ↗合格
- 事前許可ツールが限定されているNo pre-approved tools; the agent asks before using onegithub.com/thinkinaixyz/deepchat/blob/HEAD/resources/skills/ ↗合格
- SKILL.md が Agent Skills の形式に従っているthe description does not say when to use the skillgithub.com/thinkinaixyz/deepchat/blob/HEAD/resources/skills/ ↗検出事項
SKILL.md
GitHubで表示Git Commit Message Skill
You are a git commit message expert. When this skill is activated, help users create well-structured commit messages.
Commit Message Format
Follow the Conventional Commits specification:
<type>(<scope>): <subject>
[optional body]
[optional footer(s)]
Types
- feat: A new feature
- fix: A bug fix
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code
- refactor: A code change that neither fixes a bug nor adds a feature
- perf: A code change that improves performance
- test: Adding missing tests or correcting existing tests
- build: Changes that affect the build system or external dependencies
- ci: Changes to CI configuration files and scripts
- chore: Other changes that don't modify src or test files
Guidelines
-
Subject Line
- Use imperative mood ("add" not "added")
- Don't capitalize first letter
- No period at the end
- Limit to 50 characters
-
Body
- Explain what and why, not how
- Wrap at 72 characters
- Separate from subject with a blank line
-
Footer
- Reference issues:
Fixes #123 - Breaking changes:
BREAKING CHANGE: description
- Reference issues:
Workflow
- Run
git diff --stagedorgit statusto see changes - Analyze the changes to understand what was modified
- Generate an appropriate commit message
- Optionally run
git commit -m "message"if user confirms
このスキルのファイル
1git-commit skillに関する質問
Claude Codeにgit-commit skillをインストールするには
npx degit ThinkInAIXYZ/deepchat/resources/skills/git-commit ~/.claude/skills/git-commitを実行してください。Claude Codeは~/.claude/skills(すべてのプロジェクト)または.claude/skills(単一プロジェクト)からskillsを読み込み、説明がタスクに一致する場合にskillを使用します。
git-commit skillはどのクライアントで使用できますか
Agent Skills形式を読み込むすべてのクライアントで使用できます: Claude Code、Codex、Gemini CLI、claude.ai(ZIPとしてアップロード)。skill内のスクリプトは、クライアントがコード実行を許可した場合にのみ実行されます。
このSKILLではどのような形式のコミットメッセージを使用しますか?
このSKILLは、type、scope、subject、およびオプションのbodyやfooterを含むConventional Commits仕様に準拠しています。
コミットのsubject行に関するルールは何ですか?
subject行は命令形を使用し、先頭文字は大文字にせず、末尾にピリオドを打たず、50文字以内に収める必要があります。
エージェントはコミットが必要な変更をどのように特定しますか?
エージェントは git diff --staged または git status を実行して変更内容を分析します。